tce-load -i compiletc glibc_add_lib python-dev cd alsa-lib-1.1.5 patch -Np0 -i ../alsa-lib-1.1.3_gid.patch CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-configdir=/usr/local/etc/alsa [lto fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 20.89s] make install libtool: link: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -o .libs/aserver aserver.o ../src/.libs/libasound.so -lm -ldl -lpthread -lrt /tmp/ccoTf6DH.ltrans0.ltrans.o: In function `pcm_shm_cmd': :(.text+0xe7a): undefined reference to `snd_pcm_forward' ../src/.libs/libasound.so: undefined reference to `snd_timer_params_set_filter' ../src/.libs/libasound.so: undefined reference to `snd_ctl_elem_info_get_dimension' ../src/.libs/libasound.so: undefined reference to `snd_ctl_elem_info_get_dimensions' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:333: aserver] Error 1 make[1]: Leaving directory '/usr/src/alsa-lib-1.1.5/aserver' make: *** [Makefile:338: all-recursive] Error 1 Command exited with non-zero status 2