🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #708

libg++-2.3

#708
From: Jim Lynch
Date: Wed, 23 Dec 1992 21:19
108 lines
4737 bytes
Hello, more problems... I did the 'make fixincludes' and now I'm getting more
problems... Question: If I set the _prefix_, does the lib make assume that my
entire installation is in the prefix directory? If so, is there a way to tell
the make (presumably thru 'configure') only the fixed includes are in my dir
and the rest can be found in the default place (/usr/local/...)?

Here's what I'm getting when I try to make the c++ libs:

Problem I:
dummy.c: 4: Can't find include file stdarg.h
 
Problem II:
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
In file included from String.cc:28:
/u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11: syslim
its.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `String.o'
Current working directory /u31/jimlynch/libg++-2.3/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `in-src'
Current working directory /u31/jimlynch/libg++-2.3/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'
 
 
 
HELP! BLAH!
 
A full transcript follows, including configuration.
 
----
 
{Netcom:24} configure sparc-sun-sunos411 -prefix=$HOME
Created "Makefile" in /u31/jimlynch/libg++-2.3 using "config/mh-sun"
{Netcom:26} 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#defi
ne NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
cc -c -g -I. -I./../include   ./dummy.c
(cc -o dummy  dummy.o  ) >errors 2>&1 || true
echo "/* !Automatically generated from ./functions.def"\
  "- DO NOT EDIT! */" >lconfig.h
awk -f needed2.awk <errors >>lconfig.h
cp lconfig.h config.h
cc -c -g -I. -I./../include   argv.c
cc -c -g -I. -I./../include   basename.c
cc -c -g -I. -I./../include   concat.c
cc -c -g -I. -I./../include   cplus-dem.c
cc -c -g -I. -I./../include   fdmatch.c
cc -c -g -I. -I./../include   getopt.c
cc -c -g -I. -I./../include   getopt1.c
cc -c -g -I. -I./../include   obstack.c
cc -c -g -I. -I./../include   spaces.c
cc -c -g -I. -I./../include   strerror.c
cc -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 >lneeded-list
echo  >>lneeded-list
cp lneeded-list needed-list
cc -c -g -I. -I./../include   memmove.c
cc -c -g -I. -I./../include   strtoul.c
cc -c -g -I. -I./../include   alloca.c
rm -rf libiberty.a
ar qc libiberty.a \
  argv.o basename.o concat.o cplus-dem.o fdmatch.o  getopt.o getopt1.o obstack.o
 spaces.o strerror.o strsignal.o memmove.o strtoul.o alloca.o
ranlib libiberty.a
rootme=`pwd`/ ; export rootme; \
CC="cc "; export CC; \
CXX="gcc  -nostdinc++"; export CXX; \
CONFIG_NM="nm"; export CONFIG_NM; \
./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
dummy.c: 4: Can't find include file stdarg.h
mv tmp-params.h _G_config.h
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.
cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c Obstack.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c builtin.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c regex.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c Regex.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
In file included from String.cc:28:
/u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11: syslim
its.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `String.o'
Current working directory /u31/jimlynch/libg++-2.3/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `in-src'
Current working directory /u31/jimlynch/libg++-2.3/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'
.
---

Any and all help appreciated.
Technical Details
Message-ID: <1992Dec23.211947.19450@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!jimlynch

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!jimlynch
From: jimlynch@netcom.com (Jim Lynch)
Subject: libg++-2.3
Message-ID: <1992Dec23.211947.19450@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Wed, 23 Dec 1992 21:19:47 GMT
Lines: 109