Subject: Re: parse errors?
To: John Towler <jtowler@pconline.com>
From: Simon Burge <simonb@wasabisystems.com>
List: port-i386
Date: 10/16/2001 14:10:47
John Towler wrote:

> I am running NetBSD-1.5.2 on a Toshiba 460CDT.  While trying to build
> SWI Prolog's Xpce package (pl-4.0.9.tar.gz,
> pl-4.0.9/packages/xpce/**/) I ran into what gcc claims are parse
> errors.  By inspection, I didn't see anything odd in the header file.
> gcc is egcs-1.1.2 as bundled with -Dunix added to CPP-Prefines.  Is it
> this compiler version or should I look elswhere for the problem
> resolution.  SWI Prolog itself builds w/o errors or tweaks given the -Dunix.
> The relevant fragment of the nohup.out is below.

Our manual pages show that you must include <sys/types.h> before you
include <sys/socket.h>.  Is this the case in the code you're looking at?

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/