Linux-Misc Digest #478, Volume #18                Tue, 5 Jan 99 16:13:15 EST

Contents:
  Compiling gives header file errors (Gregor Mosheh)
  Re: How do i configure named properly? (mist)

----------------------------------------------------------------------------

From: Gregor Mosheh <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Compiling gives header file errors
Date: Tue, 05 Jan 1999 11:48:11 -0800

When I try to build some network-related software (diald and ipfwadm for
instance) I get errors about header files. These programs compile fine
on a friend's RedHat 5.0 system, but not on my fresh-out-of-the-box
RedHat 5.1 system. I tried upgrading glibc*.rpm to 2.0.7-29 and it
didn't help. Any ideas what could be wrong?

Output of both ipfwadm and diald compile failures is below.
Please Cc to me via email as well as to the group.

Trying to build "ipfwadm":

gcc -Wall -O2 -o ipfwadm ipfwadm.c
In file included from /usr/include/linux/if.h:23,
                 from ipfwadm.c:110:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:216: 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
/usr/include/linux/socket.h:88: warning: `MSG_OOB' redefined
/usr/include/socketbits.h:137: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:89: warning: `MSG_PEEK' redefined
/usr/include/socketbits.h:139: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:90: warning: `MSG_DONTROUTE' redefined
/usr/include/socketbits.h:141: warning: this is the location of the
previous definition
/usr/include/linux/socket.h:92: warning: `MSG_PROXY' redefined
/usr/include/socketbits.h:145: warning: this is the location of the
previous definition
In file included from /usr/include/linux/ip_fw.h:56,
                 from ipfwadm.c:111:
/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
/usr/include/linux/in.h:114: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:140: warning: this is the location of the
previous definition
/usr/include/linux/in.h:115: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the
previous definition
/usr/include/linux/in.h:116: warning: `INADDR_MAX_LOCAL_GROUP' redefined

/usr/include/netinet/in.h:143: warning: this is the location of the
previous definition
In file included from /usr/include/linux/ip.h:19,
                 from ipfwadm.c:106:
/usr/include/asm/byteorder.h:22: conflicting types for `ntohl'
/usr/include/netinet/in.h:204: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:24: conflicting types for `htonl'
/usr/include/netinet/in.h:206: previous declaration of `htonl'
In file included from ipfwadm.c:106:
/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 ipfwadm.c:107:
/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 ipfwadm.c:109:
/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 /usr/include/linux/if.h:23,
                 from ipfwadm.c:110:
/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'
In file included from /usr/include/linux/ip_fw.h:56,
                 from ipfwadm.c:111:
