[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem including <asm/timex.h> (linux-kernel-headers 2.6.17)

Am Donnerstag 21 September 2006 20:09 schrieb Martin Kittel:
> In file included from /usr/include/asm-x86_64/vsyscall.h:4,
>                  from /usr/include/asm/vsyscall.h:8,
>                  from /usr/include/asm-x86_64/timex.h:11,
>                  from /usr/include/asm/timex.h:8,
>                  from RTESys_MicroTime.c:76:
> /usr/include/linux/seqlock.h:76: error: expected '=', ',', ';\
> ', 'asm' or '__attribute__' before 'unsigned'
> /usr/include/linux/seqlock.h:91: error: expected '=', ',', ';\
> ', 'asm' or '__attribute__' before 'int'

This comes from the __always_inline that is not defined. To define it, include 
Kernel headers tend to not include all headers for the things they use, you 
magically have to find the right combination yourself.

The other errors probably have similar causes.


Attachment: pgpNRFHdbMbtX.pgp
Description: PGP signature

Reply to: