undefined reference error compiling kernel with modules

undefined reference error compiling kernel with modules

Post by Jim Smal » Tue, 10 Dec 1996 04:00:00



ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o
init/main.o init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/scsi/scsi.a drivers/sound/sound.a \
        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a -o vmlinux
fs/fs.o: In function `sys_setup':
fs/fs.o(.text+0xd7f7): undefined reference to `init_minix_fs'
make: *** [vmlinux] Error 1

I have kernel 2.0.25, and the modules 2.0.0 (I just installed it
last night in /usr/src/modules-2.0.0

Could someone tell me what I missed?

--
http://www.nethole.com

 
 
 

1. kernel can't compile, undefined references errors!

mm, reposting this as I think it didn't get thru somehow..

I've got problems trying to compile my kernel (slackware 1.2.13, and
have tried 1.3.0 as well)... when it tries to link all the '.o' files
(or whatever it is it's trying to do at the end) it comes out with a
plethora of 'undefinted reference to blah_blah_blah' errors, and fails
to put anything nice together for me at all..

any advice will be MUCHLY appreciated! cheers

2. Horsepower required for cable gateway etc.

3. compiling kernel and undefined references errors

4. FAQ: SCO UNIX newsgroups and mailing li

5. Kernel Compile Errors: 'undefined reference to' (HELP!)

6. Linux as bootpserver?

7. undefined reference to `pw_crypt',undefined reference to `spw_unpack'

8. upgrading to new kernel - shot self in both feet

9. Disk Crash - Cannot compile - error: undefined reference to `_main

10. Error compiling kdelibs-2.0.*: "undefined reference to mainParse in kio/.libs/libksycoca.so"

11. 2.5.19 compile error (undefined reference to `idescsi_init')

12. ?compile error: lyx-1.1.4-fix3 rpm, undefined references