gcc -DPACKAGE=\"SDL_net\" -DVERSION=\"1.1.1\" -I. -I. -g -O2 
-I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -c  -fPIC 
-DPIC SDLnet.c -o .libs/SDLnet.lo
In file included from /usr/include/linux/byteorder/little_endian.h:54,
                 from /usr/include/asm/byteorder.h:45,
                 from /usr/local/include/SDL/SDL_endian.h:60,
                 from SDL_net.h:29,
                 from SDLnet.c:34:
/usr/include/linux/byteorder/generic.h:149: conflicting types for `ntohl'
/usr/include/netinet/in.h:232: previous declaration of `ntohl'
/usr/include/linux/byteorder/generic.h:151: conflicting types for `htonl'
/usr/include/netinet/in.h:234: previous declaration of `htonl'
make: *** [SDLnet.lo] Error 1

In /usr/include/linux/byteorder/generic.h:
extern unsigned long int        ntohl(unsigned long int);
extern unsigned short int       ntohs(unsigned short int);
extern unsigned long int        htonl(unsigned long int);
extern unsigned short int       htons(unsigned short int);

In /usr/include/netinet/in.h:
extern uint32_t ntohl __P ((uint32_t __netlong));
extern uint16_t ntohs __P ((uint16_t __netshort));
extern uint32_t htonl __P ((uint32_t __hostlong));
extern uint16_t htons __P ((uint16_t __hostshort));

E, care din ele ar trebui modificat si cum ?

Si, in primul rind, DE CE MAMA DRACULUI TREBUIA DECLARAT IN 2 LOCURI ?

-- 
 Paul Chitescu
 [EMAIL PROTECTED]   [EMAIL PROTECTED]
 http://pchitescu.myip.org/     http://PaulC.MetroNet.RO.EU.org/
 ICQ:22641673

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui