[Home]

Summary:ASTERISK-07105: cannot compile with libc6-dev version 2.3.6-7
Reporter:St├ęphane HENRY (stef)Labels:
Date Opened:2006-06-06 09:34:26Date Closed:2011-06-07 14:02:58
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:make
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"  -lm  gendigits.c   -o gendigits
./gendigits > tones.h
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"    makefw.c   -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION="SVN-trunk-r1103" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
       mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
libtonezone.a(tonezone.lo)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/usr/src/zaptel/tonezone.c:41: first defined here
collect2: ld returned 1 exit status
make: *** [ztcfg] Error 1


****** ADDITIONAL INFORMATION ******

Linux version : Debian testing
Comments:By: Russell Bryant (russell) 2006-06-06 14:09:16

Can you please see if there is an update for the "binutils" package on your system?  If so, please update and try again.

By: St├ęphane HENRY (stef) 2006-06-06 19:57:16

yes, I upgraded binutils to version 2.16.1cvs20060413-1 and few other packages (gcc 3.3.6 (Debian 1:3.3.6-13)) and the compilation is now correct.
Thanks, you can close this issue.