At Tue, 27 Jun 2006 19:08:57 +0200, Gerald Grabner wrote: > > Benoit Fouet wrote: > > >> Compilation: > >> gcc -c -fPIC object.c > >> gcc -shared -fPIC -o libTest.so object.o > >> gcc -o main main.c -L. -lTest -lasound > >> > >> > > and what if you try to link your dynamic library with asound (actually, > > this is the really needer of the link, not your test program) ? I think > > this could help... > > > > gcc -shared -fPIC -o libTest.so object.o -lasound > > Hey, thanks a lot, that did the trick! > > Interestingly, other libraries I am using do not require to be specified > when building the shared library. It's most likely due to versioned symbols used in alsa-lib. Takashi Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel