lkml.org 
[lkml]   [2009]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: include/asm-generic/int-ll64.h kernel 2.6.31.4
Date
On Tuesday 20 October 2009, Stephan von Krawczynski wrote:
> I lately compiled some app that stumbled across this, and someone smarter than
> me should judge if this is right or wrong:
>
>
> * asm-generic/int-ll64.h
> *
> * Integer declarations for architectures which use "long long"
> * for 64-bit types.
> */
>
> #ifndef _ASM_GENERIC_INT_LL64_H
> #define _ASM_GENERIC_INT_LL64_H
>
> #include <asm/bitsperlong.h>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
> Is it correct to include from linked "asm" instead of asm-generic ?
>
> My link goes to "asm-x86" but for some reason asm-generic/types.h is included
> which ends at int-ll64.h trying to include a not existing bitsperlong.h from
> directory asm-x86.

Hi Stephan,

Most likely you are using the kernel headers in an unsupported way, like
trying to point to $(HOME)/linux-2.6/include for include files when building
an application.

Please see http://kernelnewbies.org/KernelHeaders for how to fix that.

Arnd <><


\
 
 \ /
  Last update: 2009-10-22 16:33    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site