Skip to contentSkip to conversation

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

Buildroot Dirk Vermaak 1 participant 1 message Aug 12, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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