Juha Heinanen writes:

> gcc -o g722.so g722.o  -shared  -lm -ldl -rdynamic -lpthread -lstdc++  
> /usr/lib/libspandsp.a -lspandsp -lspandsp
> /usr/bin/ld: /usr/lib/libspandsp.a(g722.o): relocation R_X86_64_32 against 
> `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/libspandsp.a: could not read symbols: Bad value

i added -fPIC to module_cflags, but it didn't help.  google gives
nothing on -fPIC.

-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to