[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [arm-gnu] undeclare SEGMENT_SIZE error during linux kernel compilation
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] undeclare SEGMENT_SIZE error during linux kernel compilation
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Thu, 7 Oct 2004 14:57:13 +0100
On Thursday 07 October 2004 06:57, Pradip Singh wrote:
> Hi all,
>
> I am trying to build the linux kernel 2.6.6 after aplying the
> patch-2.6.6-arm2 for arm target.
>
> I am getting the following compilation error .
>
> fs/binfmt_aout.c : In function 'load_aout_binary':
> fs/binfmt_aout.c :307 error: 'SEGMENT_SIZE' undeclared (first use in this
> function) fs/binfmt_aout.c :307 error: (Each undeclared identifier is
> reported only once) fs/binfmt_aout.c :307 error: error for each function it
> appears in.
This looks like a kernel bug, although it's hard to tell without more
information.
If you think it is a gcc bug, we need a self-contained testcase so that we can
reproduce the problem.
A self-contained testcase usually includes a description of why you think gcc
is wrong (ie. what the correct behaviour is), which version of gcc you are
using, the exact commandline used to invoke gcc, and preprocessed source
files.
Also note that while we will attempt to address problems with the toolchains
we provide, CodeSourcery has no obligation to provide free support for gcc.
This list is not the correct place for general gcc questions, or for problems
with toolchains obtained from third parties.
Paul
|