2.3.13pre7 linking errors...

Michael H. Warfield (mhw@wittsend.com)
Fri, 6 Aug 1999 09:50:31 -0400 (EDT)


All...

I've been seeing this for a while... Several of the file system
modules seem broken and unable to link into the kernel. My latest attempt
was with 2.3.13pre7 on a Pentium uniprocessor build.

] gcc -E -C -P -I/u/src/linux-2.3.13/include -imacros /u/src/linux-2.3.13/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
] ld -m elf_i386 -T /u/src/linux-2.3.13/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/parport/parport.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/video/video.a \
] /u/src/linux-2.3.13/arch/i386/lib/lib.a /u/src/linux-2.3.13/lib/lib.a /u/src/linux-2.3.13/arch/i386/lib/lib.a \
] --end-group \
] -o vmlinux
] fs/filesystems.a(fat.o): In function `fat_file_write':
] fat.o(.text+0x27b9): undefined reference to `update_vm_cache'
] fs/filesystems.a(smbfs.o): In function `smb_get_dircache':
] smbfs.o(.text+0x3575): undefined reference to `get_cached_page'
] smbfs.o(.text+0x35cb): undefined reference to `get_cached_page'
] fs/filesystems.a(smbfs.o): In function `smb_add_to_cache':
] smbfs.o(.text+0x3786): undefined reference to `get_cached_page'
] fs/filesystems.a(ntfs.o): In function `ntfs_getuser_update_vm':
] ntfs.o(.text+0x4a): undefined reference to `update_vm_cache'
] make: *** [vmlinux] Error 1

Looks like "fat", "smbfs", and "ntfs" are broken.

I can live for a while without fat, and ntfs but smbfs is a problem
(I will follow up with Tridge on smbfs, though).

Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/