public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [2.5.7-dj2] Compile Error
@ 2002-03-28 19:01 Andrey Klochko
  2002-03-28 20:07 ` Sebastian Roth
  0 siblings, 1 reply; 7+ messages in thread
From: Andrey Klochko @ 2002-03-28 19:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: xsebbi

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

>Hi there,
>
>make bzImage says:
>make[1]: Entering directory `/usr/src/linux-2.5-dj/kernel'
>make all_targets
>make[2]: Entering directory `/usr/src/linux-2.5-dj/kernel'
>gcc -D__KERNEL__ -I/usr/src/linux-2.5-dj/include -Wall 
>-Wstrict-prototypes -Wno-
>trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
>-pipe -mpref
>erred-stack-boundary=2 -march=i686 -malign-functions=4    
>-DKBUILD_BASENAME=acct
>  -c -o acct.o acct.c
>acct.c:235: parse error before `do'
>acct.c:378: parse error before `do'
>acct.c:384: parse error before `&'
>acct.c:386: warning: type defaults to `int' in declaration of 
>`do_acct_process'
>acct.c:386: warning: parameter names (without types) in function 
>declaration
>acct.c:386: conflicting types for `do_acct_process'
>acct.c:297: previous declaration of `do_acct_process'
>acct.c:386: warning: data definition has no type or storage class
>acct.c:387: warning: type defaults to `int' in declaration of `fput'
>acct.c:387: warning: parameter names (without types) in function 
>declaration
>acct.c:387: conflicting types for `fput'
>/usr/src/linux-2.5-dj/include/linux/file.h:36: previous declaration of 
>`fput'
>acct.c:387: warning: data definition has no type or storage class
>acct.c:388: parse error before `}'
>make[2]: *** [acct.o] Error 1
>make[2]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
>make[1]: *** [first_rule] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
>make: *** [_dir_kernel] Error 2
>
>just for information.
>
>		Sebastian

Try attached patch

Andrey



[-- Attachment #2: kernel_Makefile.diff --]
[-- Type: text/plain, Size: 693 bytes --]

--- 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)

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [2.5.7-dj2] Compile Error
@ 2002-03-28 11:17 Sebastian Roth
  2002-03-28 12:41 ` Adam Kropelin
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Roth @ 2002-03-28 11:17 UTC (permalink / raw)
  To: linux-kernel

Hi there,

make bzImage says:
make[1]: Entering directory `/usr/src/linux-2.5-dj/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.5-dj/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.5-dj/include -Wall 
-Wstrict-prototypes -Wno-
trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpref
erred-stack-boundary=2 -march=i686 -malign-functions=4    
-DKBUILD_BASENAME=acct
  -c -o acct.o acct.c
acct.c:235: parse error before `do'
acct.c:378: parse error before `do'
acct.c:384: parse error before `&'
acct.c:386: warning: type defaults to `int' in declaration of 
`do_acct_process'
acct.c:386: warning: parameter names (without types) in function 
declaration
acct.c:386: conflicting types for `do_acct_process'
acct.c:297: previous declaration of `do_acct_process'
acct.c:386: warning: data definition has no type or storage class
acct.c:387: warning: type defaults to `int' in declaration of `fput'
acct.c:387: warning: parameter names (without types) in function 
declaration
acct.c:387: conflicting types for `fput'
/usr/src/linux-2.5-dj/include/linux/file.h:36: previous declaration of 
`fput'
acct.c:387: warning: data definition has no type or storage class
acct.c:388: parse error before `}'
make[2]: *** [acct.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5-dj/kernel'
make: *** [_dir_kernel] Error 2

just for information.

		Sebastian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-03-29  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-28 19:01 [2.5.7-dj2] Compile Error Andrey Klochko
2002-03-28 20:07 ` Sebastian Roth
  -- strict thread matches above, loose matches on Subject: below --
2002-03-28 11:17 Sebastian Roth
2002-03-28 12:41 ` Adam Kropelin
2002-03-28 17:53   ` Bob Miller
2002-03-28 19:03     ` Dave Jones
2002-03-29  2:01       ` Adam Kropelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox