* test10-pre7 compile error in ip_forward.c
@ 2000-10-31 3:26 Decklin Foster
2000-10-31 4:06 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Decklin Foster @ 2000-10-31 3:26 UTC (permalink / raw)
To: linux-kernel
I'm getting this when I try to compile test10-pre7:
make[3]: Entering directory `/home/decklin/src/kernel/linux/net/ipv4'
gcc -D__KERNEL__ -I/home/decklin/src/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o route.o route.c
gcc -D__KERNEL__ -I/home/decklin/src/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o ip_forward.o ip_forward.c
ip_forward.c: In function `ip_forward':
ip_forward.c:139: `NET_RX_BAD' undeclared (first use in this function)
ip_forward.c:139: (Each undeclared identifier is reported only once
ip_forward.c:139: for each function it appears in.)
make[3]: *** [ip_forward.o] Error 1
--
There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There
are no ABSOLUTE STATEMENTS. I'm very probably wrong. -- BSD fortune(6)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: test10-pre7 compile error in ip_forward.c
2000-10-31 3:26 test10-pre7 compile error in ip_forward.c Decklin Foster
@ 2000-10-31 4:06 ` David S. Miller
2000-10-31 6:02 ` Decklin Foster
0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2000-10-31 4:06 UTC (permalink / raw)
To: decklin; +Cc: linux-kernel, torvalds
Sorry. Please try this patch below. Linus, please apply:
--- include/linux/netdevice.h.~1~ Mon Oct 30 17:57:20 2000
+++ include/linux/netdevice.h Mon Oct 30 20:05:38 2000
@@ -55,6 +55,7 @@
#define NET_RX_CN_MOD 2 /* Storm on its way! */
#define NET_RX_CN_HIGH 5 /* The storm is here */
#define NET_RX_DROP -1 /* packet dropped */
+#define NET_RX_BAD -2 /* packet dropped due to kernel error */
#define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: test10-pre7 compile error in ip_forward.c
2000-10-31 4:06 ` David S. Miller
@ 2000-10-31 6:02 ` Decklin Foster
0 siblings, 0 replies; 3+ messages in thread
From: Decklin Foster @ 2000-10-31 6:02 UTC (permalink / raw)
To: linux-kernel
David S. Miller writes:
> Sorry. Please try this patch below. Linus, please apply:
This fixes it -- thanks.
> --- include/linux/netdevice.h.~1~ Mon Oct 30 17:57:20 2000
> +++ include/linux/netdevice.h Mon Oct 30 20:05:38 2000
> @@ -55,6 +55,7 @@
> #define NET_RX_CN_MOD 2 /* Storm on its way! */
> #define NET_RX_CN_HIGH 5 /* The storm is here */
> #define NET_RX_DROP -1 /* packet dropped */
> +#define NET_RX_BAD -2 /* packet dropped due to kernel error */
>
> #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
--
There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There
are no ABSOLUTE STATEMENTS. I'm very probably wrong. -- BSD fortune(6)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-10-31 6:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-31 3:26 test10-pre7 compile error in ip_forward.c Decklin Foster
2000-10-31 4:06 ` David S. Miller
2000-10-31 6:02 ` Decklin Foster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®