[Asterisk-Users] compiling cdr_mysql on AMD64 fedora core 2

david winter dwinter at planet-telecom.com
Sat Oct 16 13:52:21 MST 2004


I got this error when installing cdr_mysql on an AMD64 running fedora core
2. Anyone have ideas on what is wrong?

 

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6 -m64   -c -o
format_mp3.o format_mp3.c

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6 -m64 -shared
-Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o
tabinit.o interface.o format_mp3.o

/usr/bin/ld: common.o: relocation R_X86_64_32 can not be used when making a
shared object; recompile with -fPIC

common.o: could not read symbols: Bad value

collect2: ld returned 1 exit status

make[1]: *** [format_mp3.so] Error 1

make[1]: Leaving directory `/home/dwinter/src/asterisk-addons/format_mp3'

make: *** [format_mp3/format_mp3.so] Error 2

[root at ast1 asterisk-addons]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041016/01d30632/attachment.htm


More information about the asterisk-users mailing list