On Mon, 6 Feb 2006, Diego Cabrero wrote:
There is a problem with compiling xfree86 4.5.0 which is making me crazy. It
gives me this error:
xkmout.c: In function `xkmPutCARD16':
xkmout.c:57: error: `CARD16' undeclared (first use in this function)
xkmout.c:57: error: (Each undeclared identifier is reported only once
xkmout.c:57: error: for each function it appears in.)
xkmout.c:57: error: parse error before "tmp"
xkmout.c:59: error: `tmp' undeclared (first use in this function)
xkmout.c: In function `xkmPutCARD32':
xkmout.c:66: error: `CARD32' undeclared (first use in this function)
xkmout.c:66: error: parse error before "tmp"
xkmout.c:68: error: `tmp' undeclared (first use in this function)
xkmout.c: In function `xkmPutCountedBytes':
xkmout.c:96: warning: implicit declaration of function `XkbPaddedSize'
xkmout.c: At top level:
xkmout.c:129: error: parse error before "xkmSectionInfo"
xkmout.c: In function `SizeXKMVirtualMods':
xkmout.c:138: error: `result' undeclared (first use in this function)
xkmout.c:156: error: `info' undeclared (first use in this function)
xkmout.c:161: error: `toc' undeclared (first use in this function)
xkmout.c:163: warning: implicit declaration of function `SIZEOF'
xkmout.c:163: error: `xkmSectionInfo' undeclared (first use in this function)
...
...
xkmout.c: At top level:
xkmout.c:1187: error: parse error before "xkmSectionInfo"
xkmout.c: In function `GetXKMLayoutTOC':
xkmout.c:1193: error: `result' undeclared (first use in this function)
xkmout.c:1193: error: `info' undeclared (first use in this function)
xkmout.c:1193: error: `toc_rtrn' undeclared (first use in this function)
xkmout.c: At top level:
xkmout.c:1213: error: parse error before "xkmSectionInfo"
xkmout.c: In function `GetXKMKeymapTOC':
xkmout.c:1219: error: `result' undeclared (first use in this function)
xkmout.c:1219: error: `info' undeclared (first use in this function)
xkmout.c:1219: error: `toc_rtrn' undeclared (first use in this function)
xkmout.c: At top level:
xkmout.c:1241: error: parse error before "xkmSectionInfo"
xkmout.c: In function `GetXKMGeometryTOC':
xkmout.c:1247: error: `result' undeclared (first use in this function)
xkmout.c:1247: error: `toc_rtrn' undeclared (first use in this function)
xkmout.c: At top level:
xkmout.c:1256: error: parse error before "xkmSectionInfo"
xkmout.c: In function `WriteXKMFile':
xkmout.c:1262: error: `num_toc' undeclared (first use in this function)
xkmout.c:1263: error: `toc' undeclared (first use in this function)
xkmout.c:1263: error: `xkmSectionInfo' undeclared (first use in this
function)
xkmout.c:1263: error: `file' undeclared (first use in this function)
xkmout.c:1267: error: `result' undeclared (first use in this function)
xkmout.c:1270: error: `info' undeclared (first use in this function)
xkmout.c: In function `XkbWriteXKMFile':
xkmout.c:1312: error: `xkmFileInfo' undeclared (first use in this function)
xkmout.c:1312: error: parse error before "fileInfo"
xkmout.c:1313: error: `xkmSectionInfo' undeclared (first use in this
function)
xkmout.c:1318: error: parse error before "xkmSectionInfo"
xkmout.c:1352: error: `toc' undeclared (first use in this function)
xkmout.c:1376: error: `fileInfo' undeclared (first use in this function)
make[4]: *** [xkmout.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [World] Error 2
make: *** [World] Error 2
My first guess was that some file was missing. But i've found on the internet
it might be a kernel configuration problem...
It looks to me that XKMformat.h isn't being #include'd properly, which would
seem to imply that something you're doing is #define'ing _XKMFORMAT_H_.
Marc.
+----------------------------------+-----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Academic Information and | fax: 1-780-492-1729 |
| Communications Technologies | email: tsi@xxxxxxxxxxx |
| 352 General Services Building +-----------------------------------+
| University of Alberta | |
| Edmonton, Alberta | Standard disclaimers apply |
| T6G 2H1 | |
| CANADA | |
+----------------------------------+-----------------------------------+
XFree86 developer and VP. ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86