[Asterisk-Users] Addons compile errors
Daniele Gallina - 3P System S.r.l.
daniele at 3psystem.net
Tue Mar 1 07:41:10 MST 2005
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:
[root at server1 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
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
Now, I am not a Linux Expert. What can I do for make addons???
Thank to all, and sorry for my poor english.
Daniele Gallina
--
Daniele Gallina
3P System S.r.l. - Software Developer
Web: http://www.3psystem.net
E-Mail: daniele at 3psystem.net
Tel: 041.8626401 Int. 12
Fax: 041.5161655
More information about the asterisk-users
mailing list