🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52237

Need help building libg++-2.3 under Solaris 2.1

#52237
From: Marc Cohen
Date: Thu, 14 Jan 1993 16:27
44 lines
2530 bytes
Hi,

I was able to build gcc-2.3.3 and gdb-4.7 on a Sun IPC running
Solaris 2.1.  I used Sun C 2.0.1 to compile stage1 of gcc.
When I tried to build libg++-2.3 I got the error below.
Can anyone help me with this?  

-Marc

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
mv tmp-params.h _G_config.h
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c AllocRing.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c builtin.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c regex.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Regex.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c String.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Integer.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Rational.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Complex.cc
./Complex.h: In function `double  abs (const class Complex&)':
In file included from Complex.cc:21:
./Complex.h:258: warning: implicit declaration of function `hypot'
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Random.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitString.cc
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c LogNorm.cc
LogNorm.cc: In method `double  LogNormal::operator () ()':
LogNorm.cc:33: `M_E' undeclared (first use this function)
LogNorm.cc:33: (Each undeclared identifier is reported only once
LogNorm.cc:33: for each function it appears in.)
LogNorm.cc:34: warning: control reaches end of non-void function
*** Error code 1
make: Fatal error: Command failed for target `LogNorm.o'
Current working directory /iua0_3/usr/gnu/libg++-2.3/libg++/src
*** Error code 1
make: Fatal error: Command failed for target `in-src'
Current working directory /iua0_3/usr/gnu/libg++-2.3/libg++
*** Error code 1
make: Fatal error: Command failed for target `all-libg++'
Technical Details
Message-ID: <1993Jan14.162726.2778@aai.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!aai!marc

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,df6ce05a7d0c034c,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-01-14 13:01:17 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!aai!marc
From: marc@aai.com (Marc Cohen)
Subject: Need help building libg++-2.3 under Solaris 2.1
Message-ID: <1993Jan14.162726.2778@aai.com>
Organization: Amerinex Artificial Intelligence
Date: Thu, 14 Jan 1993 16:27:26 GMT
Lines: 44