Article View: gnu.gdb.bug
Article #806Re: make problems
From: Ed Simpson
Date: Mon, 18 Dec 1989 21:57
Date: Mon, 18 Dec 1989 21:57
79 lines
3984 bytes
3984 bytes
This is regarding the last mail message where I reported nm failing on
valprint.o while trying to make gdb. I ran make clean, then make
again. This time nm failed on printcmd.o, so I removed it, and redid
make, then nm worked on printcmd.o and failed on symtab.o, so I
recompiled symtab.o, and then the make completed without error.
% make clean
.
.
.
% make
.
.
.
rm -f init.c
./munch main.o blockframe.o breakpoint.o findvar.o stack.o source.o values.o e
val.o valops.o valarith.o valprint.o printcmd.o symtab.o symmisc.o coffread.o d
bxread.o infcmd.o infrun.o remote.o command.o utils.o expread.o expprint.o pins
n.o environ.o version.o copying.o core.o inflow.o dep.o > init.c
nm: printcmd.o: error reading string table
cc -I. -g -Bstatic -o gdb init.c main.o blockframe.o breakpoint.o findvar.o sta
ck.o source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab
.o symmisc.o coffread.o dbxread.o infcmd.o infrun.o remote.o command.o utils.o
expread.o expprint.o pinsn.o environ.o version.o copying.o core.o inflow.o dep
.o readline/libreadline.a obstack.o malloc.o -ltermcap
ld: printcmd.o: bad string table index (pass 1)
*** Error code 4
make: Fatal error: Command failed for target `gdb'
% rm printcmd.o
% make
cc -I. -g -Bstatic -c printcmd.c
cd readline ; make "SYSV=" \
"DEBUG_FLAGS=-g -Bstatic" "CC=cc" libreadline.a
`libreadline.a' is up to date.
rm -f init.c
./munch main.o blockframe.o breakpoint.o findvar.o stack.o source.o values.o e
val.o valops.o valarith.o valprint.o printcmd.o symtab.o symmisc.o coffread.o d
bxread.o infcmd.o infrun.o remote.o command.o utils.o expread.o expprint.o pins
n.o environ.o version.o copying.o core.o inflow.o dep.o > init.c
nm: symtab.o: error reading string table
cc -I. -g -Bstatic -o gdb init.c main.o blockframe.o breakpoint.o findvar.o sta
ck.o source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab
.o symmisc.o coffread.o dbxread.o infcmd.o infrun.o remote.o command.o utils.o
expread.o expprint.o pinsn.o environ.o version.o copying.o core.o inflow.o dep
.o readline/libreadline.a obstack.o malloc.o -ltermcap
ld: symtab.o: bad string table index (pass 1)
*** Error code 4
make: Fatal error: Command failed for target `gdb'
% rm symtab.o
% make
cc -I. -g -Bstatic -c symtab.c
cd readline ; make "SYSV=" \
"DEBUG_FLAGS=-g -Bstatic" "CC=cc" libreadline.a
`libreadline.a' is up to date.
rm -f init.c
./munch main.o blockframe.o breakpoint.o findvar.o stack.o source.o values.o e
val.o valops.o valarith.o valprint.o printcmd.o symtab.o symmisc.o coffread.o d
bxread.o infcmd.o infrun.o remote.o command.o utils.o expread.o expprint.o pins
n.o environ.o version.o copying.o core.o inflow.o dep.o > init.c
cc -I. -g -Bstatic -o gdb init.c main.o blockframe.o breakpoint.o findvar.o sta
ck.o source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab
.o symmisc.o coffread.o dbxread.o infcmd.o infrun.o remote.o command.o utils.o
expread.o expprint.o pinsn.o environ.o version.o copying.o core.o inflow.o dep
.o readline/libreadline.a obstack.o malloc.o -ltermcap
ld: readline/libreadline.a: warning: archive has no table of contents; add one u
sing ranlib(1)
-----------------
A bit weird.
----------
Ed Simpson e-mail by ARPANET: evs@cs.duke.edu tel.: (919)660-5107
P.O.Box 3140, Duke Univ. Medical Center, Durham, NC, USA 27710
Technical Details
Message-ID:
<8912182157.AA18818@sunbar.mc.duke.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SUNBAR.MC.DUKE.EDU!evsReferences:
<8912181746.AA17687@sunbar.mc.duke.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SUNBAR.MC.DUKE.EDU!evs From: evs@SUNBAR.MC.DUKE.EDU (Ed Simpson) Newsgroups: gnu.gdb.bug Subject: Re: make problems Message-ID: <8912182157.AA18818@sunbar.mc.duke.edu> Date: 18 Dec 89 21:57:59 GMT References: <8912181746.AA17687@sunbar.mc.duke.edu> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 79