[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: UPDATE: DATETIME fields incorrect on alpha



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []