Skip to contentSkip to conversation

unresolved symbols ipt_owner.o with 2.4.18-pre9 with mjc patch

DISCUSSION Robert Jameson 2 participants 4 messages Feb 13, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Is there a fix for the unresolved symbols with ipt_owner.o with 2.4.18-pre9 + mjc's patch, i don't know if this is 2.4.18-pre9 specific or if its a mjc error, either way, heres the error,

/lib/modules/2.4.18-pre9-mjc/kernel/net/ipv4/netfilter/ipt_owner.o:
unresolved symbol pidhash_bits/lib/modules/2.4.18-pre9-mjc/kernel/net/ipv4/netfilter/ipt_ow ner.o: unresolved symbol pidhash_size/lib/modules/2.4.18-pre9-mjc/kernel/net/ipv4/netfilter/ipt_ow ner.o: insmod /lib/modules/2.4.18-pre9-mjc/kernel/net/ipv4/netfilter/ipt_owner.o failed/lib/modules/2.4.18-pre9-mjc/kernel/net/ipv4/netfilter/ipt_owner.o:
insmod ipt_owner failed

on a side note, i also noticed the following,

depmod -a

depmod: *** Unresolved symbols in /lib/modules/2.4.18-pre9-mjc/kernel/drivers/net/acenic.o depmod: *** Unresolved symbols in /lib/modules/2.4.18-pre9-mjc/kernel/drivers/net/wan/comx.o

Signature · 4 lines
Robert Jameson                  http://rj.open-net.org
C2 Village at Wexford Hwy 278,  Tel: +1 (843) 757 9428
Hilton Head Isl, SC             Cel: +1 (843) 298 0957 
US, 29928.                      mailto:[email protected]
#1 lore raw
Quoted 3 lines · Robert Jameson

Is there a fix for the unresolved symbols with ipt_owner.o with 2.4.18-pre9 + mjc's patch, i don't know if this is 2.4.18-pre9 specific or if its a mjc error, either way, heres the error,

Does this help?

kernel/fork.c Tue Jan 29 22:42:27 2002 renamed from kernel/fork.c Tue Jan 29 18:28:26 2002 +3 -0
@@ -36,6 +36,9 @@
 unsigned long pidhash_size;
 unsigned long pidhash_bits;
 list_t *pidhash;
+EXPORT_SYMBOL(pidhash);
+EXPORT_SYMBOL(pidhash_bits);
+EXPORT_SYMBOL(pidhash_size);
 
 rwlock_t tasklist_lock __cacheline_aligned = RW_LOCK_UNLOCKED;  /* outer */
 
#2 lore raw

nope, after doing that i get the following.

fork.c:39: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:39:
warning: type defaults to int' in declaration of this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:39:
warning: data definition has no type or storage class fork.c:40: parse error before this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:40: warning: type defaults to int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:40:
warning: data definition has no type or storage class fork.c:41: parse error before this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:41: warning: type defaults to int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'

Quoted 25 lines · On Tue, 12 Feb 2002 19:24:02 -0800 William Lee Irwin III <[email protected]>…
Quoted 3 lines · Robert Jameson

Is there a fix for the unresolved symbols with ipt_owner.o with 2.4.18-pre9 + mjc's patch, i don't know if this is 2.4.18-pre9 specific or if its a mjc error, either way, heres the error,

Does this help?

kernel/fork.c Tue Jan 29 22:42:27 2002 renamed from kernel/fork.c Tue Jan 29 18:28:26 2002 +3 -1
@@ -36,6 +36,9 @@
 unsigned long pidhash_size;
 unsigned long pidhash_bits;
 list_t *pidhash;
+EXPORT_SYMBOL(pidhash);
+EXPORT_SYMBOL(pidhash_bits);
+EXPORT_SYMBOL(pidhash_size);
 
 rwlock_t tasklist_lock __cacheline_aligned = RW_LOCK_UNLOCKED;  /*
 outer */
 
-

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

Signature · 4 lines
Robert Jameson                  http://rj.open-net.org
C2 Village at Wexford Hwy 278,  Tel: +1 (843) 757 9428
Hilton Head Isl, SC             Cel: +1 (843) 298 0957 
US, 29928.                      mailto:[email protected]
#3 lore raw
In reply to Robert Jameson
Quoted 3 lines · Robert Jameson

nope, after doing that i get the following.
fork.c:39: parse error before `this_object_must_be_defined_as_export_objs_in_the_Makefile' fork.c:39:

This is easy too:

kernel/Makefile +1 -1
@@ -9,7 +9,7 @@
 
 O_TARGET := kernel.o
 
-export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o
+export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o fork.o
 
 obj-y     = sched.o dma.o fork.o exec_domain.o panic.o printk.o \
 	     module.o exit.o itimer.o info.o time.o softirq.o resource.o \