[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

building ext3 as a module



When trying to build ext3 as a module, I get the follwing errors
during the kernel link:

/usr/bin/kgcc -D__KERNEL__ -I/home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/include -c -o dummy_sym.o dummy_sym.c 
ld -m elf_i386 -T /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_t ask.o -Map map 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 arch/i386/kdb/kdb.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/video/video.a \
        /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/arch/i386/lib/lib.a /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/lib/lib.a /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/arch/i386/lib/lib.a /home/brian/src/kernel-2.2.19-pre6mvd/linux-2.2.19pre6-kdb-ext3/arch/i386/kdb/kdb.a \
        dummy_sym.o \
        --end-group \
        -o vmlinux
kernel/kernel.o(__ksymtab+0x540): undefined reference to `jfs_prelock_buffer_check'
kernel/kernel.o(__ksymtab+0x548): undefined reference to `jfs_preclean_buffer_check'
fs/fs.o: In function `set_blocksize':
fs/fs.o(.text+0x300e): undefined reference to `jfs_preclean_buffer_check'
fs/fs.o: In function `refile_buffer':
fs/fs.o(.text+0x341f): undefined reference to `journal_remove_checkpoint'
drivers/block/block.a(ll_rw_blk.o): In function `add_request':
ll_rw_blk.o(.text+0x568): undefined reference to `jfs_preclean_buffer_check'
drivers/block/block.a(ll_rw_blk.o): In function `make_request':
ll_rw_blk.o(.text+0x75b): undefined reference to `jfs_prelock_buffer_check'
ll_rw_blk.o(.text+0xced): undefined reference to `jfs_preclean_buffer_check'
make: *** [vmlinux] Error 1

The modularity of jfs is tied to the modularity of ext3 in the config
files so it gets made as a module when ext3 is.  My guess is that jfs
is not really module ready.

Thots?

b.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]