delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/22/18:58:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <tazium AT yahoo DOT com>
Reply-To: <tazium AT yahoo DOT com>
From: "Travis Smith" <tazium AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: /usr/include/sys/socket.h in cygwin
Date: Sun, 22 Apr 2001 18:55:58 -0400
Message-ID: <IHEAIGPOPDKNBALAMEDOEEKDCAAA.tazium@yahoo.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20010422184637.B25103@redhat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300

------=_NextPart_000_0000_01C0CB5D.DDEB5B40
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have included the install log. Also source files that will duplicate the
problem.

Here's a log:

<log>
~/src $ bash --version
GNU bash, version 2.05.0(2)-release (i686-pc-cygwin)
Copyright 2000 Free Software Foundation, Inc.
~/src $ gcc --version
2.95.3-3
~/src $ cat main.cpp
#include <sys/socket.h>
#include <iostream.h>

int main ( void )
{
        return 0;
}
~/src $ cat makefile
CC=g++

main.exe: main.o

main.o: main.cpp
~/src $ make
gcc    -c -o main.o main.cpp
In file included from main.cpp:1:
/usr/include/sys/socket.h:14: features.h: No such file or directory
make: *** [main.o] Error 1
~/src $

</log>

ln -s /usr/local/sys/features.h /usr/local/features.h
will solve the problem on all occations I've tried.

Sorry for the lack of info in the first place.

~Travis Smith

-----Original Message-----
From: Christopher Faylor [mailto:cgf AT redhat DOT com]
Sent: Sunday, April 22, 2001 6:47 PM
To: cygwin AT cygwin DOT com
Cc: tazium AT yahoo DOT com
Subject: Re: /usr/include/sys/socket.h in cygwin


On Sun, Apr 22, 2001 at 04:53:00PM -0400, Travis Smith wrote:
>I believe the /usr/include/sys/socket.h needs a <sys/features.h> vs.  a
><features.h>.
>
>At least that's the problem I've run it, changing that has eliminated
>any problems I've had.

Could you enlighten us with the problem that you are having?

In is always a good idea to provid specific details when providing
a bug report.  It is difficult to know when a bug report is just
a misconception or a cockpit error and when it is real.  If you
provide us with the details of your reasoning, we don't have
to duplicate whatever work you've done.


cgf

------=_NextPart_000_0000_01C0CB5D.DDEB5B40
Content-Type: application/octet-stream;
	name="setup.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="setup.log"

