[olug] kernel compile errors

Mike McNally mmcnally3 at prodigy.net
Sun Mar 18 08:09:42 UTC 2001

I've been through the make xconfig many times and can't seem to fix
whatever is wrong.  Here's the end of the abort to make bzImage:

make[1]: Leaving directory `/usr/src/kernel-source-2.2.18pre21/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -E -C -P -I/usr/src/linux/include -imacros /usr/src/linux/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
convert: no delegate for this image format (*).
convert: Missing an image file name [No such file or directory].
ld -m elf_i386 -T /usr/src/linux/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/cdrom/cdrom.a drivers/sound/sounddrivers.o drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
ld:/usr/src/linux/arch/i386/vmlinux.lds:1: parse error
make: *** [vmlinux] Error 1

Is the problem in the page_offset.h code?

here's the lines from page_offset.h
#include <linux/config.h>
#ifdef CONFIG_1GB
#define PAGE_OFFSET_RAW 0xC0000000
#elif defined(CONFIG_2GB)
#define PAGE_OFFSET_RAW 0x80000000
#elif defined(CONFIG_3GB)
#define PAGE_OFFSET_RAW 0x40000000

In the config I selected max mem 1G since I couldn't set it any lower.
I certainly don't have anywhere near that size of physical memory... or
are that talking about harddisk space?

Mike McNally		mmcnally3 at prodigy.net

To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net

More information about the OLUG mailing list