public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bob Miller <rem@osdl.org>
To: Gregor.Fajdiga@guest.arnes.si
Cc: linux-kernel@vger.kernel.org
Subject: Re: Compile problems with 2.5.7
Date: Sat, 23 Mar 2002 08:22:07 -0800	[thread overview]
Message-ID: <20020323082207.A5636@doc.pdx.osdl.net> (raw)
In-Reply-To: <20020323125729.7d8fd3fd.Gregor.Fajdiga@telemach.net>

On Sat, Mar 23, 2002 at 12:57:29PM +0100, Grega Fajdiga wrote:
> Good day,
> 
> I get a compile error when trying to compile above mentioned kernel version.
> The message is:
> 
> acct.c:237: parse error before "do"
> acct.c:380: parse error before "do"
> acct.c:386: parse error before '&' token
> acct.c:388: warning: type defaults to `int' in declaration of `do_acct_process'
> acct.c:388: warning: parameter names (without types) in function declaration
> acct.c:388: conflicting types for `do_acct_process'
> acct.c:299: previous declaration of `do_acct_process'
> acct.c:388: warning: data definition has no type or storage class
> acct.c:389: warning: type defaults to `int' in declaration of `fput'
> acct.c:389: warning: parameter names (without types) in function declaration
> acct.c:389: conflicting types for `fput'
> /usr/src/linux-2.5.5/include/linux/file.h:36: previous declaration of `fput'
> acct.c:389: warning: data definition has no type or storage class
> acct.c:390: parse error before '}' token
> make[2]: *** [acct.o] Error 1
> make[1]: *** [first_rule] Error 2
> make: *** [_dir_kernel] Error 2
> 
> My config-file contents are as follows:
> 
> 
> #
> # Automatically generated by make menuconfig: don't edit
> #
> CONFIG_X86=y
> CONFIG_ISA=y
> # CONFIG_SBUS is not set
> CONFIG_UID16=y
> 
> #
> CONFIG_NET=y
> CONFIG_SYSVIPC=y
> # CONFIG_BSD_PROCESS_ACCT is not set
> CONFIG_SYSCTL=y
> 
> 

Grega,

Things are a little funny.  You have CONFIG_BSD_PROCESS_ACCT not set
but the compile errors you're getting are for code in acct.c that
will only compile if CONFIG_BSD_PROCESS_ACCT is SET.  I suspect that
something is not right with your view.

1. Patch to acct.c didn't work correctly (did you get 2.5.7 by patching
   or a clean tar?).

2. need to do a make mrproper/config/dep/clean/etc...

Could you double check things and let me know.

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

  reply	other threads:[~2002-03-23 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-23 11:57 Compile problems with 2.5.7 Grega Fajdiga
2002-03-23 16:22 ` Bob Miller [this message]
2002-03-23 21:53   ` Grega Fajdiga
     [not found] <006201c1d729$a7fa1520$41448fd5@telemach.net>
2002-03-29 21:56 ` Grega Fajdiga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020323082207.A5636@doc.pdx.osdl.net \
    --to=rem@osdl.org \
    --cc=Gregor.Fajdiga@guest.arnes.si \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox