[patch] 2.4.0-test9-pre8 quota

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Oct 02 2000 - 01:02:57 EST


Compiling with quota is broken.

init/main.o: In function `start_kernel':
init/main.o(.text.init+0xb26): undefined reference to `dquot_init_hash'
arch/i386/kernel/kernel.o: In function `sys_call_table':
arch/i386/kernel/kernel.o(.data+0x2e8): undefined reference to `sys_quotactl'
kernel/kernel.o(.data+0xc74): undefined reference to `nr_dquots'
kernel/kernel.o(.data+0xca0): undefined reference to `max_dquots'
fs/fs.o: In function `sync_dev':
fs/fs.o(.text+0x2d1e): undefined reference to `sync_dquots'
fs/fs.o: In function `fsync_dev':
fs/fs.o(.text+0x2d74): undefined reference to `sync_dquots'
fs/fs.o: In function `do_umount':
fs/fs.o(.text+0x7ccb): undefined reference to `quota_off'
fs/fs.o: In function `remove_dquot_ref':
fs/fs.o(.text+0x1769b): undefined reference to `remove_inode_dquot_ref'
fs/fs.o(.text+0x176db): undefined reference to `remove_inode_dquot_ref'
fs/fs.o(.text+0x17710): undefined reference to `remove_inode_dquot_ref'
fs/fs.o(.text+0x17726): undefined reference to `put_dquot_list'
drivers/char/char.o: In function `go_sync':
drivers/char/char.o(.text+0x10465): undefined reference to `quota_off'

Amazing how much damaage one bad character can cause.

Index: 0-test9-pre8.1/fs/Makefile
--- 0-test9-pre8.1/fs/Makefile Mon, 02 Oct 2000 15:28:44 +1100 kaos (linux-2.4/i/b/36_Makefile 1.1.1.5 644)
+++ 0-test9-pre8.1(w)/fs/Makefile Mon, 02 Oct 2000 16:59:12 +1100 kaos (linux-2.4/i/b/36_Makefile 1.1.1.5 644)
@@ -17,7 +17,7 @@
                filesystems.o
 
 ifeq ($(CONFIG_QUOTA),y)
-obj=ADy += dquot.o
+obj-y += dquot.o
 else
 obj-y += noquot.o
 endif

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



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:09 EST