2.2.18pre* CONFIG_AGP=Y compile problem

From: Nicholas N. (nucke@mail.sitek.net)
Date: Tue Sep 12 2000 - 07:16:32 EST


Hello !

There is error during "make bzImage" 2.2.18pre(3,4,5) with CONFIG_AGP=Y.
I have it on both Slackware 7.0 and 7.1.
Error message follows.

make[1]: Leaving directory `/mnt/Avol02/usr/src/linux-2.2.17/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux-2.2.17/include -E -C -P
-I/usr/src/linux-2.2.17/include -imacros
/usr/src/linux-2.2.17/include/asm-i386/page_offset.h -Ui386
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /usr/src/linux-2.2.17/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
\
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.o drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a
drivers/pnp/pnp.a drivers/video/video.a \
        /usr/src/linux-2.2.17/arch/i386/lib/lib.a
/usr/src/linux-2.2.17/lib/lib.a /usr/src/linux-2.2.17/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
init/main.o: In function `do_basic_setup':
init/main.o(.text.init+0xe02): undefined reference to `agp_initialize'
init/main.o(.data.init+0x144): undefined reference to `agp_setup'
make: *** [vmlinux] Error 1

Setting CONFIG_AGP=M solves the problem, i.e. compilation finishes successfully.

----------------
Good luck!
Nicholas L. Nigay

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:17 EST