🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by erose Sun, 01 Nov 1992 21:12
Seem to have trouble compiling libg++2.2
#4
Author: 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
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