www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/08/03:08:07

Date: Wed, 8 Aug 2001 09:59:31 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Peter Nolan <peternolan9 AT eircom DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: New DJGPP User - Install Questions
In-Reply-To: <fF_b7.23700$Fk7.227792@news.indigo.ie>
Message-ID: <Pine.SUN.3.91.1010808095910.23412G@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 8 Aug 2001, Peter Nolan wrote:

> make.exe[1]: Entering directory `c:/cobcy/adtlib/src'
> "       Compiling bitarray.cc"
> In file included from ../include/set.h:13,
>                  from ../include/array.h:14,
>                  from ../include/bitarray.h:9,
>                  from bitarray.cc:6:
> ../include/streamab.h:22: strstrea.h: No such file or directory (ENOENT)

I don't think this has anything to do with DJGPP: these header files
are not part of DJGPP at all.  The DJGPP C++ headers live in the
c:/djgpp/lang/cxx directory, whereas the headers reported here are in
c:/cobcy/adtlib/include.  They seem to be part of the package you are
compiling.  I'm guessing that whoever prepared the package edited
streamab.h and changed strstream.h to strstrea.h, for whatever
reasons.

Or are you saying that line 22 of streamab.h actually says somethink
like "#include <strstream.h>"?

> In file included from ../include/csocket.h:14,
>                  from ../include/streamab.h:25,
>                  from ../include/set.h:13,
>                  from ../include/array.h:14,
>                  from ../include/bitarray.h:9,
>                  from bitarray.cc:6:
> c:/djgpp/include/sys/socket.h:33: winsock.h: No such file or directory
> (ENOENT)
> c:/djgpp/include/sys/socket.h:47: w32.h: No such file or directory (ENOENT)

DJGPP doesn't have sys/socket.h file.  I'm guessing that you have
there some file that is not compatible with DJGPP, or maybe it's a
header from DJGPP port of libsocket and something, either in the
source or in the Makefile causes you to compiling the program with
wrong compiler switches or compile-time options, because the above
error message means you are trying to compile the program as a Win32
application.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019