Skip to contentSkip to conversation

2.4.0test13-pre3 apm.o unresolved symbols

BUG New Barry K. Nathan 2 participants 3 messages Dec 18, 2000

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>

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

#1 lore raw
Quoted 5 lines

/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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw

PATCH 1/1 2.4.0test13-pre3 apm.o unresolved symbols

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

Quoted 1 line · Alan Cox

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 <[email protected]>

kernel/Makefile +1 -1
diff -ruN linux-2.4.0test13pre3/kernel/Makefile linux-2.4.0test13pre3bkn/kernel/Makefile
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/