This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
tcl cannot build 64bit.
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 9 Mar 2004 21:39:52 +0100 (CET)
- Subject: 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