[opus] libopus build environment assistance request

David A. Bardsley dbardsley at pantelintl.com
Wed Apr 10 20:24:39 PDT 2013


I am having difficulty building libopus from source and am in need of 
assistance.  The reported error shown below appears to indicate the 
build requires additional command line arguments.  I've tried adding 
"-fPIC" and "-shared" to the makefile "LDFLAGS" and "CFLAGS" environment 
variables without success.  An exhaustive web search has not been 
fruitful either.  Any assistance you'd be willing to share in this 
matter would be greatly appreciated.



     uname -a
     Linux veritech 2.6.32-5-amd64 #1 SMP Mon Feb 25 00:26:11 UTC 2013 
x86_64 GNU/Linux

     gcc --version
     gcc (Debian 4.4.5-8) 4.4.5

     ld --version
     GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303

     git clone git://git.opus-codec.org/opus.git

error message:
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libm.a(k_standard.o): relocation 
R_X86_64_32S against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
     /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libm.a: could 
not read symbols: Bad value

David A. Bardsley | Electrical Engineer
*Pantel International* |
125 Joseph Zatzman Drive | Dartmouth, Nova Scotia | B3B 1W1
Phone: (902)468-5998 | Fax: (902)468-6577
pantelintl.com <http://pantelintl.com/>

Pantel Sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20130411/4d4b81e6/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 2399 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/opus/attachments/20130411/4d4b81e6/attachment.png 

More information about the opus mailing list