🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by wayne Thu, 13 Aug 1992 13:40
libg++ and SunOS 4.1.2
#142
Author: wayne
Date: Thu, 13 Aug 1992 13:40
58 lines
2580 bytes
     I can't get libg++ 2.2 to make under 
the SunOS 4.1.2 . Below is the output from the 
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
gcc -c -g -I. -I./../include  ./dummy.c
(gcc  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
gcc -c -g -I. -I./../include  basename.c
gcc -c -g -I. -I./../include  getopt.c
gcc -c -g -I. -I./../include  getopt1.c
gcc -c -g -I. -I./../include  obstack.c
gcc -c -g -I. -I./../include  spaces.c
gcc -c -g -I. -I./../include  concat.c
gcc -c -g -I. -I./../include  fdmatch.c
gcc -c -g -I. -I./../include  argv.c
gcc -c -g -I. -I./../include  strerror.c
gcc -c -g -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
gcc -c -g -I. -I./../include  memmove.c
gcc -c -g -I. -I./../include  strtoul.c
gcc -c -g -I. -I./../include  alloca.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 memmove.o strtoul.o alloca.o
ranlib libiberty.a
rootme=`pwd` ; export rootme; CC="gcc `if [ -f ${rootme}/../gcc/gcc ] ;  then echo -I${rootme}/../gcc/include ;  else echo ; fi`"; export CC; \
./utils/gen-params  >tmp-params.h

gcc: dummy.C: linker input file unused since linking not done
nm: dummy.o: cannot open
nm: dummy.o: cannot open
nm failed to find FUNC in dummy.o!
./utils/gen-params: -1: bad number
*** Error code 1
make: Fatal error: Command failed for target `_G_config.h'
Current working directory /pub/wayne/tmp/libg++-2.2/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'
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