2002-02-13 02:41:10

by Robert Jameson

[permalink] [raw]
Subject: unresolved symbols ipt_owner.o with 2.4.18-pre9 with mjc patch

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

--
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]


Attachments:
(No filename) (189.00 B)

2002-02-13 03:24:38

by William Lee Irwin III

[permalink] [raw]
Subject: Re: unresolved symbols ipt_owner.o with 2.4.18-pre9 with mjc patch

On Tue, Feb 12, 2002 at 09:40:16PM -0500, Robert Jameson wrote:
> 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?

--- linux-virgin/kernel/fork.c Tue Jan 29 18:28:26 2002
+++ linux-wli/kernel/fork.c Tue Jan 29 22:42:27 2002
@@ -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 */

2002-02-13 04:11:29

by Robert Jameson

[permalink] [raw]
Subject: Re: unresolved symbols ipt_owner.o with 2.4.18-pre9 with mjc patch

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'



On Tue, 12 Feb 2002 19:24:02 -0800
William Lee Irwin III <[email protected]> wrote:

> On Tue, Feb 12, 2002 at 09:40:16PM -0500, Robert Jameson wrote:
> > 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?
>
> --- linux-virgin/kernel/fork.c Tue Jan 29 18:28:26 2002
> +++ linux-wli/kernel/fork.c Tue Jan 29 22:42:27 2002
> @@ -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/


--
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]


Attachments:
(No filename) (189.00 B)

2002-02-13 04:35:04

by William Lee Irwin III

[permalink] [raw]
Subject: Re: unresolved symbols ipt_owner.o with 2.4.18-pre9 with mjc patch

On Tue, Feb 12, 2002 at 11:11:10PM -0500, Robert Jameson wrote:
> 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:

--- linux-virgin/kernel/Makefile
+++ linux-wli/kernel/Makefile
@@ -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 \