Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Link problem with 64bit gdb 6.6 on solaris 8
@ 2007-03-08 10:36 Stefan Berglund
  2007-03-08 10:40 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Berglund @ 2007-03-08 10:36 UTC (permalink / raw)
  To: gdb

Hi, I ran into trouble with this configuration:

(this is supposed to build a 64-bit version of gdb - is it wrong?)

CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure
--disable-tui

The --disable-tui was added because of another linking error, I found
the tip after some googling.

This is the linking error:

gcc -m64       \
        -o gdb gdb.o libgdb.a \
           ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a ./../intl/libintl.a ../libiberty/libiberty.a     -ldl
-lcurses -lsocket -lnsl -lm   ../libiberty/libiberty.a  
Undefined                       first referenced
 symbol                             in file
tui_set_layout_for_display_command  libgdb.a(printcmd.o)
tui_show_assembly                   libgdb.a(cli-cmds.o)
tui_get_low_disassembly_address     libgdb.a(cli-cmds.o)
tui_active                          libgdb.a(cli-cmds.o)
tui_get_command_dimension           libgdb.a(utils.o)
tui_is_window_visible               libgdb.a(cli-cmds.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/opt/dist/prg/gdb-6.6/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/opt/dist/prg/gdb-6.6'
make: *** [all] Error 2


Any tips are apprecciated!
Stefan


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

* Re: Link problem with 64bit gdb 6.6 on solaris 8
  2007-03-08 10:36 Link problem with 64bit gdb 6.6 on solaris 8 Stefan Berglund
@ 2007-03-08 10:40 ` Andreas Schwab
  2007-03-08 10:50   ` Stefan Berglund
  2007-03-08 12:38   ` Stefan Berglund
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Schwab @ 2007-03-08 10:40 UTC (permalink / raw)
  To: Stefan Berglund; +Cc: gdb

"Stefan Berglund" <Stefan.Berglund@mobeon.com> writes:

> Hi, I ran into trouble with this configuration:
>
> (this is supposed to build a 64-bit version of gdb - is it wrong?)
>
> CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure
> --disable-tui
>
> The --disable-tui was added because of another linking error,

Did you make clean after reconfiguring?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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

* RE: Link problem with 64bit gdb 6.6 on solaris 8
  2007-03-08 10:40 ` Andreas Schwab
@ 2007-03-08 10:50   ` Stefan Berglund
  2007-03-08 12:38   ` Stefan Berglund
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Berglund @ 2007-03-08 10:50 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

Yes, I did;

  268  CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure --disable-tui
  269  make clean
  270  make

(history :)) 

/Stefan

> -----Original Message-----
> From: gdb-owner@sourceware.org 
> [mailto:gdb-owner@sourceware.org] On Behalf Of Andreas Schwab
> Sent: den 8 mars 2007 11:40
> To: Stefan Berglund
> Cc: gdb@sourceware.org
> Subject: Re: Link problem with 64bit gdb 6.6 on solaris 8
> 
> "Stefan Berglund" <Stefan.Berglund@mobeon.com> writes:
> 
> > Hi, I ran into trouble with this configuration:
> >
> > (this is supposed to build a 64-bit version of gdb - is it wrong?)
> >
> > CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure 
> > --disable-tui
> >
> > The --disable-tui was added because of another linking error,
> 
> Did you make clean after reconfiguring?
> 
> Andreas.
> 
> --
> Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products 
> GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key 
> fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 
> 4ED5 "And now for something completely different."
> 


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

* RE: Link problem with 64bit gdb 6.6 on solaris 8
  2007-03-08 10:40 ` Andreas Schwab
  2007-03-08 10:50   ` Stefan Berglund
@ 2007-03-08 12:38   ` Stefan Berglund
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Berglund @ 2007-03-08 12:38 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gdb

Actually, it linked OK when I removed everything and made it from scratch again.
Thanks. :)

/Stefan
 

> -----Original Message-----
> From: gdb-owner@sourceware.org 
> [mailto:gdb-owner@sourceware.org] On Behalf Of Andreas Schwab
> Sent: den 8 mars 2007 11:40
> To: Stefan Berglund
> Cc: gdb@sourceware.org
> Subject: Re: Link problem with 64bit gdb 6.6 on solaris 8
> 
> "Stefan Berglund" <Stefan.Berglund@mobeon.com> writes:
> 
> > Hi, I ran into trouble with this configuration:
> >
> > (this is supposed to build a 64-bit version of gdb - is it wrong?)
> >
> > CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure 
> > --disable-tui
> >
> > The --disable-tui was added because of another linking error,
> 
> Did you make clean after reconfiguring?
> 
> Andreas.
> 
> --
> Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products 
> GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key 
> fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 
> 4ED5 "And now for something completely different."
> 


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

end of thread, other threads:[~2007-03-08 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 10:36 Link problem with 64bit gdb 6.6 on solaris 8 Stefan Berglund
2007-03-08 10:40 ` Andreas Schwab
2007-03-08 10:50   ` Stefan Berglund
2007-03-08 12:38   ` Stefan Berglund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox