|
I try to compile ipnatadm on red hat 5.2 with 2.0.36
but i get this error message :
[root@fw ipnatadm]#make gcc -Wall -02 -I/usr/src/linux/include -c -o ipnatadm.o ipnatadm.c In file included from /usr/src/linux/include/linux/skbuff.h:18, from /usr/src/linux/include/net/ip_nat.h:37, from ipnatadm.h:14, from ipnatadm.c:45: /usr/src/linux/include/time.h:30: warning: 'FD_SET' redefined /usr/include/sys/select.h:60 warning: this is the location of the previous definetion /usr/src/linux/include/time.h:31: warning: 'FD_CLR' redefined /usr/include/sys/select.h:61 warning: this is the location of the previous definetion /usr/src/linux/include/time.h:32: warning: 'FD_ISSET' redefined /usr/include/sys/select.h:62 warning: this is the location of the previous definetion /usr/src/linux/include/time.h:33: warning: 'FD_ZERO' redefined /usr/include/sys/select.h:63 warning: this is the location of the previous definetion In file included from ipnatadm.h:8 from ipnatadm.c:45: /usr/src/linux/include/linux/ip.h:34:parse error befor '__u8' /usr/src/linux/include/linux/ip.h:34: warning: no semicolon at end of struct or union ..... ......... ipnatadm.c: In function 'main': ipnatadm.c:226 derefrencing pointer to incomplete type ipnatadm.c:236 derefrencing pointer to incomplete type ipnatadm.c:242 derefrencing pointer to incomplete type ipnatadm.c:246 derefrencing pointer to incomplete type make: ***[ipnatadm.o] Error 1 [root@fw ipnatadm]# thank you in advance for your help
|