kbd-1.12 types.h parse error

Laurent Hugé huge.root at free.fr
Sat Apr 2 03:35:49 PST 2005


Hi,

I'm building the LFS-6.0, but I'm stucked at the build of kbd during
chapter 6.
The result I've got is :
,----[  ]
| for i in src openvt po data; do make -C $i all || exit 1; done
| make[1]: Entering directory `/sources/kbd-1.12/src'
| gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-DDATADIR=\"/usr/share/kbd\" dumpkeys.c
| ...
| gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-DDATADIR=\"/usr/share/kbd\" setpalette.c
| gcc -s  setpalette.o getfd.o   -o setpalette
| make[1]: Leaving directory `/sources/kbd-1.12/src'
| make[1]: Entering directory `/sources/kbd-1.12/openvt'
| gcc -O2 -Wall -ansi   -c -o openvt.o openvt.c
| 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"
| make[1]: *** [getfd.o] Error 1
| make[1]: Leaving directory `/sources/kbd-1.12/openvt'
| make: *** [all] Error 1
`----
I've tried to find an error in those files (kd.h, getfd.c and
types.h) ; I've googled for a clue ;  I've strace the chroot and its
children ; I've redone the complete LFS build ; but I can't find a
solution.
I precise that I've compilation optimization, so probably the "parser"
is not well built, but I don't know what source to rebuild (and I'd
like better not to rebuild all again).

Does anyone have seen such a thing ? Is there away to get through ?
-- 
Laurent Hugé.
GPG fingerprint = 0C2C E683 528B 481F AA27  30A1 B55E 6B89 FA7F 44C0



More information about the lfs-support mailing list