From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11377 invoked from network); 13 Dec 1999 02:32:44 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Dec 1999 02:32:44 -0000 Received: from dialup.isc.tuc.gr (darmnik@dialup.isc.tuc.gr [147.27.15.101]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA28132 for ; Sun, 12 Dec 1999 21:32:42 -0500 Received: from localhost (darmnik@localhost) by dialup.isc.tuc.gr (8.9.3/8.9.3) with ESMTP id DAA02215 for ; Mon, 13 Dec 1999 03:32:17 GMT Date: Mon, 13 Dec 1999 03:32:17 +0000 (GMT) From: Nikolaos Ntarmos To: axp-list@redhat.com Subject: Re: UPDATE: DATETIME fields incorrect on alpha In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII net.c: In function `my_net_init': net.c:150: `TCP_NODELAY' undeclared (first use in this function) net.c:150: (Each undeclared identifier is reported only once net.c:150: for each function it appears in.) make[2]: *** [net.lo] Error 1 TCP_NODELAY is simply defined to be 1 , provided that __KERNEL__ is defined : #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) ... #define TCP_NODELAY 1 ... #endif /* not kernel and not glibc */ in the file $KERNEL_ROOT/include/linux/socket.h and therefore in the standard /usr/include/linux/socket.h. All this in my 2.2.14pre9-based system. Try defining __KERNEL__ (-D__KERNEL__) during compilation or hardcoding 1 for TCP_NODELAY. Hope i helped... See ya, Nick. ----------------------------------- Ntarmos Nikolaos. Information Systems Center. Technical University of Crete. ----------------------------------- e-mail: darmnik @ isc.tuc.gr ccompiler @ yahoo.com -----------------------------------