This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tcl cannot build 64bit.


When I build GDB 6.1 CVS version as a 64bit binary, the tclsh fails to
build. The linker complains "skipping incompatible
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a when searching
for -ltcl8.4" even though libtcl8.4.a is availale in that directory.

When I force it to link with the archive I get a bunch of  undefined
reference to ".symbol" as follows: ( I am only pasting a few). And they
look like glibc symbols...

/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclIOGT.o)(.text+0x1b18):
In function `.ResultAdd':
: undefined reference to `.memcpy'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0xb8):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strcmp'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x11c):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strlen'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x150):
In function `.Tcl_AddInterpResolvers':
: undefined reference to `.strcpy'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x230):
In function `.Tcl_GetInterpResolvers':
: undefined reference to `.strcmp'
/home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a(tclResolve.o)(.text+0x338):
In function `.Tcl_RemoveInterpResolvers':
: undefined reference to `.strcmp'
collect2: ld returned 1 exit status

Any suggestions??

--
Manoj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]