"Tix" failure building Insight-5.0
Fernando Nasser
fnasser@cygnus.com
Fri Jul 14 15:04:00 GMT 2000
Jonathan Larmour has a workaround for this problem.
Please try his recipe:
>$ cd /tmp/build/gdb
>$ mv tix/win/tcl8.0/tix4180.dll tix/win/tcl8.0/tix4180.dll.old
>$ cd gdb
>$ make all
>$ cd ..
>$ make -w all install
>
João Cadamuro Junior wrote:
>
> 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
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
More information about the Gdb
mailing list