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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <39102613.639DE141@vinschen.de> Date: Wed, 03 May 2000 15:13:55 +0200 From: Corinna Vinschen Reply-To: cygwin Organization: Cygnus Solutions, a Red Hat Company X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Prentis Brooks CC: cygwin Subject: Re: Strange problem trying to compile tcpd References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Prentis Brooks wrote: > [...] > Ok... that is not it... percent_m.c does include > > I have a feeling that for some reason the error is occurring in the > library. The real frustrating part is that I got this work on b20, > but inadvertently deleted my source in a system rebuild. Anyone got > any other ideas? Did you search for extern declarations of sys_nerr and sys_errlist? Some programs do a extern int sys_nerr; extern char *sys_errlist[] which is wrong for Cygwin. You'll have to do sth like that: #ifdef __CYGWIN__ # define sys_nerr _sys_nerr # define sys_errlist _sys_errlist #else extern int sys_nerr; extern char *sys_errlist[] #endif Corinna -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com