Messages in this thread Patch in this message | | | Subject | 1.3.78 compile error | Date | Mon, 25 Mar 1996 17:05:17 +0100 (MET) | From | (Thomas König) |
| |
After copying include/linux/posix_types.h over /usr/include/gnu/types.h (as Linus had suggested, and which worked for my libc 4.6.27) I got the following error:
In file included from rarp.c:44: /usr/src/linux/include/linux/if_arp.h:118: `MAX_ADDR_LEN' undeclared here (not in a function) make[3]: *** [rarp.o] Error 1 make[3]: Leaving directory `/usr/src/linux/net/ipv4' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux/net/ipv4' make[1]: *** [sub_dirs] Error 2 make[1]: Leaving directory `/usr/src/linux/net' make: *** [linuxsubdirs] Error 2
Here's a patch.
--- linux/include/linux/if_arp.h.orig Mon Mar 25 17:01:46 1996 +++ linux/include/linux/if_arp.h Mon Mar 25 17:02:01 1996 @@ -22,6 +22,8 @@ #ifndef _LINUX_IF_ARP_H #define _LINUX_IF_ARP_H
+#include <linux/netdevice.h> + /* ARP protocol HARDWARE identifiers. */ #define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */ #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ -- Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet. The joy of engineering is to find a straight line on a double logarithmic diagram.
| |