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]

Simple Sockets Errors


Has anyone ever tried to use the Simple Sockets Library
(http://users.erols.com/astronaut/ssl/) under cygwin?

I am not able to compile it for some reason.

Sample App foo.c:

#include "sockets.h"

int main(void)
{

   return 1;

}

Command and output:
gcc -I./ssl/Hdr foo.c

In file included from ssl/Hdr/sockets.h:209,
                 from foo.c:1:
ssl/Hdr/xtdio.h:116: parse error before `*'
ssl/Hdr/xtdio.h:116: warning: data definition has no type or storage class
ssl/Hdr/xtdio.h:119: parse error before `FILE'
In file included from foo.c:1:
ssl/Hdr/sockets.h:258: parse error before `SKTEVENT'
ssl/Hdr/sockets.h:258: warning: data definition has no type or storage class
ssl/Hdr/sockets.h:268: parse error before `SKTEVENT'
ssl/Hdr/sockets.h:268: warning: no semicolon at end of struct or union
ssl/Hdr/sockets.h:272: parse error before `}'
ssl/Hdr/sockets.h:275: parse error before `fd_set'
ssl/Hdr/sockets.h:275: warning: no semicolon at end of struct or union
ssl/Hdr/sockets.h:277: parse error before `}'
ssl/Hdr/sockets.h:298: warning: parameter has incomplete type
ssl/Hdr/sockets.h:305: parse error before `u_short'
ssl/Hdr/sockets.h:315: parse error before `Srmsrvr'
ssl/Hdr/sockets.h:315: warning: data definition has no type or storage class
ssl/Hdr/sockets.h:326: warning: parameter names (without types) in function
declaration
ssl/Hdr/sockets.h:327: parse error before `u_short'


This is my first experience trying to use the Simple Sockets Library, and I
was hoping someone here has more experience :)

Thanks,
Jeff


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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