linux-2.4.9-ac15 and -ac16 compile error

From: Zakhar Kirpichenko (
Date: Fri Sep 28 2001 - 04:00:33 EST

        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

This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:01:01 EST