[Asterisk-Users] asterisk-addons and 64bit make

Daniele Gallina - 3P System S.r.l. daniele at 3psystem.net
Fri Mar 25 08:00:14 MST 2005


Hi all, I have an Athlon 64 server with Fedora Core 2 x86_64. When I try
to make asterisk-addons-1.0.7 (and olders) it can't and it say me

[root at server1 asterisk-addons-1.0.7]# make install
./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.7/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.7/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2

What can i do?

Thanks all,
    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 Scelta 2
Fax: 041.5161655





More information about the asterisk-users mailing list