mars_nwe compile error

baser mustafa (b054240@orca.cc.metu.edu.tr)
Tue, 17 Mar 1998 16:29:46 +0300 (MEST)


Merhaba,

mars_nwe serveri mars-nwe-0.99pl2-1.i386.rpm den install ettigimde hersey
calisiyor. Source undan kendim derlemeye calistigimda asagidaki hatayi
veriyor. c bilmedigim icin isin icinden bir turlu cikamadim.
Yardimlarinizi bekliyorum.
Saygilar.

make[1]: Entering directory `/root/mars/mars_nwe/obj'
make -f Makefile.o n_all
make[2]: Entering directory `/root/mars/mars_nwe/obj'
cc -c -pipe -Wall -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=2 ../emutli.c
In file included from /usr/include/linux/if.h:23,
from ../emutli.c:32:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:211: warning: this is the location of the previous definition
/usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined
/usr/include/socketbits.h:40: warning: this is the location of the previous definition
/usr/include/linux/socket.h:42: warning: `SOCK_DGRAM' redefined
/usr/include/socketbits.h:43: warning: this is the location of the previous definition
/usr/include/linux/socket.h:43: warning: `SOCK_RAW' redefined
/usr/include/socketbits.h:45: warning: this is the location of the previous definition
/usr/include/linux/socket.h:44: warning: `SOCK_RDM' redefined
/usr/include/socketbits.h:47: warning: this is the location of the previous definition
/usr/include/linux/socket.h:45: warning: `SOCK_SEQPACKET' redefined
/usr/include/socketbits.h:50: warning: this is the location of the previous definition
/usr/include/linux/socket.h:46: warning: `SOCK_PACKET' redefined
/usr/include/socketbits.h:54: warning: this is the location of the previous definition
/usr/include/linux/socket.h:53: warning: `AF_UNSPEC' redefined
/usr/include/socketbits.h:82: warning: this is the location of the previous definition
/usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined
/usr/include/socketbits.h:84: warning: this is the location of the previous definition
/usr/include/linux/socket.h:55: warning: `AF_INET' redefined
/usr/include/socketbits.h:86: warning: this is the location of the previous definition
/usr/include/linux/socket.h:56: warning: `AF_AX25' redefined
/usr/include/socketbits.h:87: warning: this is the location of the previous definition
/usr/include/linux/socket.h:57: warning: `AF_IPX' redefined
/usr/include/socketbits.h:88: warning: this is the location of the previous definition
/usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined
/usr/include/socketbits.h:89: warning: this is the location of the previous definition
/usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined
/usr/include/socketbits.h:90: warning: this is the location of the previous definition
/usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined
/usr/include/socketbits.h:91: warning: this is the location of the previous definition
/usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined
/usr/include/socketbits.h:92: warning: this is the location of the previous definition
/usr/include/linux/socket.h:62: warning: `AF_X25' redefined
/usr/include/socketbits.h:93: warning: this is the location of the previous definition
/usr/include/linux/socket.h:66: warning: `AF_MAX' redefined
/usr/include/socketbits.h:103: warning: this is the location of the previous definition
/usr/include/linux/socket.h:69: warning: `PF_UNSPEC' redefined
/usr/include/socketbits.h:58: warning: this is the location of the previous definition
/usr/include/linux/socket.h:70: warning: `PF_UNIX' redefined
/usr/include/socketbits.h:60: warning: this is the location of the previous definition
/usr/include/linux/socket.h:71: warning: `PF_INET' redefined
/usr/include/socketbits.h:62: warning: this is the location of the previous definition
/usr/include/linux/socket.h:72: warning: `PF_AX25' redefined
/usr/include/socketbits.h:63: warning: this is the location of the previous definition
/usr/include/linux/socket.h:73: warning: `PF_IPX' redefined
/usr/include/socketbits.h:64: warning: this is the location of the previous definition
/usr/include/linux/socket.h:74: warning: `PF_APPLETALK' redefined
/usr/include/socketbits.h:65: warning: this is the location of the previous definition
/usr/include/linux/socket.h:75: warning: `PF_NETROM' redefined
/usr/include/socketbits.h:66: warning: this is the location of the previous definition
/usr/include/linux/socket.h:76: warning: `PF_BRIDGE' redefined
/usr/include/socketbits.h:67: warning: this is the location of the previous definition
/usr/include/linux/socket.h:77: warning: `PF_AAL5' redefined
/usr/include/socketbits.h:68: warning: this is the location of the previous definition
/usr/include/linux/socket.h:78: warning: `PF_X25' redefined
/usr/include/socketbits.h:69: warning: this is the location of the previous definition
/usr/include/linux/socket.h:82: warning: `PF_MAX' redefined
/usr/include/socketbits.h:79: warning: this is the location of the previous definition
In file included from /usr/include/linux/if.h:23,
from ../emutli.c:32:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
make[2]: *** [emutli.o] Error 1
make[2]: Leaving directory `/root/mars/mars_nwe/obj'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/mars/mars_nwe/obj'