[Buildroot] Difficulties with dynamically linking  to libasound.so.2.0.0 (Solution)

Dirk Vermaak dirk.vermaak at ntlworld.com
Tue Aug 12 15:20:57 UTC 2008


For anyone interested in the future, we know know why our build was failing to 
work.

When linking with -l asound you also need -l pthread in your command. Thus

arm-linux-gcc -fPIC  -oramps DAudio1.1.c  -lasound -lpthread

will make the file ramps from DAudio1.1.c and it will run without seg 
faulting. It appears that you need the pthread library for asound to work.

Cheers,

Dirk



More information about the buildroot mailing list