Click to See Complete Forum and Search --> : Kernel compilation problems


SnakeManII
11-20-2000, 08:42 PM
I'm currently using a 2.2.14 kernel and I'm attempting to compile a 2.3.9 kernel because, supposedly, 2.3+ kernels support 3Com modems, which I just recently bought.

I followed the kernel compilation help file on this site and everything went along fine until I did the 'make bzImage' portion of the compilation. After a lot of processing, it eventually spits out an error message. I don't have the exact words, but from what it said it was dealing with fat.o and therefore the FAT filesystem support. I have it set so that DOS FAT is 'Y', MSDOS FS is 'M', and VFAT FS 'Y'. I tried changing all of these from 'Y' to 'M' in various configurations, yet nothing changed. I'm wondering if this is sort of expected, as it's supposedly a development version, or if it's some problem with conflicts in the config file. Should I just wait till 2.4 comes out?

------------------
Q: I have a problem with Windows, could you help me?
A: Yes, open up the MS-DOS Prompt and type in 'format c:'. Your problems will go away soon.

Luthor
11-20-2000, 08:51 PM
Please run "make bzImage" again and post the output. It would help tremendously...


Also, no need to wait for 2.4 final release, get the latest test - I believe it is 2.4.0-test11 as of this posting. Very stable for me and most others that have been posting their experiences here...


And as always, Have Fun!


------------------
Luthor St. James
(aka [AcK]BillTheCat)

[This message has been edited by Luthor (edited 20 November 2000).]

SnakeManII
11-20-2000, 09:37 PM
This is the portion of the compiler output that I _believe_ is the most important.

make[2]: Leaving directory `/usr/src/linux-2.3.9/arch/i386/math-emu'
make[1]: Leaving directory `/usr/src/linux-2.3.9/arch/i386/math-emu'
gcc -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
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.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sound/sound.a drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a drivers/usb/usb.a arch/i386/math-emu/math.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
fs/filesystems.a(fat.o): In function `fat_file_write':
fat.o(.text+0x26ef): undefined reference to `update_vm_cache'
make: *** [vmlinux] Error 1

------------------
Q: I have a problem with Windows, could you help me?
A: Yes, open up the MS-DOS Prompt and type in 'format c:'. Your problems will go away soon.

Luthor
11-20-2000, 10:33 PM
OK then. This seems to be a known prob with the 2.3.x series. You should try the 2.4.0-test11 instead or if you are REALLY stuck on making 2.3.9 work, try commenting out the 1 line in /usr/src/linux/fs/fat/file.c that references this.

Just open the file and do a search. I don't have that kernel or I would tell you the exact line number as well... All the references say it is near line 434 but I really would consider the 2.4.0 series, it rocks!

/me sounds like a broken record, I know. http://www.linuxnewbie.org/ubb/smile.gif

Hope this is helpful http://www.linuxnewbie.org/ubb/smile.gif


------------------
Luthor St. James
(aka [AcK]BillTheCat)

[This message has been edited by Luthor (edited 20 November 2000).]