* [Buildroot] Difficulties with dynamically linking to libasound.so.2.0.0
@ 2008-08-04 9:43 Dirk Vermaak
2008-08-04 10:12 ` Hinko Kocevar
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Vermaak @ 2008-08-04 9:43 UTC (permalink / raw)
To: buildroot
Hi all,
We are trying to run a program using the libasound.so.2.0.0 shared library on
a sam9260. We have compiled the program on our host machine and it works ok.
We compile for our target and compilation is OK but when we run it we get a
seg fault.
We are pretty sure it is to do with linking to the libasound module as we have
stripped own some code so it only has a couple of printfs in it and this
works ok, but as soon as we add the libasound in the linking we get the seg
fault again.
our complie line is
arm-linux-gcc -Wall -fPIC -D -oramps
DAudio1.1.c -l:libasound.so.2.0.0 -L/home/dirk/diarre/linux/build6/buildroot/project_build_arm/at91sam9260dfc/root/usr/lib
(Sorry about the long paths but we have been trying to eliminate all problems.
Does anyone have any suggestions as to what we are doing wrong here?
Thanks
Dirk.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-04 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 9:43 [Buildroot] Difficulties with dynamically linking to libasound.so.2.0.0 Dirk Vermaak
2008-08-04 10:12 ` Hinko Kocevar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox