
The error messages are:
# arm-gp2x-linux-gcc -o micro micro.c -lasound -static /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(conf.o): In function `snd_config_update_free_global': /home/dam/alsa-lib-1.0.17/src/conf.c:3142: undefined reference to `pthread_mutex_lock' /home/dam/alsa-lib-1.0.17/src/conf.c:3151: undefined reference to `pthread_mutex_unlock' /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(conf.o): In function `snd_config_update': /home/dam/alsa-lib-1.0.17/src/conf.c:3109: undefined reference to `pthread_mutex_lock' /home/dam/alsa-lib-1.0.17/src/conf.c:3113: undefined reference to `pthread_mutex_unlock' /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(dlmisc.o): In function `snd_dlsym_verify': /home/dam/alsa-lib-1.0.17/src/dlmisc.c:115: undefined reference to `dlsym' /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(dlmisc.o): In function `snd_dlsym': /home/dam/alsa-lib-1.0.17/src/dlmisc.c:161: undefined reference to `dlsym' /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(dlmisc.o): In function `snd_dlclose': /home/dam/alsa-lib-1.0.17/src/dlmisc.c:85: undefined reference to `dlclose' /usr/lib/gcc/arm-gp2x-linux/4.1.2/../../../../arm-gp2x-linux/lib/libasound.a(dlmisc.o): In function `snd_dlopen': /home/dam/alsa-lib-1.0.17/src/dlmisc.c:64: undefined reference to `dlopen' /home/dam/alsa-lib-1.0.17/src/dlmisc.c:58: undefined reference to `dladdr' collect2: ld returned 1 exit status
I repeat that think all copy to generate when I did make install DESTDIR=/tmp/blah, and compile --enable-static=yes
On folder arm-gp2x-linux/lib
2012/3/27 Clemens Ladisch clemens@ladisch.de:
Dámaso López wrote:
Ok, I've all files, but to be continued fail
And what error message is it now?
Regards, Clemens