Trying to compile diald on SparcStation2, running RedHat 5.1 but with
kernel 2.0.35.
Also: What is the login for the faq at rex.isdn.net?
output from make depend:
cc -E -M *.c > .depend
In file included from diald.h:45,
from buffer.c:13:
/usr/include/linux/in.h:73: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:102: warning: this is the location of the
previous
den
/usr/include/linux/in.h:79: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:108: warning: this is the location of the
previous
den
/usr/include/linux/in.h:85: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:114: warning: this is the location of the
previous
den
/usr/include/linux/in.h:90: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:119: warning: this is the location of the
previous
den
/usr/include/linux/in.h:94: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:122: warning: this is the location of the
previous
den
/usr/include/linux/in.h:95: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:123: warning: this is the location of the
previous
den
/usr/include/linux/in.h:98: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:126: warning: this is the location of the
previous
den
/usr/include/linux/in.h:101: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:128: warning: this is the location of the
previous
den
/usr/include/linux/in.h:104: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:130: warning: this is the location of the
previous
den
/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
den
/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
den
/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
den
In file included from diald.h:45,
from bufio.c:9:
/usr/include/linux/in.h:73: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:102: warning: this is the location of the
previous
den
and so on......
output from make:
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
den
/usr/include/linux/in.h:79: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:108: warning: this is the location of the
previous
den
/usr/include/linux/in.h:85: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:114: warning: this is the location of the
previous
den
/usr/include/linux/in.h:90: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:119: warning: this is the location of the
previous
den
/usr/include/linux/in.h:94: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:122: warning: this is the location of the
previous
den
/usr/include/linux/in.h:95: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:123: warning: this is the location of the
previous
den
/usr/include/linux/in.h:98: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:126: warning: this is the location of the
previous
den
/usr/include/linux/in.h:101: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:128: warning: this is the location of the
previous
den
/usr/include/linux/in.h:104: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:130: warning: this is the location of the
previous
den
/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
den
/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
den
/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
den
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: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:25: warning: data definition has no type or
storage
cls
/usr/include/linux/tcp.h:26: parse error before `seq'
/usr/include/linux/tcp.h:26: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:26: warning: data definition has no type or
storage
cls
/usr/include/linux/tcp.h:27: parse error before `ack_seq'
/usr/include/linux/tcp.h:27: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:27: warning: data definition has no type or
storage
cls
/usr/include/linux/tcp.h:39: parse error before `doff'
/usr/include/linux/tcp.h:51: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:51: warning: data definition has no type or
storage
cls
/usr/include/linux/tcp.h:52: parse error before `check'
/usr/include/linux/tcp.h:52: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:52: warning: data definition has no type or
storage
cls
/usr/include/linux/tcp.h:53: parse error before `urg_ptr'
/usr/include/linux/tcp.h:53: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/tcp.h:53: warning: data definition has no type or
storage
cls
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: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:67: warning: data definition has no type or
storage cs
/usr/include/linux/icmp.h:68: parse error before `checksum'
/usr/include/linux/icmp.h:68: warning: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:68: warning: data definition has no type or
storage cs
/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: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:72: warning: data definition has no type or
storage cs
/usr/include/linux/icmp.h:73: warning: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:73: warning: data definition has no type or
storage cs
/usr/include/linux/icmp.h:74: parse error before `gateway'
/usr/include/linux/icmp.h:74: warning: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:74: warning: data definition has no type or
storage cs
/usr/include/linux/icmp.h:75: warning: type defaults to `int' in
declaration
of'
/usr/include/linux/icmp.h:75: warning: data definition has no type or
storage cs
/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: type defaults to `int' in
declaration
of `'
/usr/include/linux/ip.h:35: warning: data definition has no type or
storage
clas
/usr/include/linux/ip.h:40: parse error before `overflow'
/usr/include/linux/ip.h:45: warning: type defaults to `int' in
declaration
of `'
/usr/include/linux/ip.h:45: warning: data definition has no type or
storage
clas
/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:95: parse error before `__u8'
/usr/include/linux/ip.h:95: warning: no semicolon at end of struct or
union
/usr/include/linux/ip.h:100: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:100: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:101: parse error before `tot_len'
/usr/include/linux/ip.h:101: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:101: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:102: parse error before `id'
/usr/include/linux/ip.h:102: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:102: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:103: parse error before `frag_off'
/usr/include/linux/ip.h:103: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:103: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:104: parse error before `ttl'
/usr/include/linux/ip.h:104: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:104: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:105: parse error before `protocol'
/usr/include/linux/ip.h:105: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:105: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:106: parse error before `check'
/usr/include/linux/ip.h:106: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:106: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:107: parse error before `saddr'
/usr/include/linux/ip.h:107: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:107: warning: data definition has no type or
storage
cls
/usr/include/linux/ip.h:108: parse error before `daddr'
/usr/include/linux/ip.h:108: warning: type defaults to `int' in
declaration
of '
/usr/include/linux/ip.h:108: warning: data definition has no type or
storage
cls
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'
diald.c:77: warning: return type of `main' is not `int'
make: *** [diald.o] Error 1
Cheers
Simon
--
/* Simon Burley */
/* Double Negative Limited 77 Shaftesbury Avenue London W1V 8HQ */
/* Tel: +44 (0) 171 534 4400 ext 417 Fax: +44 (0) 171 534 4452 */
/* Make it idiot proof and someone will make a better idiot */
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]