🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #171

libg++ V2.2 build on HP900/750 (HP-UX 8.07) fails. Help.

#171
From: Pierre Mathieu
Date: Thu, 13 Aug 1992 20:19
29 lines
1587 bytes
I have been trying to compile libg++ V2.2 on our HP900/750
running HP-UX 8.07 and it has failed. I am compiling it with GCC-2.2.2
(to which I have applied the UTAH stuff  and some suggestions
from Timothy Moore to get the -g option to work).
I use "configure hppahpux". (I also tried "configure hp750". No
difference.)

The compilation process gets to the following point, then bails out:

-------------
gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
/usr/include/math.h: In function `int  abs (int)':
In file included from ./builtin.h:33, from Obstack.cc:22:
/usr/include/math.h:185: redefinition of `int  abs (int)'
/usr/include/stdlib.h:62: here is the previous declaration of `int  abs (int)'
./Obstack.h: In method `void  Obstack::grow (const void *, int)':
In file included from Obstack.cc:23:
./Obstack.h:124: warning: implicit declaration of function `bcopy'
make[2]: *** [Obstack.o] Error 1
-------------

Any ideas, anyone?

Thanks,
--
Pierre Mathieu
Geodetic Survey of Canada
Ottawa, Canada
Internet: mathieu@geod.emr.ca
Technical Details
Message-ID: <mathieu.713737169@gdim>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!torn!cunews!nrcnet0!emr1!mathieu

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!torn!cunews!nrcnet0!emr1!mathieu
From: mathieu@geod.emr.ca (Pierre Mathieu)
Subject: libg++ V2.2 build on HP900/750 (HP-UX 8.07) fails. Help.
Message-ID: <mathieu.713737169@gdim>
Summary: It won't compile
Keywords: libg++
Sender: news@emr1.emr.ca
Nntp-Posting-Host: gdim.geod.emr.ca
Organization: Dept. of Energy, Mines, and Resources, Ottawa
Date: Thu, 13 Aug 1992 20:19:29 GMT
Lines: 29