cc -O2 -Wall -pipe -c diald.c -o diald.o In file included from diald.h:45, from diald.c:28: /usr/include/linux/in.h:73: warning: `IN_CLASSA' redefined /usr/include/netinet/in.h:102: warning: this is the location of the previous definition /usr/include/linux/in.h:79: warning: `IN_CLASSB' redefined /usr/include/netinet/in.h:108: warning: this is the location of the previous definition /usr/include/linux/in.h:85: warning: `IN_CLASSC' redefined /usr/include/netinet/in.h:114: warning: this is the location of the previous definition /usr/include/linux/in.h:90: warning: `IN_CLASSD' redefined /usr/include/netinet/in.h:119: warning: this is the location of the previous definition /usr/include/linux/in.h:94: warning: `IN_EXPERIMENTAL' redefined /usr/include/netinet/in.h:122: warning: this is the location of the previous definition /usr/include/linux/in.h:95: warning: `IN_BADCLASS' redefined /usr/include/netinet/in.h:123: warning: this is the location of the previous definition /usr/include/linux/in.h:98: warning: `INADDR_ANY' redefined /usr/include/netinet/in.h:126: warning: this is the location of the previous definition /usr/include/linux/in.h:101: warning: `INADDR_BROADCAST' redefined /usr/include/netinet/in.h:128: warning: this is the location of the previous definition /usr/include/linux/in.h:104: warning: `INADDR_NONE' redefined /usr/include/netinet/in.h:130: warning: this is the location of the previous definition In file included from /usr/include/linux/tcp.h:21, from diald.h:39, from diald.c:28: /usr/include/asm/byteorder.h:22: conflicting types for `ntohl' /usr/include/netinet/in.h:198: previous declaration of `ntohl' /usr/include/asm/byteorder.h:24: conflicting types for `htonl' /usr/include/netinet/in.h:200: previous declaration of `htonl' In file included from diald.h:39, from diald.c:28: /usr/include/linux/tcp.h:24: parse error before `__u16' /usr/include/linux/tcp.h:24: warning: no semicolon at end of struct or union /usr/include/linux/tcp.h:25: warning: data definition has no type or storage class /usr/include/linux/tcp.h:26: parse error before `seq' /usr/include/linux/tcp.h:26: warning: data definition has no type or storage class /usr/include/linux/tcp.h:27: parse error before `ack_seq' /usr/include/linux/tcp.h:27: warning: data definition has no type or storage class /usr/include/linux/tcp.h:29: parse error before `res1' /usr/include/linux/tcp.h:51: warning: data definition has no type or storage class /usr/include/linux/tcp.h:52: parse error before `check' /usr/include/linux/tcp.h:52: warning: data definition has no type or storage class /usr/include/linux/tcp.h:53: parse error before `urg_ptr' /usr/include/linux/tcp.h:53: warning: data definition has no type or storage class In file included from diald.h:41, from diald.c:28: /usr/include/linux/icmp.h:66: parse error before `__u8' /usr/include/linux/icmp.h:66: warning: no semicolon at end of struct or union /usr/include/linux/icmp.h:67: warning: data definition has no type or storage class /usr/include/linux/icmp.h:68: parse error before `checksum' /usr/include/linux/icmp.h:68: warning: data definition has no type or storage class /usr/include/linux/icmp.h:71: parse error before `__u16' /usr/include/linux/icmp.h:71: warning: no semicolon at end of struct or union /usr/include/linux/icmp.h:71: warning: no semicolon at end of struct or union /usr/include/linux/icmp.h:72: warning: data definition has no type or storage class /usr/include/linux/icmp.h:73: warning: data definition has no type or storage class /usr/include/linux/icmp.h:74: parse error before `gateway' /usr/include/linux/icmp.h:74: warning: data definition has no type or storage class /usr/include/linux/icmp.h:75: warning: data definition has no type or storage class /usr/include/linux/icmp.h:76: parse error before `}' /usr/include/linux/icmp.h:80: field `__errno_location' declared as a function In file included from diald.h:44, from diald.c:28: /usr/include/linux/ip.h:34: parse error before `__u8' /usr/include/linux/ip.h:34: warning: no semicolon at end of struct or union /usr/include/linux/ip.h:35: warning: data definition has no type or storage class /usr/include/linux/ip.h:37: parse error before `flags' /usr/include/linux/ip.h:45: warning: data definition has no type or storage class /usr/include/linux/ip.h:46: parse error before `}' /usr/include/linux/ip.h:71: parse error before `__u32' /usr/include/linux/ip.h:71: warning: no semicolon at end of struct or union /usr/include/linux/ip.h:76: parse error before `:' /usr/include/linux/ip.h:88: parse error before `}' /usr/include/linux/ip.h:92: parse error before `__u8' /usr/include/linux/ip.h:92: warning: no semicolon at end of struct or union /usr/include/linux/ip.h:100: warning: data definition has no type or storage class /usr/include/linux/ip.h:101: parse error before `tot_len' /usr/include/linux/ip.h:101: warning: data definition has no type or storage class /usr/include/linux/ip.h:102: parse error before `id' /usr/include/linux/ip.h:102: warning: data definition has no type or storage class /usr/include/linux/ip.h:103: parse error before `frag_off' /usr/include/linux/ip.h:103: warning: data definition has no type or storage class /usr/include/linux/ip.h:104: parse error before `ttl' /usr/include/linux/ip.h:104: warning: data definition has no type or storage class /usr/include/linux/ip.h:105: parse error before `protocol' /usr/include/linux/ip.h:105: warning: data definition has no type or storage class /usr/include/linux/ip.h:106: parse error before `check' /usr/include/linux/ip.h:106: warning: data definition has no type or storage class /usr/include/linux/ip.h:107: parse error before `saddr' /usr/include/linux/ip.h:107: warning: data definition has no type or storage class /usr/include/linux/ip.h:108: parse error before `daddr' /usr/include/linux/ip.h:108: warning: data definition has no type or storage class In file included from diald.h:45, from diald.c:28: /usr/include/linux/in.h:25: conflicting types for `IPPROTO_IP' /usr/include/netinet/in.h:33: previous declaration of `IPPROTO_IP' /usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP' /usr/include/netinet/in.h:34: previous declaration of `IPPROTO_ICMP' /usr/include/linux/in.h:27: conflicting types for `IPPROTO_IGMP' /usr/include/netinet/in.h:35: previous declaration of `IPPROTO_IGMP' /usr/include/linux/in.h:28: conflicting types for `IPPROTO_IPIP' /usr/include/netinet/in.h:36: previous declaration of `IPPROTO_IPIP' /usr/include/linux/in.h:29: conflicting types for `IPPROTO_TCP' /usr/include/netinet/in.h:37: previous declaration of `IPPROTO_TCP' /usr/include/linux/in.h:30: conflicting types for `IPPROTO_EGP' /usr/include/netinet/in.h:38: previous declaration of `IPPROTO_EGP' /usr/include/linux/in.h:31: conflicting types for `IPPROTO_PUP' /usr/include/netinet/in.h:39: previous declaration of `IPPROTO_PUP' /usr/include/linux/in.h:32: conflicting types for `IPPROTO_UDP' /usr/include/netinet/in.h:40: previous declaration of `IPPROTO_UDP' /usr/include/linux/in.h:33: conflicting types for `IPPROTO_IDP' /usr/include/netinet/in.h:41: previous declaration of `IPPROTO_IDP' /usr/include/linux/in.h:35: conflicting types for `IPPROTO_RAW' /usr/include/netinet/in.h:45: previous declaration of `IPPROTO_RAW' /usr/include/linux/in.h:37: conflicting types for `IPPROTO_MAX' /usr/include/netinet/in.h:47: previous declaration of `IPPROTO_MAX' /usr/include/linux/in.h:41: redefinition of `struct in_addr' /usr/include/linux/in.h:42: parse error before `__u32' /usr/include/linux/in.h:42: warning: no semicolon at end of struct or union /usr/include/linux/in.h:48: redefinition of `struct ip_mreq' /usr/include/linux/in.h:56: redefinition of `struct sockaddr_in' In file included from diald.c:28: diald.h:227: `daemon' redeclared as different kind of symbol /usr/include/unistd.h:725: previous declaration of `daemon' make: *** [diald.o] Error 1