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 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
Running Linux Kernel 2.0.34 on RedHat
When I try MAKE DEPEND I get a few hundred lines like this: (example of
MAKE follow this)
/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 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 definition
And when I then do a MAKE I get the following:
cc -Wall -Wtraditional -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wconversion -Wstrict-prototypes -Wnested-externs -Winline
-Waggregate-return -O2 -fomit-frame-pointer -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
What's up?
Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]