Fwd: Re: kbd-1.12 types.h parse error

Ken Moffat ken at kenmoffat.uklinux.net
Sun Apr 3 05:05:14 PDT 2005


On Sun, 3 Apr 2005, Laurent Hugé wrote:

> Ken Moffat nous écrivait :
> >> Hi,
> >>
> >> I'm building the LFS-6.0, but I'm stucked at the build of kbd
> >> during chapter 6.
> >
> >> | gcc -O2 -Wall -ansi   -c -o getfd.o getfd.c
> >> | In file included from /usr/include/linux/kd.h:3,
> >> |from getfd.c:4:
> >> | /usr/include/linux/types.h:143: error: parse error before
> >> | "__le64" /usr/include/linux/types.h:144: error: parse error
> >> | before "__be64"
> >
> > If the earlier headers are like 2.6.11.2, it should be defined just
> > above this in types.h : mine has
> >
> > #ifdef __CHECKER__
> > #define __bitwise __attribute__((bitwise))
> > #else
> > #define __bitwise
> > #endif
> >
> > How do your headers look ?
> Yes, it looks exactly the same.
>

 Hmm, in your original post you talked about compiler optimization.
What optimization flags did you pass to the toolchain (glibc, gcc,
binutils) and did you successfully run the testsuite for each of them ?

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce




More information about the lfs-support mailing list