linux-2.4.9-ac15 and -ac16 compile error

Zakhar Kirpichenko (zakhar@mirotel.net)
Fri, 28 Sep 2001 12:00:33 +0300 (EEST)


Hello there.

I've got a problem compiling linux-2.4.9-ac15 and -ac16. When I'm
trying to compile APM support as module, I get this during depmod section
of 'make modules_install' (and when start 'depmod' manually):

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.9-z6; fi
depmod: *** Unresolved symbols in
/lib/modules/2.4.9-z6/kernel/arch/i386/kernel/apm.o
depmod: __sysrq_unlock_table
depmod: __sysrq_get_key_op
depmod: __sysrq_put_key_op
depmod: __sysrq_lock_table

Also I've got a problem compiling APM into the kernel:

ld -m elf_i386 -T /usr/src/linux-2.4.9-ac16/arch/i386/vmlinux.lds -e stext

[bla-bla-bla]

/usr/src/linux-2.4.9-z6/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
arch/i386/kernel/kernel.o: In function `apm':
arch/i386/kernel/kernel.o(.text+0xbf8a): undefined reference to `__sysrq_lock_table'
arch/i386/kernel/kernel.o(.text+0xbf91): undefined reference to `__sysrq_get_key_op'
arch/i386/kernel/kernel.o(.text+0xbfa4): undefined reference to `__sysrq_put_key_op'
arch/i386/kernel/kernel.o(.text+0xbfac): undefined reference to `__sysrq_unlock_table'
make: *** [vmlinux] Error 1

It was okay before -ac15.

gcc version report is: gcc version 2.95.3 20010315 (release).

Any ideas?

-- 
Zakhar Kirpichenko,
ZAK-UANIC

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