🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Ed Simpson Mon, 18 Dec 1989 17:46
make problems
#807
Author: 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
Re: make problems
#806
Author: Ed Simpson
Date: Mon, 18 Dec 1989 21:57
79 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads