🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #807

make problems

#807
From: Ed Simpson
Date: Mon, 18 Dec 1989 17:46
46 lines
2160 bytes
I'm trying to make gdb on a Sun 3/260 running Sun OS 4.0.3 and I got
an error while making init.c.  I did the following:

% config.gdb sun3os4

Make sure to compile any program on which you want to run gdb
 without shared libraries (cc -Bstatic)

Linking `param.h' to `m-sun3os4.h'.
Linking `pinsn.c' to `m68k-pinsn.c'.
Linking `opcode.h' to `m68k-opcode.h'.
Linking `dep.c' to `sun3-dep.c'.
Editing Makefile
GDB is now set up for use with a sun3os4.

% make
    .
    .
    .
cc -I.  -g -Bstatic   -c  valprint.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: valprint.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: valprint.o: bad string table index (pass 1)
*** Error code 4
make: Fatal error: Command failed for target `gdb'


-----------------------
valprint.c compiled with no errors.  We're running standard versions
of cc and nm as they come from the Sun distribution.  I don't have any
ideas on what's going wrong.

----------
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: <8912181746.AA17687@sunbar.mc.duke.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SUNBAR.MC.DUKE.EDU!evs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!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: make problems
Message-ID: <8912181746.AA17687@sunbar.mc.duke.edu>
Date: 18 Dec 89 17:46:20 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 46