🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DEC bug ...

#300
From: Brian C Hill
Date: Wed, 14 Oct 1992 22:23
54 lines
2730 bytes
	I am trying to compile libg++2.2 and this is what happens:

===========================================================
$ make all 
echo "# !Automatically generated from ./functions.def"   "- DO NOT EDIT!" >neede
d2.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 -g -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! */" >c
onfig.h
awk -f needed2.awk <errors >>config.h
cc -Wf,-XNg1000 -c -g -I. -I./../include  basename.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  getopt.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  getopt1.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  obstack.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  spaces.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  concat.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  fdmatch.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  argv.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  strerror.c
cc -Wf,-XNg1000 -c -g -I. -I./../include  strsignal.c
echo "# !Automatically generated from ./functions.def"   "- DO NOT EDIT!" >neede
d.awk
grep '^DEF(' < ./functions.def      | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { prin
tf \"\1\.o " }|'      >>needed.awk
awk -f needed.awk <errors >needed-list
echo  >>needed-list
cc -Wf,-XNg1000 -c -g -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;  ./uti
ls/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.
$
===========================================================
Technical Details
Message-ID: <9210151223.AA16867@lotus.cs.ucdavis.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucdavis.edu!hillb

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cs.ucdavis.edu!hillb
From: hillb@cs.ucdavis.edu (Brian C Hill)
Subject: DEC bug ...
Message-ID: <9210151223.AA16867@lotus.cs.ucdavis.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 14 Oct 1992 22:23:33 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 55