lkml.org 
[lkml]   [2006]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Another compile problem with 2.6.15.5 on AMD64
On 3/2/06, Steffen Weber <email@steffenweber.net> wrote:
> Jesper Juhl wrote:
> > On Thursday 02 March 2006 17:18, Steffen Weber wrote:
> >> I´m getting a compile error with 2.6.15.5 on x86_64 using GCC 3.4.4
> >> (does not seem to be related to the NFS one):
> >>
> >> CC mm/mempolicy.o
> >> mm/mempolicy.c: In function `get_nodes':
> >> mm/mempolicy.c:527: error: `BITS_PER_BYTE' undeclared (first use in
> >> this function)
> >> mm/mempolicy.c:527: error: (Each undeclared identifier is reported only
> >> once
> >> mm/mempolicy.c:527: error: for each function it appears in.)
> >>
> >
> > Try the following (untested patch).
> Thanks for your reply, but this patch does not solve the problem (same
> error message). I´ve appended my .config in case that might help.
>

Hmm, types.h contains the

#define BITS_PER_BYTE 8

that mmpolicy.c needs, so including that header should do the trick... odd..
I'll look at the code a bit more.

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/

\
 
 \ /
  Last update: 2006-03-02 18:38    [W:0.046 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site