On Wed, Mar 02, 2005 at 08:45:24AM +0100, Daniele Gallina - 3P System S.r.l. wrote: > Hi all, > I have a server with an Athlon 64 3200 and Fedora Core 2 x86_64. > I have compiled and installed Asterisk 1.0.6 without any problems. When > I try to make asterisk-addons-1.0.6 it say me: > > [EMAIL PROTECTED] asterisk-addons-1.0.6]# make > ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` > make -C format_mp3 all > make[1]: Entering directory `/usr/src/asterisk-addons-1.0.6/format_mp3' > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > common.o common.c > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > dct64_i386.o dct64_i386.c > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > decode_ntom.o decode_ntom.c > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > layer3.o layer3.c > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > tabinit.o tabinit.c > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -m64 -c -o > interface.o interface.c > 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
Not that I really know what this means, but any chance you're mixing 32bit and 64bit code? > 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 `/usr/src/asterisk-addons-1.0.6/format_mp3' > make: *** [format_mp3/format_mp3.so] Error 2 -- Tzafrir Cohen | New signature for new address and | VIM is http://tzafrir.org.il | new homepage | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | Space reserved for other protocols | friend _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
