Hi all,
I am trying to compile the diald package and am running into problems. I
have included the output of what make depend and make does. I am running a
heavily updated Redhat 5.1 system with 2.2.2 kernel. If someone could point
out the problem I'd appreciate it very much. If you need more info about my
system I can get it.....just don't know exactly where this problem is coming
from so don't know what to include. Anyway....this is what happens.
bash# make depend
cc -E -M *.c > .depend
In file included from diald.h:45,
from buffer.c:13:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: 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:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from dev.c:17:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from diald.c:28:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from filter.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from firewall.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
firewall.c:51: warning: `#ifdef' argument starts with a digit
firewall.c:58: warning: `#ifdef' argument starts with a digit
firewall.c:547: warning: `#ifdef' argument starts with a digit
firewall.c:579: warning: `#ifdef' argument starts with a digit
firewall.c:598: warning: `#ifdef' argument starts with a digit
In file included from diald.h:45,
from fsm.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from lock.c:7:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from modem.c:28:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from options.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from parse.c:10:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from ppp.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
ppp.c:11: warning: `#ifdef' argument starts with a digit
In file included from diald.h:45,
from proxy.c:11:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from proxyarp.c:23:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from route.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from slip.c:9:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
In file included from diald.h:45,
from timer.c:10:
/usr/include/linux/in.h:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
cc -Wall -Wtraditional -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wc
onversion -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:126: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:115: warning: this is the location of the previous
definition
/usr/include/linux/in.h:132: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:121: warning: this is the location of the previous
definition
/usr/include/linux/in.h:138: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:127: warning: this is the location of the previous
definition
/usr/include/linux/in.h:143: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:132: warning: this is the location of the previous
definition
/usr/include/linux/in.h:147: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:135: warning: this is the location of the previous
definition
/usr/include/linux/in.h:148: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:136: warning: this is the location of the previous
definition
/usr/include/linux/in.h:151: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:139: warning: this is the location of the previous
definition
/usr/include/linux/in.h:154: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous
definition
/usr/include/linux/in.h:157: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous
definition
/usr/include/linux/in.h:163: warning: `INADDR_LOOPBACK' redefined
/usr/include/netinet/in.h:149: warning: this is the location of the previous
definition
/usr/include/linux/in.h:167: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:153: warning: this is the location of the previous
definition
/usr/include/linux/in.h:168: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:154: warning: this is the location of the previous
definition
/usr/include/linux/in.h:169: warning: `INADDR_ALLRTRS_GROUP' redefined
/usr/include/netinet/in.h:155: warning: this is the location of the previous
definition
/usr/include/linux/in.h:170: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:156: warning: this is the location of the previous
definition
bash# make
/usr/include/linux/byteorder/swab.h: In function `__fswab16':
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:45,
from /usr/include/linux/tcp.h:21,
from diald.h:39,
from diald.c:28:
/usr/include/linux/byteorder/swab.h:101: warning: passing arg 1 of
`___arch__swab16' with different width due to prototype
/usr/include/linux/byteorder/swab.h: In function `__swab16p':
/usr/include/linux/byteorder/swab.h:105: warning: passing arg 1 of
`__fswab16' with different width due to prototype
/usr/include/linux/byteorder/generic.h: At top level:
In file included from /usr/include/linux/byteorder/little_endian.h:54,
from /usr/include/asm/byteorder.h:45,
from /usr/include/linux/tcp.h:21,
from diald.h:39,
from diald.c:28:
/usr/include/linux/byteorder/generic.h:149: conflicting types for `ntohl'
/usr/include/netinet/in.h:232: previous declaration of `ntohl'
/usr/include/linux/byteorder/generic.h:151: conflicting types for `htonl'
/usr/include/netinet/in.h:234: previous declaration of `htonl'
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:34: previous declaration of `IPPROTO_IP'
/usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP'
/usr/include/netinet/in.h:36: previous declaration of `IPPROTO_ICMP'
/usr/include/linux/in.h:27: conflicting types for `IPPROTO_IGMP'
/usr/include/netinet/in.h:37: previous declaration of `IPPROTO_IGMP'
/usr/include/linux/in.h:28: conflicting types for `IPPROTO_IPIP'
/usr/include/netinet/in.h:38: previous declaration of `IPPROTO_IPIP'
/usr/include/linux/in.h:29: conflicting types for `IPPROTO_TCP'
/usr/include/netinet/in.h:39: previous declaration of `IPPROTO_TCP'
/usr/include/linux/in.h:30: conflicting types for `IPPROTO_EGP'
/usr/include/netinet/in.h:40: previous declaration of `IPPROTO_EGP'
/usr/include/linux/in.h:31: conflicting types for `IPPROTO_PUP'
/usr/include/netinet/in.h:41: previous declaration of `IPPROTO_PUP'
/usr/include/linux/in.h:32: conflicting types for `IPPROTO_UDP'
/usr/include/netinet/in.h:42: previous declaration of `IPPROTO_UDP'
/usr/include/linux/in.h:33: conflicting types for `IPPROTO_IDP'
/usr/include/netinet/in.h:43: previous declaration of `IPPROTO_IDP'
/usr/include/linux/in.h:34: conflicting types for `IPPROTO_RSVP'
/usr/include/netinet/in.h:48: previous declaration of `IPPROTO_RSVP'
/usr/include/linux/in.h:35: conflicting types for `IPPROTO_GRE'
/usr/include/netinet/in.h:49: previous declaration of `IPPROTO_GRE'
/usr/include/linux/in.h:37: conflicting types for `IPPROTO_IPV6'
/usr/include/netinet/in.h:45: previous declaration of `IPPROTO_IPV6'
/usr/include/linux/in.h:39: conflicting types for `IPPROTO_PIM'
/usr/include/netinet/in.h:57: previous declaration of `IPPROTO_PIM'
/usr/include/linux/in.h:41: conflicting types for `IPPROTO_RAW'
/usr/include/netinet/in.h:58: previous declaration of `IPPROTO_RAW'
/usr/include/linux/in.h:43: conflicting types for `IPPROTO_MAX'
/usr/include/netinet/in.h:60: previous declaration of `IPPROTO_MAX'
/usr/include/linux/in.h:47: redefinition of `struct in_addr'
/usr/include/linux/in.h:88: redefinition of `struct ip_mreq'
/usr/include/linux/in.h:94: redefinition of `struct ip_mreqn'
/usr/include/linux/in.h:109: 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:796: previous declaration of `daemon'
diald.h:428: warning: function declaration isn't a prototype
diald.h:429: warning: function declaration isn't a prototype
diald.c: In function `do_config':
diald.c:72: warning: implicit declaration of function `strdup'
diald.c:72: warning: assignment makes pointer from integer without a cast
diald.c:73: warning: assignment makes pointer from integer without a cast
diald.c: At top level:
diald.c:77: warning: return type of `main' is not `int'
diald.c: In function `open_fifo':
diald.c:199: warning: passing arg 3 of `mknod' with different width due to
prototype
diald.c: In function `fifo_read':
diald.c:396: warning: integer constant is unsigned in ANSI C, signed
with -traditional
diald.c:397: warning: integer constant is unsigned in ANSI C, signed
with -traditional
diald.c:400: warning: function `strdup' was previously declared within a
block
diald.c:400: warning: assignment makes pointer from integer without a cast
diald.c:401: warning: assignment makes pointer from integer without a cast
diald.c:404: warning: implicit declaration of function `strncmp'
diald.c:439: warning: function `strdup' was previously declared within a
block
diald.c:439: warning: assignment makes pointer from integer without a cast
diald.c:454: warning: passing arg 3 of `mon_write' as signed due to
prototype
diald.c:467: warning: passing arg 1 of `malloc' as unsigned due to prototype
diald.c: In function `proxy_read':
diald.c:536: warning: passing arg 1 of `buffer_packet' as unsigned due to
prototype
diald.c:550: warning: passing arg 1 of `__fswab16' with different width due
to prototype
diald.c:557: warning: passing arg 3 of `sendto' as unsigned due to prototype
diald.c:564: warning: passing arg 1 of `buffer_packet' as unsigned due to
prototype
diald.c: In function `mon_write':
diald.c:825: warning: passing arg 3 of `write' as unsigned due to prototype
make: *** [diald.o] Error 1
------------------------------------------------------
Another message from Jer Wiebe
Find me at...
email: [EMAIL PROTECTED]
ICQ: 4945359