linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.39 make modules_install error (netfilter)
@ 2002-10-01  6:25 Corporal Pisang
  2002-10-01  6:40 ` Bjoern A. Zeeb
  0 siblings, 1 reply; 3+ messages in thread
From: Corporal Pisang @ 2002-10-01  6:25 UTC (permalink / raw)
  To: linux-kernel, coreteam, netfilter-devel

Hi,

Final hurdle for me to get 2.5.39 compiled, 

This is the error on make modules_install

if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.39; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.39/kernel/net/ipv4/netfilter/ipt_owner.o
depmod:         next_thread
depmod:         find_task_by_pid
depmod: *** Unresolved symbols in /lib/modules/2.5.39/kernel/net/ipv6/netfilter/ip6t_owner.o
depmod:         next_thread
depmod:         find_task_by_pid

Regards,

-Ubaida-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.39 make modules_install error (netfilter)
  2002-10-01  6:25 2.5.39 make modules_install error (netfilter) Corporal Pisang
@ 2002-10-01  6:40 ` Bjoern A. Zeeb
  2002-10-02  9:21   ` Corporal Pisang
  0 siblings, 1 reply; 3+ messages in thread
From: Bjoern A. Zeeb @ 2002-10-01  6:40 UTC (permalink / raw)
  To: Corporal Pisang; +Cc: linux-kernel, coreteam, netfilter-devel, patch

On Tue, 1 Oct 2002, Corporal Pisang wrote:

Hi,

> Final hurdle for me to get 2.5.39 compiled,
>
> This is the error on make modules_install
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.39; fi
> depmod: *** Unresolved symbols in /lib/modules/2.5.39/kernel/net/ipv4/netfilter/ipt_owner.o
> depmod:         next_thread
> depmod:         find_task_by_pid
> depmod: *** Unresolved symbols in /lib/modules/2.5.39/kernel/net/ipv6/netfilter/ip6t_owner.o
> depmod:         next_thread
> depmod:         find_task_by_pid

think someone already posted at least parts of this one.

--- linux-20020930-175132/kernel/pid.c.orig	Mon Sep 30 19:13:24 2002
+++ linux-20020930-175132/kernel/pid.c	Mon Sep 30 21:13:30 2002
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/module.h>

 #define PIDHASH_SIZE 4096
 #define pid_hashfn(nr) ((nr >> 8) ^ nr) & (PIDHASH_SIZE - 1)
@@ -275,3 +276,5 @@
 		attach_pid(current, i, 0);
 	}
 }
+
+EXPORT_SYMBOL(find_task_by_pid);
--- linux-20020930-175132/kernel/Makefile.orig	Mon Sep 30 19:41:03 2002
+++ linux-20020930-175132/kernel/Makefile	Mon Sep 30 20:38:38 2002
@@ -3,7 +3,8 @@
 #

 export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o \
-	      printk.o platform.o suspend.o dma.o module.o cpufreq.o
+	      printk.o platform.o suspend.o dma.o module.o cpufreq.o pid.o \
+	      exit.o

 obj-y     = sched.o fork.o exec_domain.o panic.o printk.o \
 	    module.o exit.o itimer.o time.o softirq.o resource.o \
--- linux-20020930-175132/kernel/exit.c.orig	Mon Sep 30 20:37:53 2002
+++ linux-20020930-175132/kernel/exit.c	Mon Sep 30 21:13:15 2002
@@ -911,3 +911,5 @@
 }

 #endif
+
+EXPORT_SYMBOL(next_thread);

-- 
Greetings
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.39 make modules_install error (netfilter)
  2002-10-01  6:40 ` Bjoern A. Zeeb
@ 2002-10-02  9:21   ` Corporal Pisang
  0 siblings, 0 replies; 3+ messages in thread
From: Corporal Pisang @ 2002-10-02  9:21 UTC (permalink / raw)
  To: Bjoern A. Zeeb; +Cc: linux-kernel

On Tuesday 01 October 2002 2:40 pm, you were telling me that:
> think someone already posted at least parts of this one.
>
> --- linux-20020930-175132/kernel/pid.c.orig	Mon Sep 30 19:13:24 2002
> +++ linux-20020930-175132/kernel/pid.c	Mon Sep 30 21:13:30 2002
> @@ -23,6 +23,7 @@


yeap .. the patch works

thanks

-- 
-----------------------
-Ubaida-

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-02  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01  6:25 2.5.39 make modules_install error (netfilter) Corporal Pisang
2002-10-01  6:40 ` Bjoern A. Zeeb
2002-10-02  9:21   ` Corporal Pisang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).