🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #246

Problems compiling libg++2.2 on HP-UX 8

#246
From: Sean McLinden
Date: Mon, 31 Aug 1992 06:53
23 lines
1223 bytes
This has got to be a fairly straightforward problem but when attempting to
compile libg++ on hp-ux using gcc-2.2.2 I get the following:


	gcc -g -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/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'
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.

Clues would be appreciated.

Thanks.
Technical Details
Message-ID: <gecX9lu00WBL42d19b@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!andrew.cmu.edu!sean+

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!andrew.cmu.edu!sean+
From: sean+@andrew.cmu.edu (Sean McLinden)
Subject: Problems compiling libg++2.2 on HP-UX 8
Message-ID: <gecX9lu00WBL42d19b@andrew.cmu.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 31 Aug 1992 06:53:37 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 25