lkml.org 
[lkml]   [1996]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject1.3.78 compile error
Date
From
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.

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.018 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site