Skip to contentSkip to conversation

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

DISCUSSION John Weber 1 participant 1 message Jun 14, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

John Weber

author
#1 lore raw
Quoted 10 lines · Pete Clements

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
Quoted 4 lines

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.c 2003-06-14 18:13:03.000000000 -0400 renamed from flow.old 2003-06-14 18:17:35.000000000 -0400 +1 -0
@@ -5,6 +5,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/cpu.h>
 #include <linux/list.h>
 #include <linux/jhash.h>
 #include <linux/interrupt.h>