public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "Tix" failure building Insight-5.0
@ 2000-07-14 14:52 João Cadamuro Junior
  2000-07-14 15:04 ` Fernando Nasser
  0 siblings, 1 reply; 4+ messages in thread
From: João Cadamuro Junior @ 2000-07-14 14:52 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Tix" failure building Insight-5.0
  2000-07-14 14:52 "Tix" failure building Insight-5.0 João Cadamuro Junior
@ 2000-07-14 15:04 ` Fernando Nasser
  2000-07-14 15:07   ` Chris Faylor
  0 siblings, 1 reply; 4+ messages in thread
From: Fernando Nasser @ 2000-07-14 15:04 UTC (permalink / raw)
  To: João Cadamuro Junior; +Cc: gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2367 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Tix" failure building Insight-5.0
  2000-07-14 15:04 ` Fernando Nasser
@ 2000-07-14 15:07   ` Chris Faylor
  2000-07-14 15:13     ` Fernando Nasser
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Faylor @ 2000-07-14 15:07 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: João Cadamuro Junior, gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2793 bytes --]

On Fri, Jul 14, 2000 at 10:04:22PM +0000, Fernando Nasser wrote:
>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

I'm not sure why this additional step is necessary, though.  I wonder if
this is somehow due to recent binutils changes that allow linking against
a DLL.

cgf

>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

-- 
cgf@cygnus.com                        Cygnus Solutions, a Red Hat company
http://sourceware.cygnus.com/         http://www.redhat.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Tix" failure building Insight-5.0
  2000-07-14 15:07   ` Chris Faylor
@ 2000-07-14 15:13     ` Fernando Nasser
  0 siblings, 0 replies; 4+ messages in thread
From: Fernando Nasser @ 2000-07-14 15:13 UTC (permalink / raw)
  To: Chris Faylor; +Cc: João Cadamuro Junior, gdb, Syd Polk

Chris Faylor wrote:
> 
> On Fri, Jul 14, 2000 at 10:04:22PM +0000, Fernando Nasser wrote:
> >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
> 
> I'm not sure why this additional step is necessary, though.  I wonder if
> this is somehow due to recent binutils changes that allow linking against
> a DLL.
> 

It hasn't happen to me yet.  It maybe something specific to this gdb sources
+ this specific cygwin version. 

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-07-14 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-14 14:52 "Tix" failure building Insight-5.0 João Cadamuro Junior
2000-07-14 15:04 ` Fernando Nasser
2000-07-14 15:07   ` Chris Faylor
2000-07-14 15:13     ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).