Re: Fw: Compile problems with 2.5.7

Bob Miller
2002-03-29T15:55:25Z

Grega,

The easiest thing to do to fix your problem is to edit kernel/Makefile
and remove acct.o. The patch below (suppied by Andrey Klochko)
will work.

--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17

--- linux-2.5/kernel/Makefile.orig Thu Mar 28 13:50:52 2002
+++ linux-2.5/kernel/Makefile Thu Mar 28 13:24:12 2002
@@ -14,13 +14,13 @@

obj-y = sched.o dma.o fork.o exec_domain.o panic.o printk.o \
module.o exit.o itimer.o info.o time.o softirq.o resource.o \
- sysctl.o acct.o capability.o ptrace.o timer.o user.o \
+ sysctl.o capability.o ptrace.o timer.o user.o \
signal.o sys.o kmod.o context.o futex.o kthread.o

obj-$(CONFIG_UID16) += uid16.o
obj-$(CONFIG_MODULES) += ksyms.o
obj-$(CONFIG_PM) += pm.o
-obj-$(CONFIG_CONFIG_BSD_PROCESS_ACCT) += acct.o
+obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
obj-$(CONFIG_IKCONFIG) += configs.o

ifneq ($(CONFIG_IA64),y)