Re: hw_params from shared library problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Gerald

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

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux