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

Andrew Morton (akpm@digeo.com)
Sat, 14 Jun 2003 15:23:10 -0700


Pete Clements <clem@clem.clem-digital.net> 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'

--- 25/net/core/flow.c~flow-warning-fix 2003-06-14 15:13:37.000000000 -0700
+++ 25-akpm/net/core/flow.c 2003-06-14 15:14:04.000000000 -0700
@@ -18,6 +18,7 @@
#include <linux/percpu.h>
#include <linux/bitops.h>
#include <linux/notifier.h>
+#include <linux/cpu.h>
#include <net/flow.h>
#include <asm/atomic.h>
#include <asm/semaphore.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/