Below is a patch that should fix this build breakage.
-- Bob Miller Email: rem@osdl.org Open Source Development Lab Phone: 503.626.2455 Ext. 17
diff -ur linux-2.5.7-dj2-orig/kernel/acct.c linux-2.5.7-dj2/kernel/acct.c --- linux-2.5.7-dj2-orig/kernel/acct.c Thu Mar 28 09:10:42 2002 +++ linux-2.5.7-dj2/kernel/acct.c Thu Mar 28 09:41:04 2002 @@ -44,11 +44,17 @@ */ #include <linux/config.h> +#include <linux/errno.h> +#include <linux/kernel.h> + +#ifdef CONFIG_BSD_PROCESS_ACCT #include <linux/mm.h> #include <linux/slab.h> #include <linux/acct.h> +#include <linux/smp_lock.h> #include <linux/file.h> #include <linux/tty.h> + #include <asm/uaccess.h> /* @@ -389,3 +395,15 @@ spin_unlock(&acct_globals.lock); return 0; } + +#else +/* + * Dummy system call when BSD process accounting is not configured + * into the kernel. + */ + +asmlinkage long sys_acct(const char * filename) +{ + return -ENOSYS; +} +#endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/