🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #4

Seem to have trouble compiling libg++2.2

#4
From: erose
Date: Sun, 01 Nov 1992 21:12
58 lines
3095 bytes
libg++2.2 obtained from prep.ai.mit.edu Sun Nov 1

I seem to have trouble compiling libg++ "Right out of the box".  The
makefile has some sort of problem while compiling libiberty.

Machine: Dec 5000/240, Ultrix 4.2A
Compiler: gcc 2.2.2
Configure: "mips-dec-ultrix4"
Makefile mods: -O2
which gcc: /usr/pubsw/bin/gcc

-Eric

-------------------------------------------------------------------------------
Script started on Sun Nov  1 12:58:14 1992
leland1# make
echo "# !Automatically generated from ./functions.def"   "- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def   | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf \"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|'   >>needed2.awk
grep '^DEFFUNC(' < ./functions.def   | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf \"#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|'   >>needed2.awk
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  ./dummy.c
(cc -Wf,-XNg1000  dummy.o  ) >errors 2>&1 || true
rm -f a.out dummy.o
echo "/* !Automatically generated from ./functions.def"   "- DO NOT EDIT! */" >config.h
awk -f needed2.awk <errors >>config.h
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  basename.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  getopt.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  getopt1.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  obstack.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  spaces.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  concat.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  fdmatch.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  argv.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  strerror.c
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  strsignal.c
echo "# !Automatically generated from ./functions.def"   "- DO NOT EDIT!" >needed.awk
grep '^DEF(' < ./functions.def      | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf \"\1\.o " }|'      >>needed.awk
awk -f needed.awk <errors >needed-list
echo  >>needed-list
cc -Wf,-XNg1000 -c -O2 -I. -I./../include  strdup.c
rm -rf libiberty.a
ar qc libiberty.a    basename.o getopt.o getopt1.o obstack.o spaces.o concat.o  fdmatch.o argv.o strerror.o strsignal.o strdup.o 
ranlib libiberty.a
rootme=`pwd` ; export rootme; CC="cc -Wf,-XNg1000 `if [ -f ${rootme}/../gcc/gcc ] ;  then echo -I${rootme}/../gcc/include ;  else echo ; fi`"; export CC;  ./utils/gen-params  >tmp-params.h
ldopen: cannot open dummy.o
nm: Error: cannot open dummy.o
ldopen: cannot open dummy.o
nm: Error: cannot open dummy.o
nm failed to find FUNC in dummy.o!
sh: -1: bad number
*** Error code 1

Stop.
*** Error code 1

Stop.
leland1# exit

script done on Sun Nov  1 13:03:22 1992
Technical Details
Message-ID: <9211012112.AA12843@sunlight.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!leland.stanford.edu!erose

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!leland.stanford.edu!erose
From: erose@leland.stanford.edu
Subject: Seem to have trouble compiling libg++2.2
Message-ID: <9211012112.AA12843@sunlight.Stanford.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sun, 1 Nov 1992 21:12:33 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 59