I had this problem when I patched my .16 to .16.5.  The patch didn't go
correctly, and you essentially get dual copies of code in your source
files (in some cases, a #include was in the file twice - once at the
beginning, once about halfway through).  I manually edited the offending
source files, compiled, and installed - no problems.  I'm sure there's an
updated RPM somewhere (of course I say this with confidence without
checking).  Good luck!

Merk
[EMAIL PROTECTED]


On Tue, 18 Aug 1998, Randy Hislop wrote:

> 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]
> 



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to