Re: 2.5.71 fails compile (net/built-in.o)

John Weber (weber@sixbit.org)
Sat, 14 Jun 2003 18:24:08 -0400


Pete Clements wrote:
> FYI:
>
>
> CPP arch/i386/vmlinux.lds.s
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> net/built-in.o: In function `flow_cache_init':
> net/built-in.o(.init.text+0x282): undefined reference to `register_cpu_notifier'
> make: *** [.tmp_vmlinux1] Error 1
>
Just a missing #include in net/core/flow.c

--- flow.old 2003-06-14 18:17:35.000000000 -0400
+++ flow.c 2003-06-14 18:13:03.000000000 -0400
@@ -5,6 +5,7 @@
*/

#include <linux/kernel.h>
+#include <linux/cpu.h>
#include <linux/list.h>
#include <linux/jhash.h>
#include <linux/interrupt.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/