Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Nikolaos Ntarmos <darmnik@dialup.isc.tuc.gr>
To: axp-list@redhat.com
Subject: Re: UPDATE: DATETIME fields incorrect on alpha
Date: Mon, 13 Dec 1999 03:32:17 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.10.9912130321170.2187-100000@dialup.isc.tuc.gr> (raw)
In-Reply-To: <Pine.LNX.4.10.9912122024370.18582-100000@voodoo.alphalinux.org>


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     
----------------------------------- 


  reply	other threads:[~1999-12-13  2:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-13  2:11 UPDATE: DATETIME fields incorrect on alpha ppetrakis
1999-12-13  3:32 ` Nikolaos Ntarmos [this message]
1999-12-13 23:33   ` ppetrakis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox