This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: /usr/include/sys/socket.h in cygwin


Here are the packages I believe are involved.

latest/gcc/gcc-2.95.3-3.tar.gz
latest/gdb/gdb-20001125-1.tar.gz
latest/cygwin/cygwin-1.3.0-1.tar.gz
latest/cygwin/newlib-man-20001118.tar.gz
latest/w32api/w32api-20010421-1.tar.gz

Ok, some of them might not be involved. If there's another package number
you want, let me know. I played with some of the package numbers.

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


It looks like you are probably using either a snapshot or a test release.

Is this correct?

cgf

On Sun, Apr 22, 2001 at 06:55:58PM -0400, Travis Smith wrote:
>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@redhat.com]
>Sent: Sunday, April 22, 2001 6:47 PM
>To: cygwin@cygwin.com
>Cc: tazium@yahoo.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




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

--
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/


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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]