Error while installing X11R6.8.2
Nupur
channu.j at gmail.com
Mon Oct 3 23:17:26 PDT 2005
Dear All,
I am working on Redhat distribution-7.0, in which i've upgraded
binutils, gcc, glibc, module-init tools. The kernel i am using is
2.6.12.
As my system was using 2.2 kernel and i wanted to upgrade it to 2.6, i
had to upgrade the above mentioned packages. Now, I want to upgrade
the GUI interface as well, which is not working in 2.6.12.
I started with XFree86 and got few errors. Then from mailing list
suggestions, I have downloaded the source files from x.org and now
after running command :
make world > world.log > 2>&1
I am getting the following errors in world.log:
xmlconfig.c:34:19: expat.h: No such file or directory
xmlconfig.c:139: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:139: error: parse error before '*' token
xmlconfig.c: In function `bsearchStr':
xmlconfig.c:141: warning: ISO C forbids nested functions
xmlconfig.c:141: error: syntax error before '*' token
xmlconfig.c:142: error: `found' undeclared (first use in this function)
xmlconfig.c:142: error: (Each undeclared identifier is reported only once
xmlconfig.c:142: error: for each function it appears in.)
xmlconfig.c:142: error: `name' undeclared (first use in this function)
xmlconfig.c:142: error: `elems' undeclared (first use in this function)
xmlconfig.c:142: error: `count' undeclared (first use in this function)
xmlconfig.c:142: error: `XML_Char' undeclared (first use in this function)
xmlconfig.c:142: error: parse error before ')' token
xmlconfig.c: At top level:
xmlconfig.c:158: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:158: error: parse error before '*' token
xmlconfig.c: In function `strToI':
xmlconfig.c:159: error: `base' undeclared (first use in this function)
xmlconfig.c:163: warning: ISO C forbids nested functions
xmlconfig.c:163: error: syntax error before '*' token
xmlconfig.c:167: error: `string' undeclared (first use in this function)
xmlconfig.c:202: error: `tail' undeclared (first use in this function)
xmlconfig.c:202: error: `start' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:218: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:218: error: parse error before '*' token
xmlconfig.c: In function `strToF':
xmlconfig.c:221: warning: ISO C forbids nested functions
xmlconfig.c:221: error: syntax error before '*' token
xmlconfig.c:224: error: `string' undeclared (first use in this function)
xmlconfig.c:232: error: `numStart' undeclared (first use in this function)
xmlconfig.c:247: error: `tail' undeclared (first use in this function)
xmlconfig.c:247: error: `start' undeclared (first use in this function)
xmlconfig.c:252: warning: ISO C forbids nested functions
xmlconfig.c:252: error: syntax error before '*' token
xmlconfig.c:253: error: `expTail' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:281: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:281: error: parse error before '*' token
xmlconfig.c: In function `parseValue':
xmlconfig.c:282: warning: ISO C forbids nested functions
xmlconfig.c:282: error: syntax error before '*' token
xmlconfig.c:284: error: `string' undeclared (first use in this function)
xmlconfig.c:284: warning: left-hand operand of comma expression has no effect
xmlconfig.c:285: error: `type' undeclared (first use in this function)
xmlconfig.c:288: error: `v' undeclared (first use in this function)
xmlconfig.c:289: error: `tail' undeclared (first use in this function)
xmlconfig.c:310: warning: left-hand operand of comma expression has no effect
xmlconfig.c: At top level:
xmlconfig.c:318: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:318: error: parse error before '*' token
xmlconfig.c: In function `parseRanges':
xmlconfig.c:319: error: `XML_Char' undeclared (first use in this function)
xmlconfig.c:319: error: `cp' undeclared (first use in this function)
xmlconfig.c:319: error: `range' undeclared (first use in this function)
xmlconfig.c:319: warning: left-hand operand of comma expression has no effect
xmlconfig.c:320: warning: ISO C90 forbids mixed declarations and code
xmlconfig.c:323: error: `string' undeclared (first use in this function)
xmlconfig.c:338: error: `end' undeclared (first use in this function)
xmlconfig.c:338: error: `sep' undeclared (first use in this function)
xmlconfig.c:338: warning: left-hand operand of comma expression has no effect
xmlconfig.c:346: error: `info' undeclared (first use in this function)
xmlconfig.c:409:29: warning: ISO C does not permit named variadic macros
xmlconfig.c:421:27: warning: ISO C does not permit named variadic macros
xmlconfig.c:435:27: warning: ISO C does not permit named variadic macros
xmlconfig.c: At top level:
xmlconfig.c:447: error: parse error before "XML_Parser"
xmlconfig.c:447: warning: no semicolon at end of struct or union
xmlconfig.c:455: error: parse error before '}' token
xmlconfig.c:455: warning: ISO C does not allow extra `;' outside of a function
xmlconfig.c:461: error: parse error before '*' token
xmlconfig.c:461: warning: type defaults to `int' in declaration of
`OptInfoElems'
xmlconfig.c:462: warning: initialization from incompatible pointer type
xmlconfig.c:462: warning: initialization from incompatible pointer type
xmlconfig.c:462: warning: initialization from incompatible pointer type
xmlconfig.c:462: warning: initialization from incompatible pointer type
xmlconfig.c:463: warning: initialization from incompatible pointer type
xmlconfig.c:463: error: ISO C forbids data definition with no type or
storage class
xmlconfig.c:470: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:470: error: parse error before '*' token
xmlconfig.c: In function `parseEnumAttr':
xmlconfig.c:472: warning: ISO C forbids nested functions
xmlconfig.c:472: error: syntax error before '*' token
xmlconfig.c:474: error: `data' undeclared (first use in this function)
xmlconfig.c:475: error: `attr' undeclared (first use in this function)
xmlconfig.c:476: error: `value' undeclared (first use in this function)
xmlconfig.c:477: error: `text' undeclared (first use in this function)
xmlconfig.c:478: warning: implicit declaration of function
`XML_GetCurrentLineNumber'
xmlconfig.c:478: warning: implicit declaration of function
`XML_GetCurrentColumnNumber'
xmlconfig.c: At top level:
xmlconfig.c:493: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:493: error: parse error before '*' token
xmlconfig.c: In function `parseDescAttr':
xmlconfig.c:495: warning: ISO C forbids nested functions
xmlconfig.c:495: error: syntax error before '*' token
xmlconfig.c:496: error: `attr' undeclared (first use in this function)
xmlconfig.c:497: error: `lang' undeclared (first use in this function)
xmlconfig.c:498: error: `text' undeclared (first use in this function)
xmlconfig.c:499: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:506: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:506: error: parse error before '*' token
xmlconfig.c: In function `parseOptInfoAttr':
xmlconfig.c:508: warning: ISO C forbids nested functions
xmlconfig.c:508: error: syntax error before '*' token
xmlconfig.c:509: warning: ISO C forbids nested functions
xmlconfig.c:509: error: syntax error before '*' token
xmlconfig.c:511: error: `data' undeclared (first use in this function)
xmlconfig.c:513: error: `attr' undeclared (first use in this function)
xmlconfig.c:514: error: `optAttr' undeclared (first use in this function)
xmlconfig.c:517: error: `attrVal' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:569: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:569: error: parse error before '*' token
xmlconfig.c: In function `optInfoStartElem':
xmlconfig.c:571: error: `userData' undeclared (first use in this function)
xmlconfig.c:572: error: `name' undeclared (first use in this function)
xmlconfig.c:575: error: dereferencing pointer to incomplete type
xmlconfig.c:576: error: dereferencing pointer to incomplete type
xmlconfig.c:576: error: dereferencing pointer to incomplete type
xmlconfig.c:576: error: dereferencing pointer to incomplete type
xmlconfig.c:577: error: `attr' undeclared (first use in this function)
xmlconfig.c:578: error: dereferencing pointer to incomplete type
xmlconfig.c:578: error: dereferencing pointer to incomplete type
xmlconfig.c:578: error: dereferencing pointer to incomplete type
xmlconfig.c:579: error: dereferencing pointer to incomplete type
xmlconfig.c:582: error: dereferencing pointer to incomplete type
xmlconfig.c:583: error: dereferencing pointer to incomplete type
xmlconfig.c:583: error: dereferencing pointer to incomplete type
xmlconfig.c:583: error: dereferencing pointer to incomplete type
xmlconfig.c:584: error: dereferencing pointer to incomplete type
xmlconfig.c:585: error: dereferencing pointer to incomplete type
xmlconfig.c:585: error: dereferencing pointer to incomplete type
xmlconfig.c:585: error: dereferencing pointer to incomplete type
xmlconfig.c:587: error: dereferencing pointer to incomplete type
xmlconfig.c:587: error: dereferencing pointer to incomplete type
xmlconfig.c:587: error: dereferencing pointer to incomplete type
xmlconfig.c:588: error: dereferencing pointer to incomplete type
xmlconfig.c:591: error: dereferencing pointer to incomplete type
xmlconfig.c:591: error: dereferencing pointer to incomplete type
xmlconfig.c:592: error: dereferencing pointer to incomplete type
xmlconfig.c:592: error: dereferencing pointer to incomplete type
xmlconfig.c:592: error: dereferencing pointer to incomplete type
xmlconfig.c:593: error: dereferencing pointer to incomplete type
xmlconfig.c:594: error: dereferencing pointer to incomplete type
xmlconfig.c:594: error: dereferencing pointer to incomplete type
xmlconfig.c:594: error: dereferencing pointer to incomplete type
xmlconfig.c:595: error: dereferencing pointer to incomplete type
xmlconfig.c:599: error: dereferencing pointer to incomplete type
xmlconfig.c:600: error: dereferencing pointer to incomplete type
xmlconfig.c:600: error: dereferencing pointer to incomplete type
xmlconfig.c:600: error: dereferencing pointer to incomplete type
xmlconfig.c:601: error: dereferencing pointer to incomplete type
xmlconfig.c:602: error: dereferencing pointer to incomplete type
xmlconfig.c:602: error: dereferencing pointer to incomplete type
xmlconfig.c:602: error: dereferencing pointer to incomplete type
xmlconfig.c:603: error: dereferencing pointer to incomplete type
xmlconfig.c:604: error: dereferencing pointer to incomplete type
xmlconfig.c:604: error: dereferencing pointer to incomplete type
xmlconfig.c:604: error: dereferencing pointer to incomplete type
xmlconfig.c:605: error: dereferencing pointer to incomplete type
xmlconfig.c:609: error: dereferencing pointer to incomplete type
xmlconfig.c:609: error: dereferencing pointer to incomplete type
xmlconfig.c:610: error: dereferencing pointer to incomplete type
xmlconfig.c:610: error: dereferencing pointer to incomplete type
xmlconfig.c:610: error: dereferencing pointer to incomplete type
xmlconfig.c:611: error: dereferencing pointer to incomplete type
xmlconfig.c:612: error: dereferencing pointer to incomplete type
xmlconfig.c:612: error: dereferencing pointer to incomplete type
xmlconfig.c:612: error: dereferencing pointer to incomplete type
xmlconfig.c:613: error: dereferencing pointer to incomplete type
xmlconfig.c:617: error: dereferencing pointer to incomplete type
xmlconfig.c:617: error: dereferencing pointer to incomplete type
xmlconfig.c:617: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:622: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:622: error: parse error before '*' token
xmlconfig.c: In function `optInfoEndElem':
xmlconfig.c:623: error: `userData' undeclared (first use in this function)
xmlconfig.c:624: error: `name' undeclared (first use in this function)
xmlconfig.c:627: error: dereferencing pointer to incomplete type
xmlconfig.c:630: error: dereferencing pointer to incomplete type
xmlconfig.c:633: error: dereferencing pointer to incomplete type
xmlconfig.c:636: error: dereferencing pointer to incomplete type
xmlconfig.c:639: error: dereferencing pointer to incomplete type
xmlconfig.c: In function `driParseOptionInfo':
xmlconfig.c:648: error: `XML_Parser' undeclared (first use in this function)
xmlconfig.c:648: error: parse error before "p"
xmlconfig.c:650: error: storage size of 'userData' isn't known
xmlconfig.c:670: error: `p' undeclared (first use in this function)
xmlconfig.c:670: warning: implicit declaration of function `XML_ParserCreate'
xmlconfig.c:671: warning: implicit declaration of function
`XML_SetElementHandler'
xmlconfig.c:672: warning: implicit declaration of function `XML_SetUserData'
xmlconfig.c:684: warning: implicit declaration of function `XML_Parse'
xmlconfig.c:686: error: dereferencing pointer to incomplete type
xmlconfig.c:686: error: dereferencing pointer to incomplete type
xmlconfig.c:686: error: dereferencing pointer to incomplete type
xmlconfig.c:686: warning: implicit declaration of function `XML_ErrorString'
xmlconfig.c:686: warning: implicit declaration of function `XML_GetErrorCode'
xmlconfig.c:686: warning: format argument is not a pointer (arg 6)
xmlconfig.c:688: warning: implicit declaration of function `XML_ParserFree'
xmlconfig.c:650: warning: unused variable `userData'
xmlconfig.c: At top level:
xmlconfig.c:705: error: parse error before "XML_Parser"
xmlconfig.c:705: warning: no semicolon at end of struct or union
xmlconfig.c:714: error: conflicting types for 'inOption'
xmlconfig.c:452: error: previous declaration of 'inOption' was here
xmlconfig.c:715: error: parse error before '}' token
xmlconfig.c:715: warning: ISO C does not allow extra `;' outside of a function
xmlconfig.c:721: error: parse error before '*' token
xmlconfig.c:721: warning: type defaults to `int' in declaration of
`OptConfElems'
xmlconfig.c:722: warning: initialization from incompatible pointer type
xmlconfig.c:722: warning: initialization from incompatible pointer type
xmlconfig.c:722: warning: initialization from incompatible pointer type
xmlconfig.c:723: warning: initialization from incompatible pointer type
xmlconfig.c:723: error: ISO C forbids data definition with no type or
storage class
xmlconfig.c:726: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:726: error: parse error before '*' token
xmlconfig.c: In function `parseDeviceAttr':
xmlconfig.c:728: warning: ISO C forbids nested functions
xmlconfig.c:728: error: syntax error before '*' token
xmlconfig.c:729: error: `attr' undeclared (first use in this function)
xmlconfig.c:730: error: `driver' undeclared (first use in this function)
xmlconfig.c:731: error: `screen' undeclared (first use in this function)
xmlconfig.c:732: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:746: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:746: error: parse error before '*' token
xmlconfig.c: In function `parseAppAttr':
xmlconfig.c:748: warning: ISO C forbids nested functions
xmlconfig.c:748: error: syntax error before '*' token
xmlconfig.c:749: error: `attr' undeclared (first use in this function)
xmlconfig.c:750: error: `name' undeclared (first use in this function)
xmlconfig.c:751: error: `exec' undeclared (first use in this function)
xmlconfig.c:752: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:759: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:759: error: parse error before '*' token
xmlconfig.c: In function `parseOptConfAttr':
xmlconfig.c:761: warning: ISO C forbids nested functions
xmlconfig.c:761: error: syntax error before '*' token
xmlconfig.c:762: error: `attr' undeclared (first use in this function)
xmlconfig.c:763: error: `name' undeclared (first use in this function)
xmlconfig.c:764: error: `value' undeclared (first use in this function)
xmlconfig.c:765: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:784: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:784: error: parse error before '*' token
xmlconfig.c: In function `optConfStartElem':
xmlconfig.c:786: error: `userData' undeclared (first use in this function)
xmlconfig.c:787: error: `name' undeclared (first use in this function)
xmlconfig.c:790: error: dereferencing pointer to incomplete type
xmlconfig.c:791: error: dereferencing pointer to incomplete type
xmlconfig.c:791: error: dereferencing pointer to incomplete type
xmlconfig.c:791: error: dereferencing pointer to incomplete type
xmlconfig.c:792: error: `attr' undeclared (first use in this function)
xmlconfig.c:793: error: dereferencing pointer to incomplete type
xmlconfig.c:793: error: dereferencing pointer to incomplete type
xmlconfig.c:793: error: dereferencing pointer to incomplete type
xmlconfig.c:794: error: dereferencing pointer to incomplete type
xmlconfig.c:797: error: dereferencing pointer to incomplete type
xmlconfig.c:798: error: dereferencing pointer to incomplete type
xmlconfig.c:798: error: dereferencing pointer to incomplete type
xmlconfig.c:798: error: dereferencing pointer to incomplete type
xmlconfig.c:799: error: dereferencing pointer to incomplete type
xmlconfig.c:800: error: dereferencing pointer to incomplete type
xmlconfig.c:800: error: dereferencing pointer to incomplete type
xmlconfig.c:800: error: dereferencing pointer to incomplete type
xmlconfig.c:801: error: dereferencing pointer to incomplete type
xmlconfig.c:802: error: dereferencing pointer to incomplete type
xmlconfig.c:802: error: dereferencing pointer to incomplete type
xmlconfig.c:806: error: dereferencing pointer to incomplete type
xmlconfig.c:807: error: dereferencing pointer to incomplete type
xmlconfig.c:807: error: dereferencing pointer to incomplete type
xmlconfig.c:807: error: dereferencing pointer to incomplete type
xmlconfig.c:808: error: dereferencing pointer to incomplete type
xmlconfig.c:809: error: dereferencing pointer to incomplete type
xmlconfig.c:809: error: dereferencing pointer to incomplete type
xmlconfig.c:809: error: dereferencing pointer to incomplete type
xmlconfig.c:810: error: dereferencing pointer to incomplete type
xmlconfig.c:811: error: dereferencing pointer to incomplete type
xmlconfig.c:811: error: dereferencing pointer to incomplete type
xmlconfig.c:815: error: dereferencing pointer to incomplete type
xmlconfig.c:816: error: dereferencing pointer to incomplete type
xmlconfig.c:816: error: dereferencing pointer to incomplete type
xmlconfig.c:816: error: dereferencing pointer to incomplete type
xmlconfig.c:817: error: dereferencing pointer to incomplete type
xmlconfig.c:818: error: dereferencing pointer to incomplete type
xmlconfig.c:818: error: dereferencing pointer to incomplete type
xmlconfig.c:818: error: dereferencing pointer to incomplete type
xmlconfig.c:819: error: dereferencing pointer to incomplete type
xmlconfig.c:820: error: dereferencing pointer to incomplete type
xmlconfig.c:820: error: dereferencing pointer to incomplete type
xmlconfig.c:824: error: dereferencing pointer to incomplete type
xmlconfig.c:824: error: dereferencing pointer to incomplete type
xmlconfig.c:824: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:829: warning: type defaults to `int' in declaration of `XML_Char'
xmlconfig.c:829: error: parse error before '*' token
xmlconfig.c: In function `optConfEndElem':
xmlconfig.c:830: error: `userData' undeclared (first use in this function)
xmlconfig.c:831: error: `name' undeclared (first use in this function)
xmlconfig.c:834: error: dereferencing pointer to incomplete type
xmlconfig.c:837: error: dereferencing pointer to incomplete type
xmlconfig.c:837: error: dereferencing pointer to incomplete type
xmlconfig.c:838: error: dereferencing pointer to incomplete type
xmlconfig.c:841: error: dereferencing pointer to incomplete type
xmlconfig.c:841: error: dereferencing pointer to incomplete type
xmlconfig.c:842: error: dereferencing pointer to incomplete type
xmlconfig.c:845: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:866: error: parse error before "p"
xmlconfig.c: In function `parseOneConfigFile':
xmlconfig.c:868: warning: implicit declaration of function `XML_GetUserData'
xmlconfig.c:868: error: `p' undeclared (first use in this function)
xmlconfig.c:872: error: dereferencing pointer to incomplete type
xmlconfig.c:874: error: dereferencing pointer to incomplete type
xmlconfig.c:880: warning: implicit declaration of function `XML_GetBuffer'
xmlconfig.c:880: warning: initialization makes pointer from integer
without a cast
xmlconfig.c:888: error: dereferencing pointer to incomplete type
xmlconfig.c:891: warning: implicit declaration of function `XML_ParseBuffer'
xmlconfig.c:893: error: dereferencing pointer to incomplete type
xmlconfig.c:893: error: dereferencing pointer to incomplete type
xmlconfig.c:893: error: dereferencing pointer to incomplete type
xmlconfig.c: In function `driParseConfigFiles':
xmlconfig.c:909: error: storage size of 'userData' isn't known
xmlconfig.c:930: error: `XML_Parser' undeclared (first use in this function)
xmlconfig.c:930: error: parse error before "p"
xmlconfig.c:934: error: `p' undeclared (first use in this function)
xmlconfig.c:909: warning: unused variable `userData'
make[6]: *** [xmlconfig.o] Error 1
make[6]: Leaving directory
`/home/nupur/downloads/x.org/build-xc/lib/GL/mesa/drivers/dri/common'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/home/nupur/downloads/x.org/build-xc/lib/GL/mesa/drivers/dri'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/nupur/downloads/x.org/build-xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nupur/downloads/x.org/build-xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/nupur/downloads/x.org/build-xc'
make: *** [World] Error 2
I looked for expat.h and the file is there itself. So, why the file
cannot be found? I am not changing the hosts.def file. Do i have to
make any configuration changes there?
Can you please help?
Thanks and Regards,
Nupur
More information about the xorg
mailing list