I haven't compiled GNUstep on Cygwin in may years, so my help might be off a 
bit. From your logs I would say that this is an internal issue of Cygwin. Some 
of the types used in socket.h aren't defined. What you could do is try to find 
out, why this is the case. It could be that some define in GNUstep prevents 
them from being visible or that an additional include is needed. Just grep for 
one of these types, for example uid_t in all Cygwin headers and try to figure 
out why it isn't used.
Apart from that I would suggest you switch to MinGW, which is a lot better 
tested with GNUstep nowerdays.

Hope this helps,
Fred

On the road

Am 28.04.2015 um 23:56 schrieb Patrick Saldou <psal...@eplus.com>:

> Hi There!  Trying to compile GNUStep on Cygwin.  Attached are the logs.  Can 
> you please help me figure out what I’m doing wrong.  I get:
> 
> Making all in subprojects of library libgnustep-base...
> Making all for subproject ObjectiveC2...
> make[5]: Nothing to be done for 'internal-subproject-compile'.
> Making all for subproject Additions...
> make[5]: Nothing to be done for 'internal-subproject-compile'.
> Making all for subproject unix...
>  Compiling file GSRunLoopCtxt.m ...
> In file included from /usr/include/asm/socket.h:14:0,
>                  from /usr/include/cygwin/socket.h:51,
>                  from /usr/include/sys/socket.h:16,
>                  from ../../Headers/Foundation/NSPort.h:40,
>                  from GSRunLoopCtxt.m:14:
> /usr/include/cygwin/if.h:106:5: error: unknown type name ‘caddr_t’
>      caddr_t ifcu_buf;
>      ^
> In file included from /usr/include/sys/socket.h:16:0,
>                  from ../../Headers/Foundation/NSPort.h:40,
>                  from GSRunLoopCtxt.m:14:
> /usr/include/cygwin/socket.h:58:3: error: unknown type name ‘uid_t’
>    uid_t   uid;
>    ^
> /usr/include/cygwin/socket.h:59:3: error: unknown type name ‘gid_t’
>    gid_t   gid;
>    ^
> /home/psaldou/GNUstep/System/Library/Makefiles/rules.make:468: recipe for 
> target 'obj/unix.obj/GSRunLoopCtxt.m.o' failed
> make[5]: *** [obj/unix.obj/GSRunLoopCtxt.m.o] Error 1
> /home/psaldou/GNUstep/System/Library/Makefiles/Instance/subproject.make:45: 
> recipe for target 'internal-subproject-all_' failed
> make[4]: *** [internal-subproject-all_] Error 2
> /home/psaldou/GNUstep/System/Library/Makefiles/Master/rules.make:298: recipe 
> for target 'unix.all.subproject.variables' failed
> make[3]: *** [unix.all.subproject.variables] Error 2
> /home/psaldou/GNUstep/System/Library/Makefiles/Master/rules.make:298: recipe 
> for target 'libgnustep-base.all.library.variables' failed
> make[2]: *** [libgnustep-base.all.library.variables] Error 2
> /home/psaldou/GNUstep/System/Library/Makefiles/Master/library.make:37: recipe 
> for target 'internal-all' failed
> make[1]: *** [internal-all] Error 2
> /home/psaldou/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53:
>  recipe for target 'internal-all' failed
> make: *** [internal-all] Error 2
> make[2]: *** [libgnustep-base.all.library.variables] Error 2
> make[1]: *** [internal-all] Error 2
> make: *** [internal-all] Error 2
> 
> 
> 
> Thank you!
> P.
> 
> <logs.tar.gz>
> _______________________________________________
> Bug-gnustep mailing list
> Bug-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-gnustep
_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to