Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Jeffrey Jopling" To: Subject: Simple Sockets Errors Date: Thu, 18 Oct 2001 12:14:56 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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/