/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 ipfwadm.c:111:
/usr/include/linux/ip_fw.h:182: field `fwp_iph' has incomplete type
/usr/include/linux/ip_fw.h:184: field `fwp_tcph' has incomplete type
/usr/include/linux/ip_fw.h:186: field `fwp_icmph' has incomplete type
ipfwadm.c:189: parse error before `__u32'
ipfwadm.c:189: warning: no semicolon at end of struct or union
ipfwadm.c:192: parse error before `}'
ipfwadm.c: In function `mask_to_dotted':
ipfwadm.c:1091: `__u32' undeclared (first use this function)
ipfwadm.c:1091: (Each undeclared identifier is reported only once
ipfwadm.c:1091: for each function it appears in.)
ipfwadm.c:1091: parse error before `maskaddr'
ipfwadm.c:1093: `maskaddr' undeclared (first use this function)
ipfwadm.c:1100: `bits' undeclared (first use this function)
ipfwadm.c: In function `list_masq':
ipfwadm.c:1301: sizeof applied to an incomplete type
ipfwadm.c:1302: arithmetic on pointer to an incomplete type
ipfwadm.c:1302: dereferencing pointer to incomplete type
ipfwadm.c:1305: sizeof applied to an incomplete type
ipfwadm.c:1319: arithmetic on pointer to an incomplete type
ipfwadm.c:1319: dereferencing pointer to incomplete type
ipfwadm.c: In function `print_masq':
ipfwadm.c:1567: dereferencing pointer to incomplete type
ipfwadm.c:1576: dereferencing pointer to incomplete type
ipfwadm.c:1577: dereferencing pointer to incomplete type
ipfwadm.c:1578: dereferencing pointer to incomplete type
ipfwadm.c:1583: dereferencing pointer to incomplete type
ipfwadm.c:1584: dereferencing pointer to incomplete type
ipfwadm.c:1584: dereferencing pointer to incomplete type
ipfwadm.c:1588: dereferencing pointer to incomplete type
ipfwadm.c:1589: dereferencing pointer to incomplete type
ipfwadm.c:1591: dereferencing pointer to incomplete type
ipfwadm.c:1592: dereferencing pointer to incomplete type
ipfwadm.c:1596: dereferencing pointer to incomplete type
ipfwadm.c:1596: dereferencing pointer to incomplete type
ipfwadm.c:1596: dereferencing pointer to incomplete type
ipfwadm.c:1598: dereferencing pointer to incomplete type
ipfwadm.c:1598: dereferencing pointer to incomplete type
ipfwadm.c:1599: dereferencing pointer to incomplete type
ipfwadm.c:1601: dereferencing pointer to incomplete type
ipfwadm.c:1601: dereferencing pointer to incomplete type
ipfwadm.c:1602: dereferencing pointer to incomplete type
ipfwadm.c:1602: dereferencing pointer to incomplete type
ipfwadm.c:1605: dereferencing pointer to incomplete type
ipfwadm.c:1553: warning: `minutes' might be used uninitialized in this
function
ipfwadm.c:1553: warning: `seconds' might be used uninitialized in this
function
ipfwadm.c:1553: warning: `sec100s' might be used uninitialized in this
function
ipfwadm.c: In function `read_procinfo':
ipfwadm.c:1640: `__u32' undeclared (first use this function)
ipfwadm.c: In function `read_masqinfo':
ipfwadm.c:1658: arithmetic on pointer to an incomplete type
ipfwadm.c:1658: dereferencing pointer to incomplete type
ipfwadm.c:1660: dereferencing pointer to incomplete type
ipfwadm.c:1660: dereferencing pointer to incomplete type
ipfwadm.c:1661: dereferencing pointer to incomplete type
ipfwadm.c:1661: dereferencing pointer to incomplete type
ipfwadm.c:1662: dereferencing pointer to incomplete type
ipfwadm.c:1662: dereferencing pointer to incomplete type
ipfwadm.c:1668: dereferencing pointer to incomplete type
ipfwadm.c:1670: dereferencing pointer to incomplete type
ipfwadm.c:1675: dereferencing pointer to incomplete type
ipfwadm.c:1675: `__u32' undeclared (first use this function)
ipfwadm.c:1676: dereferencing pointer to incomplete type
ipfwadm.c:1678: dereferencing pointer to incomplete type
ipfwadm.c:1678: parse error before `temp'
ipfwadm.c: In function `fw_to_fwpkt':
ipfwadm.c:1696: dereferencing pointer to incomplete type
ipfwadm.c:1697: dereferencing pointer to incomplete type
ipfwadm.c:1697: sizeof applied to an incomplete type
ipfwadm.c:1698: dereferencing pointer to incomplete type
ipfwadm.c:1699: dereferencing pointer to incomplete type
ipfwadm.c:1701: dereferencing pointer to incomplete type
ipfwadm.c:1702: dereferencing pointer to incomplete type
ipfwadm.c:1709: dereferencing pointer to incomplete type
ipfwadm.c:1711: dereferencing pointer to incomplete type
ipfwadm.c:1712: dereferencing pointer to incomplete type
ipfwadm.c:1713: dereferencing pointer to incomplete type
ipfwadm.c:1716: dereferencing pointer to incomplete type
ipfwadm.c:1722: dereferencing pointer to incomplete type
make: *** [ipfwadm] Error 1




Trying to build 'diald':

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
/usr/include/linux/in.h:114: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:140: warning: this is the location of the
previous definition
/usr/include/linux/in.h:115: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the
previous definition
/usr/include/linux/in.h:116: warning: `INADDR_MAX_LOCAL_GROUP' redefined

/usr/include/netinet/in.h:143: 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:204: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:24: conflicting types for `htonl'
/usr/include/netinet/in.h:206: 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





------------------------------

From: mist <[EMAIL PROTECTED]>
Subject: Re: How do i configure named properly?
Date: Tue, 5 Jan 1999 19:37:17 +0000
Reply-To: mist <{$mist$}@misthaven.demon.co.uk>

Roger@localhost.? scribed to us that -

I wrote -
>>I was going to send a copy to you, but your antispam measures prevent
>>it.  ITT Juergen was quite right to mail the files rather than post them
>>to the group, the contents being of reasonable length when unzipped, and
>>the gzipped file being, technically, a binary.   8-)
>
>Doesn't that depend on their size? We are, I think, speaking of
>text files. I have seen long postings of log files, for example,
>which haven't elicited any complaint.
>
Text files. Okay.  .gz files I would say are binaries, even if they only
contain text.  Effectively in this case it comprised three files,
complete with directory structure, obviously the most effecient way of
putting them across is in an archive.  It depends, I suppose.  I
personally would rather see a long text post than a binary of *any* kind
coming to a newsgroup like this (mail is a different matter.)  Start
relaxing the rules and soon it could be "But it's only a *small*
program", etc, etc..

>Alternatively, couldn't the files be put on a web site and a URL
>provided?
>
As soon as my linux (named) setup works to my satisfaction I'll be
sticking all the details on my web site.

>One of the problems with email is that the contents are not
>subject to peer review and possible simplification and/or
>correction.

Quite true. AAPOI, I've rec'd a few different emails with basically
conflicting advice....
-- 
Mist.
http://www.misthaven.demon.co.uk/prof/
Short FAQ on Demon and HTML.

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to