27 Mar
2012
27 Mar
'12
4:35 p.m.
Hi Clemens,
I added 2 parameters and return:
# arm-gp2x-linux-gcc -o microphone microphone.c -lasound -static -ldl -lpthread
/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: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
2012/3/27 Clemens Ladisch clemens@ladisch.de:
Dámaso López wrote:
# arm-gp2x-linux-gcc -o micro micro.c -lasound -static
You still do not have -ldl and -lpthread.
Regards, Clemens