From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: João Cadamuro Junior Cc: gdb@sourceware.cygnus.com Subject: Re: "Tix" failure building Insight-5.0 Date: Fri, 14 Jul 2000 15:04:00 -0000 Message-id: <396F8E66.CD618C27@cygnus.com> References: <396F8C83.711F668F@lit.cpdtt.cefetpr.br> X-SW-Source: 2000-07/msg00054.html 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