🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Compiling libg++-2.2 on ISC SVR3 v2.2.0

#585
From: Marc Fournier - Admin
Date: Thu, 19 Nov 1992 03:21
41 lines
1953 bytes
In article <1992Nov19.025345.9501@r-node.gts.org> marc@r-node.gts.org (Marc Fournier - Admin) writes:
>In article <1992Nov17.155146.18032@ugle.unit.no> bjornw@colargol (Bjoern Wennberg) writes:
>>Marc Fournier - Admin (marc@r-node.gts.org) wrote:
>>: Help?
>>: 
>>: 	I'm attempting to compile libg++ to no avail :( I have gcc
>>: 2.2.2 online...I ran fixincludes when I installed it.  When I run
>>: make, I get the error on fdmatch.c dealing with 'parse error before
>>: mode_t' in /usr/include/sys/stat.h
>>: 
>>: 	Anyone out there able to help?
>>: 
>>: Thanks...
>>: 
>>: Marc
>>
>>Hi!
>>
>>mode_t is defined in <sys/types.h>
>>
>>You should include <sys/types.h> before including <sys/stat.h>
>>or fix <sys/stat.h> so that it automatically includes <sys/types.h>
>>
>
>	Hmmmm...anyone have any more suggestions? :)  That was the first thing
>I have tried to no avail :(
>
>Thanks...

Well...after posting this..I decided to 'experiment' with things and
determined that all that was missing was to put -D_POSIX_SOURCE for
that particular file and it worked :)  Now, onto the next error.... :(

Thanks for the help though...

Marc
-- 
Marc G. Fournier      | R-node Public Access Unix running UnixBBS 1.10
Etobicoke, Ontario    | 416-249-5366   24hrs 7 days/week   network email
voice: 249-4230       | shell accounts available  2500+ newsgroups  FREE
marc@r-node.pci.on.ca | Telebit WorldBlazer/SupraModem2400/Cardinal 2400 
Technical Details
Message-ID: <1992Nov19.032119.11280@r-node.gts.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!geac!r-node!marc
References: <1992Nov14.045636.16089@r-node.gts.org> <1992Nov17.155146.18032@ugle.unit.no> <1992Nov19.025345.9501@r-node.gts.org>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!geac!r-node!marc
From: marc@r-node.gts.org (Marc Fournier - Admin)
Subject: Re: Compiling libg++-2.2 on ISC SVR3 v2.2.0
Message-ID: <1992Nov19.032119.11280@r-node.gts.org>
Organization: R-node Public Access UNIX Information System (416-249-5366)
References: <1992Nov14.045636.16089@r-node.gts.org> <1992Nov17.155146.18032@ugle.unit.no> <1992Nov19.025345.9501@r-node.gts.org>
Date: Thu, 19 Nov 1992 03:21:19 GMT
Lines: 41