public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Problem compiling gdbtk.c
@ 2000-07-03  3:41 Andreas.Karlsson
  2000-07-03  4:30 ` Mo DeJong
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas.Karlsson @ 2000-07-03  3:41 UTC (permalink / raw)
  To: insight

Hi!

When following the installation instructions on eCos' homepage I get the
following error building insight-5.0
Any ideas?

Making all in src
make[3]: Entering directory `/tmp/build/gdb/libgui/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gdb/libgui/src'
make[3]: Entering directory `/tmp/build/gdb/libgui'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/build/gdb/libgui'
make[2]: Leaving directory `/tmp/build/gdb/libgui'
make[1]: Leaving directory `/tmp/build/gdb/libgui'
make[1]: Entering directory `/tmp/build/gdb/mmalloc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/build/gdb/mmalloc'
make[1]: Entering directory `/tmp/build/gdb/readline'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/build/gdb/readline'
make[1]: Entering directory `/tmp/build/gdb/sim'
make[2]: Entering directory `/tmp/build/gdb/sim/common'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/tmp/build/gdb/sim/common'
make[2]: Entering directory `/tmp/build/gdb/sim/arm'
make[2]: Leaving directory `/tmp/build/gdb/sim/arm'
make[1]: Leaving directory `/tmp/build/gdb/sim'
make[1]: Entering directory `/tmp/build/gdb/tix'
make[2]: Entering directory `/tmp/build/gdb/tix/win'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gdb/tix/win'
make[1]: Leaving directory `/tmp/build/gdb/tix'
make[1]: Entering directory `/tmp/build/gdb/gdb'
make[2]: Entering directory `/tmp/build/gdb/gdb/rdi-share'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gdb/gdb/rdi-share'
rm -f gdb.exe
gcc -g -O2       -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
rdi-share/libangsd.a  ../sim/arm/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'

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

* Re: Problem compiling gdbtk.c
  2000-07-03  3:41 Problem compiling gdbtk.c Andreas.Karlsson
@ 2000-07-03  4:30 ` Mo DeJong
  0 siblings, 0 replies; 3+ messages in thread
From: Mo DeJong @ 2000-07-03  4:30 UTC (permalink / raw)
  To: Andreas.Karlsson; +Cc: insight

On Mon, 3 Jul 2000 Andreas.Karlsson@combitechsystems.com wrote:

> 
> Hi!
> 
> When following the installation instructions on eCos' homepage I get the
> following error building insight-5.0
> Any ideas?
> 
...
> make[2]: Entering directory `/tmp/build/gdb/gdb/rdi-share'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/tmp/build/gdb/gdb/rdi-share'
> rm -f gdb.exe
> gcc -g -O2       -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
> rdi-share/libangsd.a  ../sim/arm/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'


That is strange. That method should be
defined in libtix.

tix/unix/tk8.0/libtix4.1.8.0.a

% nm tix/unix/tk8.0/libtix4.1.8.0.a | grep Tix_Init
00000934 T Tix_Init


Your link line suggests that the tix lib should
be defined in /tmp/build/gdb/tix/win/tcl8.0 and
be named something like libtix4180...

Could you check that the lib file is there and
that it has the Tix_Init method in it?

Mo DeJong
Red Hat Inc

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

* Problem compiling gdbtk.c
@ 2000-07-03  6:32 Andreas.Karlsson
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas.Karlsson @ 2000-07-03  6:32 UTC (permalink / raw)
  To: insight

The output from nm follows:

bash-2.04$ nm libtix4180.a | grep Tix_Init
00000000 T _Tix_InitScrollInfo
00000000 I __imp__Tix_InitScrollInfo
00000000 T _Tix_Init
00000000 I __imp__Tix_Init
bash-2.04$

/Andreas


-----Original Message-----
From: Jonathan Larmour [ mailto:jlarmour@redhat.co.uk ]
Sent: den 3 juli 2000 13:21
To: Karlsson Andreas
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Error while making insight-5.0


Andreas.Karlsson@combitechsystems.com wrote:
> 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'

Is there a file tix/win/tcl8.0/libtix4.1.8.0.a in your build tree? If so,
run the command:

nm tix/win/tcl8.0/libtix4.1.8.0.a | grep Tix_Init

Does that indicate the symbol is there?

If not, go into the tix subdirectory and type "make clean". Then go back up
and rerun the "make -w all ...."

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault


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

end of thread, other threads:[~2000-07-03  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-03  3:41 Problem compiling gdbtk.c Andreas.Karlsson
2000-07-03  4:30 ` Mo DeJong
2000-07-03  6:32 Andreas.Karlsson

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