2001/04/22 16:20:26 Starting cygwin install
Current Directory: C:\Downloads\Cygwin
source: from cwd
Selected local directory: C:\Downloads\Cygwin
root: d:/cygwin binary system
Installing latest/ash/ash-20010326.tar.gz
Installing latest/autoconf/autoconf-2.13-2.tar.gz
Installing latest/automake/automake-1.4-3.tar.gz
Installing latest/bash/bash-2.05-1.tar.gz
Installing latest/binutils/binutils-20001221-1.tar.gz
Installing latest/bison/bison-1.28-1.tar.gz
Installing latest/byacc/byacc.tar.gz
Installing latest/bzip2/bzip2-1.0.1-6.tar.gz
Installing latest/clear/clear-1.0.tar.gz
Installing latest/cpio/cpio-2.4.2.tar.gz
Installing latest/crypt/crypt-1.0-1.tar.gz
Installing contrib/cvs/cvs-1.11.0-1.tar.gz
Installing latest/cygwin/cygwin-1.3.0-1.tar.gz
Installing latest/dejagnu/dejagnu-20010117-1.tar.gz
Installing latest/diff/diff.tar.gz
Installing latest/expect/expect-20010117-1.tar.gz
Installing latest/file/file-3.33-1.tar.gz
Installing latest/fileutils/fileutils-4.0-3.tar.gz
Installing latest/findutils/findutils.tar.gz
Installing latest/flex/flex-2.5.4-1.tar.gz
Installing latest/gawk/gawk-3.0.4-1.tar.gz
Installing latest/gcc/gcc-2.95.3-3.tar.gz
Installing latest/gdb/gdb-20001125-1.tar.gz
Installing contrib/gdbm/gdbm-1.8.0-3.tar.gz
Installing contrib/gettext/gettext-0.10.35-2p1.tar.gz
Installing contrib/ghostscript/ghostscript-5.50-2.tar.gz
Installing latest/gperf/gperf.tar.gz
Installing latest/grep/grep-2.4.2-1.tar.gz
Installing latest/groff/groff-1.16.1-1.tar.gz
Installing latest/gzip/gzip-1.3-1.tar.gz
Installing latest/inetutils/inetutils-1.3.2-11.tar.gz
Installing contrib/irc/irc-20010101-1.tar.gz
Installing contrib/jbigkit/jbigkit-1.2-3.tar.gz
Installing contrib/jpeg/jpeg-6b-3.tar.gz
Installing latest/less/less-358-3.tar.gz
Installing contrib/libpng/libpng-1.0.9-3.tar.gz
Installing latest/login/login-1.4-1.tar.gz
Installing latest/m4/m4.tar.gz
Installing latest/make/make-3.79.1-3.tar.gz
Installing latest/man/man-1.5g-2.tar.gz
Installing latest/mingw/mingw-20010421-1.tar.gz
Installing latest/mt/mt-1.9.1.tar.gz
Installing contrib/mutt/mutt-1.2.5i-1.tar.gz
Installing contrib/ncftp/ncftp-3.0.2-2.tar.gz
Installing latest/ncurses/ncurses-5.2-4.tar.gz
Installing latest/cygwin/newlib-man-20001118.tar.gz
Installing latest/opengl/opengl-1.1.0-3.tar.gz
Installing latest/openssh/openssh-2.5.2p2-3.tar.gz
Installing latest/openssl/openssl-0.9.6.tar.gz
Installing latest/patch/patch-2.5-2.tar.gz
Installing contrib/perl/perl-5.6.1-1.tar.gz
Installing contrib/popt/popt-1.6.1-1.tar.gz
Installing contrib/postgresql/postgresql-7.1-2.tar.gz
Installing contrib/python/python-2.1-1.tar.gz
Installing contrib/readline/readline-4.1-2.tar.gz
Installing latest/regex/regex-4.4.tar.gz
Installing latest/sed/sed-3.02-1.tar.gz
Installing latest/sh-utils/sh-utils-2.0-2.tar.gz
mbox note: Can't open contrib/squid/squid-2.4.PRE-STABLE.tar.gz for =
reading: No such file
Installing contrib/ssmtp/ssmtp-2.38.7-2.tar.gz
Installing latest/tar/tar-1.13.19-1.tar.gz
Installing latest/tcltk/tcltk-20001125-1.tar.gz
Installing contrib/tcsh/tcsh-6.10.00-3.tar.gz
Installing latest/termcap/termcap-20001216-1.tar.gz
Installing contrib/tetex/tetex-beta-20001218-1.tar.gz
Installing latest/texinfo/texinfo-4.0-4.tar.gz
Installing latest/textutils/textutils-2.0-1.tar.gz
Installing contrib/tiff/tiff-3.5.5-3.tar.gz
Installing latest/time/time.tar.gz
Installing contrib/unzip/unzip-5.41-1.tar.gz
Installing latest/vim/vim-5.7-4.tar.gz
Installing latest/w32api/w32api-20010421-1.tar.gz
Installing contrib/wget/wget-1.6-1.tar.gz
Installing contrib/xpm/xpm-4.0.0-2.tar.gz
Installing contrib/zip/zip-2.3-1.tar.gz
Installing contrib/zlib/zlib-1.1.3-6.tar.gz
mbox note: Installation incomplete.  Check /setup.log.full for details
2001/04/22 16:23:54 Ending cygwin install

------=_NextPart_000_0000_01C0CB5D.DDEB5B40
Content-Type: application/octet-stream;
	name="main.cpp"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="main.cpp"

#include <sys/socket.h>=0A=
#include <iostream.h>=0A=
=0A=
int main ( void )=0A=
{=0A=
	return 0;=0A=
}=0A=

------=_NextPart_000_0000_01C0CB5D.DDEB5B40
Content-Type: application/octet-stream;
	name="makefile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="makefile"

CC=3Dg++=0A=
=0A=
main.exe: main.o=0A=
=0A=
main.o: main.cpp=0A=


------=_NextPart_000_0000_01C0CB5D.DDEB5B40
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
------=_NextPart_000_0000_01C0CB5D.DDEB5B40--


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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