linux-2.4.9-ac15 and -ac16 compile error

Zakhar Kirpichenko (
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 ]; then /sbin/depmod -ae -F 2.4.9-z6; fi
depmod: *** Unresolved symbols in
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/ -e stext


/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,

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at