public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] 2.4.0test13-pre3 apm.o unresolved symbols
@ 2000-12-18  0:30 Barry K. Nathan
  2000-12-18  0:37 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Barry K. Nathan @ 2000-12-18  0:30 UTC (permalink / raw)
  To: linux-kernel

When I try "modprobe apm" I get these errors:

/lib/modules/2.4.0-test13-pre3/kernel/arch/i386/kernel/apm.o: unresolved
symbol pm_send_all
/lib/modules/2.4.0-test13-pre3/kernel/arch/i386/kernel/apm.o: unresolved
symbol pm_active

This is my first time building APM as a module, so I don't know when the
error was first introduced...

-Barry K. Nathan <barryn@pobox.com>

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

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

* Re: [BUG] 2.4.0test13-pre3 apm.o unresolved symbols
  2000-12-18  0:30 [BUG] 2.4.0test13-pre3 apm.o unresolved symbols Barry K. Nathan
@ 2000-12-18  0:37 ` Alan Cox
  2000-12-18  4:15   ` [PATCH] " Barry K. Nathan
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2000-12-18  0:37 UTC (permalink / raw)
  To: barryn; +Cc: linux-kernel

> /lib/modules/2.4.0-test13-pre3/kernel/arch/i386/kernel/apm.o: unresolved
> symbol pm_active
> 
> This is my first time building APM as a module, so I don't know when the
> error was first introduced...

13pre in the Makefile redo

pm.o should be listed as a symbol exporting object in kernel/Makefile

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

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

* [PATCH] 2.4.0test13-pre3 apm.o unresolved symbols
  2000-12-18  0:37 ` Alan Cox
@ 2000-12-18  4:15   ` Barry K. Nathan
  0 siblings, 0 replies; 3+ messages in thread
From: Barry K. Nathan @ 2000-12-18  4:15 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, torvalds

(Linus Torvalds added to the cc list because there's now a patch to fix
the problem.)

Alan Cox wrote:
> pm.o should be listed as a symbol exporting object in kernel/Makefile

Ok, here's a patch that does this. Tested for both the in-kernel and
module cases.

-Barry K. Nathan <barryn@pobox.com>

diff -ruN linux-2.4.0test13pre3/kernel/Makefile linux-2.4.0test13pre3bkn/kernel/Makefile
--- linux-2.4.0test13pre3/kernel/Makefile	Sun Dec 17 14:17:47 2000
+++ linux-2.4.0test13pre3bkn/kernel/Makefile	Sun Dec 17 17:55:11 2000
@@ -9,7 +9,7 @@
 
 O_TARGET := kernel.o
 
-export-objs = signal.o sys.o kmod.o context.o ksyms.o
+export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.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 \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-12-18  4:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-18  0:30 [BUG] 2.4.0test13-pre3 apm.o unresolved symbols Barry K. Nathan
2000-12-18  0:37 ` Alan Cox
2000-12-18  4:15   ` [PATCH] " Barry K. Nathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox