This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
"Tix" failure building Insight-5.0
- To: gdb at sourceware dot cygnus dot com
- Subject: "Tix" failure building Insight-5.0
- From: Joćo Cadamuro Junior <cadamuro at lit dot cpdtt dot cefetpr dot br>
- Date: Fri, 14 Jul 2000 18:56:19 -0300
Hi gdb,
I have a problem building Insight-5.0 under cygwin 1.1.2 and I don't
know where to get help: gdb list, insight list or cygwin list. Then,
I'll try here and, if this is the wrong place, please let me know.
First, the Insight-5.0 was configured with the options:
--target=powerpc-eabi --prefix=/tools
My OS is Windows NT Server 4.0 (SP6).
At the time of building gdb.exe, the compiler is unable to find the
funcion Tix_Init. I search for this function and it was found in
"tix4180.dll", built some minutes before "gdb.exe" in the "make"
process. Unfortunately, seems that "libtix4180.a" don't have the correct
information about how to find the funcion Tix_Init in the dll. The
output of the "make" process was:
gcc -g -O2 -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
../sim/ppc/libsim.a ../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a
`if test -r ../libtermcap/libtermcap.a; then echo
../libtermcap/libtermcap.a; else echo -ltermcap; fi`
../libgui/src/libgui.a
-L/tmp/build/gdb/itcl/itcl/win -litcl30
-L/tmp/build/gdb/itcl/itk/win -litk30
-L/tmp/build/gdb/tix/win/tcl8.0 -ltix4180
-L/tmp/build/gdb/tk/win -ltk80
-L/tmp/build/gdb/tcl/win -ltcl80
-lm -lm
../libiberty/libiberty.a -luser32 -lshell32 -lgdi32 -lcomdlg32
-ladvapi32
libgdb.a(gdbtk.o): In function `gdbtk_init':
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:433: undefined reference
to `Tix_Init'
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:435: undefined reference
to `Tix_Init'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1
make[1]: Leaving directory `/tmp/build/gdb/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/tmp/build/gdb'
Someone has an idea about how to solve the problem???
Thanks in advance...
Cadamuro