LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1159|回复: 9

LFS安装XFree86 v4.5.0编译问题

[复制链接]
发表于 2005-11-5 21:46:49 | 显示全部楼层 |阅读模式
我在LFS v6.1.3上编译安装XFree86 v4.5.0
执行:
make WORLDOPTS=-k World > world.log 2>&1

我使用tail -f world.log,从输出来看没有问题
可是我接下来执行:
make install
从输出来看是这条命令【install -c -m 0755 libGL.so.1.2】有问题

说找不到libGL.so.1.2这个文件?

这是怎么为什么?

在编译XFree86 或Xorg上有什么需要特别注意的吗?

PS:我是在VMware v5.0上编译的
 楼主| 发表于 2005-11-6 00:29:08 | 显示全部楼层
太郁闷了,还没人帮我解答这个问题吗?
我今天编译了3遍XFree83,1 遍Xorg,都是同样的地方,同样的问题!

这是怎么回事?
回复 支持 反对

使用道具 举报

发表于 2005-11-6 03:29:07 | 显示全部楼层
你要把具体错误贴出来啊。不然别人怎么知道你具体是什么问题。。

顺便把 host.conf 也贴出来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 09:01:21 | 显示全部楼层
Post by 黯然销魂

顺便把 host.conf 也贴出来。


我按照xfree86提供的BUILD.txt进行编译安装的。
上面只提到了host.def,没有关于host.conf的说明呀?
我按照默认方式,直接在xc/config/cf执行
cp xf86site.def host.def

我看到里面有关于vmware的driver我就没有进行任何改动
回复 支持 反对

使用道具 举报

发表于 2005-11-6 09:17:07 | 显示全部楼层
我说错了,是 host.def。

你看看BLFS是怎么编译的,你再编译一次,如果还有问题,你再把错误贴出来。

因为BLFS说明里边说了如何定义这些东西的。Xorg里边的说明,比较杂乱。

(你都不看BLFS,就来LFS版面砸场。。。打!)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 09:48:26 | 显示全部楼层
新手,不懂规矩,请斑竹原谅!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 11:51:28 | 显示全部楼层

还是有错误

Post by 黯然销魂
我说错了,是 host.def。

你看看BLFS是怎么编译的,你再编译一次,如果还有问题,你再把错误贴出来。

因为BLFS说明里边说了如何定义这些东西的。Xorg里边的说明,比较杂乱。

我的host.def文件如下:
/* Begin XFree86 host.def file */

/* System Related Information.  If you read and configure only one
* section then it should be this one.  The Intel architecture defaults
* are set for a i686 and higher.  Axp is for the Alpha architecture
* and Ppc is for the Power PC.  Note that there have been reports that
* the Ppc optimization line causes segmentation faults during build.
* If that happens, try building without the DefaultGcc2PpcOpt line. */

/* #define DefaultGcc2i386Opt  -O2 -fomit-frame-pointer -march=i686 */
/* #define DefaultGcc2AxpOpt   -O2 -mcpu=ev6 */
/* #define DefaultGcc2PpcOpt   -O2 -mcpu=750 */

/* The following definitions are normally set properly by XFree86's
* scripts. You can uncomment them if you want to make sure. *********/

/* #define HasMTRRSupport      YES  */ /* Enabled in kernel; */
                                       /* see kernel docs */
/* #define HasMMXSupport        NO  */ /* Any i586 or above */
/* #define HasKatmaiSupport     NO  */ /* PIII SSE instructions */
/* #define Has3DNowSupport      NO  */ /* AMD instructions */

#define HasMTRRSupport      YES /* Enabled in kernel; */
#define HasMMXSupport       YES /* Any i586 or above */

/* This setting reduces compile time a little by omitting rarely used
* input devices.  You can find the complete list in
* config/cf/xfree86.cf *********************************************/

#define XInputDrivers                 mouse void

/* VIDEO DRIVERS ****************************************************/

/* If you are sure you only want the drivers for one or a few video
* cards, you can delete the drivers you do not want. ***************/


#define XF86CardDrivers  mga glint nv tga s3 s3virge sis rendition \
                         neomagic i740 tdfx savage \
                         cirrus vmware tseng trident chips apm \
                         GlideDriver fbdev i128 nsc \
                         ati i810 DevelDrivers ark \
                         cyrix siliconmotion \
                         vesa vga \
                         dummy XF86OSCardDrivers XF86ExtraCardDrivers


/* USER AND SYSTEM DEFAULT PATHS *************************************/

/* These settings set the PATH variables used by xdm. See README for */
/* detailed description and modify the following as per your need. ***/

/* #define DefaultSystemPath \
       /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin */
/* #define DefaultUserPath /usr/bin:/bin:/usr/X11R6/bin */

/* FONT SERVER AND LIBRARY SETTINGS **********************************/

/* These settings are the defaults  **********************************/

/* #define BuildFontServer       YES  */ /*For Ghostscript Print Server*/
/* #define SharedLibFont         YES  */
/* #define CompressAllFonts      YES  */
/* #define GzipFontCompression   YES  */

/* These settings ensure we use our libraries ************************/
#define HasFreetype2             YES
#define HasFontconfig            YES
#define HasExpat                 YES
#define HasLibpng                YES
#define HasZlib                  YES

/* The font path can be redefined in the XF86Config file *************/

/*
#define DefaultFontPath          $(FONTDIR)/misc/,$(FONTDIR)/75dpi/,\
$(FONTDIR)/100dpi/,$(FONTDIR)/Type1,$(FONTDIR)/local,\
$(FONTDIR)/TrueType,$(FONTDIR)/CID,$(FONTDIR)/Speedo
*/


/* INTERNATIONAL FONTS.  Change to YES if you need any of them.  These
* are the defaults. **************************************************/

/* #define BuildCyrillicFonts            NO  */
/* #define BuildArabicFonts              NO  */
/* #define BuildISO8859_6Fonts           NO  */
/* #define BuildGreekFonts               NO  */
/* #define BuildISO8859_7Fonts           NO  */
/* #define BuildHebrewFonts              NO  */
/* #define BuildISO8859_8Fonts           NO  */
/* #define BuildKOI8_RFonts              NO  */
/* #define BuildJapaneseFonts            NO  */
/* #define BuildJISX0201Fonts            NO  */
/* #define BuildKoreanFonts              NO  */
/* #define BuildChineseFonts             NO  */

/* DOCUMENTATION SETTINGS ********************************************/

/* These setting are the defaults. ***********************************/

/* #define BuildLinuxDocHtml        NO  */  /* X Docs in Html format */
/* #define BuildLinuxDocPS          NO  */  /* PostScript format */
/* #define BuildAllSpecsDocs        NO  */  /* Various docs */
/* #define BuildHtmlManPages        NO  */

/* GENERAL SETTINGS: You generally want to leave these alone when
* building X on an LFS system ***************************************/

#define GccWarningOptions         -pipe /* Speed up compiles */
#define TermcapLibrary            -lncurses
#define XprtServer                YES /* Needed by realplayer */
#define XnestServer               YES
#define XAppLoadDir               EtcX11Directory/app-defaults
#define VarLibDir                 /var/lib
#define XFree86Devel               NO
#define FSUseSyslog               YES
#define ThreadedX                 YES
#define HasPam                     NO
#define SystemManDirectory        /usr/share/man /*Instead of /usr/man*/
#define HasLibCrypt               YES
#define InstallXinitConfig        YES
#define InstallXdmConfig          YES
#define ForceNormalLib            YES
#define BuildSpecsDocs             NO

/* End XFree86 host.def file */
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 11:54:57 | 显示全部楼层

我安装的是XFree86-4.5.0

按照BLFS手册上说得,执行:
patch -Np1 -i ../XFree86-4.5.0-kernel_headers-1.patch &&
sed -i -e "s@^#include <linux/config.h>@/* & */@" \
    `grep -lr linux/config.h *` &&
( make WORLDOPTS="" World 2>&1 | \
    tee xfree-compile.log && exit $PIPESTATUS )

后有错误,错误信息如下:

xmlconfig.c:35:19: expat.h: No such file or directory
xmlconfig.c:140: error: parse error before '*' token
xmlconfig.c: In function `bsearchStr':
xmlconfig.c:142: error: syntax error before '*' token
xmlconfig.c:143: error: `found' undeclared (first use in this function)
xmlconfig.c:143: error: (Each undeclared identifier is reported only once
xmlconfig.c:143: error: for each function it appears in.)
xmlconfig.c:143: error: `name' undeclared (first use in this function)
xmlconfig.c:143: error: `elems' undeclared (first use in this function)
xmlconfig.c:143: error: `count' undeclared (first use in this function)
xmlconfig.c:143: error: `XML_Char' undeclared (first use in this function)
xmlconfig.c:143: error: parse error before ')' token
xmlconfig.c: At top level:
xmlconfig.c:159: error: parse error before '*' token
xmlconfig.c: In function `strToI':
xmlconfig.c:160: error: `base' undeclared (first use in this function)
xmlconfig.c:164: error: syntax error before '*' token
xmlconfig.c:168: error: `string' undeclared (first use in this function)
xmlconfig.c:203: error: `tail' undeclared (first use in this function)
xmlconfig.c:203: error: `start' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:219: error: parse error before '*' token
xmlconfig.c: In function `strToF':
xmlconfig.c:222: error: syntax error before '*' token
xmlconfig.c:225: error: `string' undeclared (first use in this function)
xmlconfig.c:233: error: `numStart' undeclared (first use in this function)
xmlconfig.c:248: error: `tail' undeclared (first use in this function)
xmlconfig.c:248: error: `start' undeclared (first use in this function)
xmlconfig.c:253: error: syntax error before '*' token
xmlconfig.c:254: error: `expTail' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:282: error: parse error before '*' token
xmlconfig.c: In function `parseValue':
xmlconfig.c:283: error: syntax error before '*' token
xmlconfig.c:285: error: `string' undeclared (first use in this function)
xmlconfig.c:286: error: `type' undeclared (first use in this function)
xmlconfig.c:289: error: `v' undeclared (first use in this function)
xmlconfig.c:290: error: `tail' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:319: error: parse error before '*' token
xmlconfig.c: In function `parseRanges':
xmlconfig.c:320: error: `XML_Char' undeclared (first use in this function)
xmlconfig.c:320: error: `cp' undeclared (first use in this function)
xmlconfig.c:320: error: `range' undeclared (first use in this function)
xmlconfig.c:324: error: `string' undeclared (first use in this function)
xmlconfig.c:339: error: `end' undeclared (first use in this function)
xmlconfig.c:339: error: `sep' undeclared (first use in this function)
xmlconfig.c:347: error: `info' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:448: error: parse error before "XML_Parser"
xmlconfig.c:448: warning: no semicolon at end of struct or union
xmlconfig.c:456: error: parse error before '}' token
xmlconfig.c:462: error: parse error before '*' token
xmlconfig.c:463: warning: initialization from incompatible pointer type
xmlconfig.c:463: warning: initialization from incompatible pointer type
xmlconfig.c:463: warning: initialization from incompatible pointer type
xmlconfig.c:463: warning: initialization from incompatible pointer type
xmlconfig.c:464: warning: initialization from incompatible pointer type
xmlconfig.c:464: warning: data definition has no type or storage class
xmlconfig.c:471: error: parse error before '*' token
xmlconfig.c: In function `parseEnumAttr':
xmlconfig.c:473: error: syntax error before '*' token
xmlconfig.c:475: error: `data' undeclared (first use in this function)
xmlconfig.c:476: error: `attr' undeclared (first use in this function)
xmlconfig.c:477: error: `value' undeclared (first use in this function)
xmlconfig.c:478: error: `text' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:494: error: parse error before '*' token
xmlconfig.c: In function `parseDescAttr':
xmlconfig.c:496: error: syntax error before '*' token
xmlconfig.c:497: error: `attr' undeclared (first use in this function)
xmlconfig.c:498: error: `lang' undeclared (first use in this function)
xmlconfig.c:499: error: `text' undeclared (first use in this function)
xmlconfig.c:500: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:507: error: parse error before '*' token
xmlconfig.c: In function `parseOptInfoAttr':
xmlconfig.c:509: error: syntax error before '*' token
xmlconfig.c:510: error: syntax error before '*' token
xmlconfig.c:512: error: `data' undeclared (first use in this function)
xmlconfig.c:514: error: `attr' undeclared (first use in this function)
xmlconfig.c:515: error: `optAttr' undeclared (first use in this function)
xmlconfig.c:518: error: `attrVal' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:570: error: parse error before '*' token
xmlconfig.c: In function `optInfoStartElem':
xmlconfig.c:572: error: `userData' undeclared (first use in this function)
xmlconfig.c:573: error: `name' undeclared (first use in this function)
xmlconfig.c:576: error: dereferencing pointer to incomplete type
xmlconfig.c:577: error: dereferencing pointer to incomplete type
xmlconfig.c:577: error: dereferencing pointer to incomplete type
xmlconfig.c:577: error: dereferencing pointer to incomplete type
xmlconfig.c:578: error: `attr' undeclared (first use in this function)
xmlconfig.c:579: error: dereferencing pointer to incomplete type
xmlconfig.c:579: error: dereferencing pointer to incomplete type
xmlconfig.c:579: error: dereferencing pointer to incomplete type
xmlconfig.c:580: 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:584: 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:586: error: dereferencing pointer to incomplete type
xmlconfig.c:586: error: dereferencing pointer to incomplete type
xmlconfig.c:586: error: dereferencing pointer to incomplete type
xmlconfig.c:588: error: dereferencing pointer to incomplete type
xmlconfig.c:588: error: dereferencing pointer to incomplete type
xmlconfig.c:588: error: dereferencing pointer to incomplete type
xmlconfig.c:589: 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:593: 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:595: error: dereferencing pointer to incomplete type
xmlconfig.c:595: error: dereferencing pointer to incomplete type
xmlconfig.c:595: error: dereferencing pointer to incomplete type
xmlconfig.c:596: 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:601: 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:603: error: dereferencing pointer to incomplete type
xmlconfig.c:603: 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:605: error: dereferencing pointer to incomplete type
xmlconfig.c:605: error: dereferencing pointer to incomplete type
xmlconfig.c:605: error: dereferencing pointer to incomplete type
xmlconfig.c:606: 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:611: 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:613: error: dereferencing pointer to incomplete type
xmlconfig.c:613: error: dereferencing pointer to incomplete type
xmlconfig.c:613: error: dereferencing pointer to incomplete type
xmlconfig.c:614: error: dereferencing pointer to incomplete type
xmlconfig.c:618: error: dereferencing pointer to incomplete type
xmlconfig.c:618: error: dereferencing pointer to incomplete type
xmlconfig.c:618: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:623: error: parse error before '*' token
xmlconfig.c: In function `optInfoEndElem':
xmlconfig.c:624: error: `userData' undeclared (first use in this function)
xmlconfig.c:625: error: `name' undeclared (first use in this function)
xmlconfig.c:628: error: dereferencing pointer to incomplete type
xmlconfig.c:631: error: dereferencing pointer to incomplete type
xmlconfig.c:634: error: dereferencing pointer to incomplete type
xmlconfig.c:637: error: dereferencing pointer to incomplete type
xmlconfig.c:640: error: dereferencing pointer to incomplete type
xmlconfig.c: In function `driParseOptionInfo':
xmlconfig.c:649: error: `XML_Parser' undeclared (first use in this function)
xmlconfig.c:649: error: parse error before "p"
xmlconfig.c:651: error: storage size of 'userData' isn't known
xmlconfig.c:671: error: `p' undeclared (first use in this function)
xmlconfig.c:687: error: dereferencing pointer to incomplete type
xmlconfig.c:687: error: dereferencing pointer to incomplete type
xmlconfig.c:687: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:706: error: parse error before "XML_Parser"
xmlconfig.c:706: warning: no semicolon at end of struct or union
xmlconfig.c:715: error: conflicting types for 'inOption'
xmlconfig.c:453: error: previous declaration of 'inOption' was here
xmlconfig.c:716: error: parse error before '}' token
xmlconfig.c:722: error: parse error before '*' token
xmlconfig.c:723: warning: initialization from incompatible pointer type
xmlconfig.c:723: warning: initialization from incompatible pointer type
xmlconfig.c:723: warning: initialization from incompatible pointer type
xmlconfig.c:724: warning: initialization from incompatible pointer type
xmlconfig.c:724: warning: data definition has no type or storage class
xmlconfig.c:727: error: parse error before '*' token
xmlconfig.c: In function `parseDeviceAttr':
xmlconfig.c:729: error: syntax error before '*' token
xmlconfig.c:730: error: `attr' undeclared (first use in this function)
xmlconfig.c:731: error: `driver' undeclared (first use in this function)
xmlconfig.c:732: error: `screen' undeclared (first use in this function)
xmlconfig.c:733: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:747: error: parse error before '*' token
xmlconfig.c: In function `parseAppAttr':
xmlconfig.c:749: error: syntax error before '*' token
xmlconfig.c:750: error: `attr' undeclared (first use in this function)
xmlconfig.c:751: error: `name' undeclared (first use in this function)
xmlconfig.c:752: error: `exec' undeclared (first use in this function)
xmlconfig.c:753: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:760: error: parse error before '*' token
xmlconfig.c: In function `parseOptConfAttr':
xmlconfig.c:762: error: syntax error before '*' token
xmlconfig.c:763: error: `attr' undeclared (first use in this function)
xmlconfig.c:764: error: `name' undeclared (first use in this function)
xmlconfig.c:765: error: `value' undeclared (first use in this function)
xmlconfig.c:766: error: `data' undeclared (first use in this function)
xmlconfig.c: At top level:
xmlconfig.c:785: error: parse error before '*' token
xmlconfig.c: In function `optConfStartElem':
xmlconfig.c:787: error: `userData' undeclared (first use in this function)
xmlconfig.c:788: error: `name' undeclared (first use in this function)
xmlconfig.c:791: error: dereferencing pointer to incomplete type
xmlconfig.c:792: error: dereferencing pointer to incomplete type
xmlconfig.c:792: error: dereferencing pointer to incomplete type
xmlconfig.c:792: error: dereferencing pointer to incomplete type
xmlconfig.c:793: error: `attr' undeclared (first use in this function)
xmlconfig.c:794: error: dereferencing pointer to incomplete type
xmlconfig.c:794: error: dereferencing pointer to incomplete type
xmlconfig.c:794: error: dereferencing pointer to incomplete type
xmlconfig.c:795: 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:799: 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:801: error: dereferencing pointer to incomplete type
xmlconfig.c:801: 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:803: error: dereferencing pointer to incomplete type
xmlconfig.c:803: 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:808: 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:810: error: dereferencing pointer to incomplete type
xmlconfig.c:810: 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:812: error: dereferencing pointer to incomplete type
xmlconfig.c:812: 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:817: 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:819: error: dereferencing pointer to incomplete type
xmlconfig.c:819: 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:821: error: dereferencing pointer to incomplete type
xmlconfig.c:821: error: dereferencing pointer to incomplete type
xmlconfig.c:825: error: dereferencing pointer to incomplete type
xmlconfig.c:825: error: dereferencing pointer to incomplete type
xmlconfig.c:825: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:830: error: parse error before '*' token
xmlconfig.c: In function `optConfEndElem':
xmlconfig.c:831: error: `userData' undeclared (first use in this function)
xmlconfig.c:832: error: `name' undeclared (first use in this function)
xmlconfig.c:835: error: dereferencing pointer to incomplete type
xmlconfig.c:838: error: dereferencing pointer to incomplete type
xmlconfig.c:838: error: dereferencing pointer to incomplete type
xmlconfig.c:839: error: dereferencing pointer to incomplete type
xmlconfig.c:842: error: dereferencing pointer to incomplete type
xmlconfig.c:842: error: dereferencing pointer to incomplete type
xmlconfig.c:843: error: dereferencing pointer to incomplete type
xmlconfig.c:846: error: dereferencing pointer to incomplete type
xmlconfig.c: At top level:
xmlconfig.c:867: error: parse error before "p"
xmlconfig.c: In function `parseOneConfigFile':
xmlconfig.c:869: error: `p' undeclared (first use in this function)
xmlconfig.c:873: error: dereferencing pointer to incomplete type
xmlconfig.c:875: error: dereferencing pointer to incomplete type
xmlconfig.c:881: warning: initialization makes pointer from integer without a cast
xmlconfig.c:889: error: dereferencing pointer to incomplete type
xmlconfig.c:894: error: dereferencing pointer to incomplete type
xmlconfig.c:894: error: dereferencing pointer to incomplete type
xmlconfig.c:894: error: dereferencing pointer to incomplete type
xmlconfig.c: In function `driParseConfigFiles':
xmlconfig.c:910: error: storage size of 'userData' isn't known
xmlconfig.c:931: error: `XML_Parser' undeclared (first use in this function)
xmlconfig.c:931: error: parse error before "p"
xmlconfig.c:935: error: `p' undeclared (first use in this function)
{standard input}: Assembler messages:
{standard input}:81: Warning: size of "inOption" is already 1; not changing to 4
make[6]: *** [xmlconfig.o] Error 1
make[6]: Leaving directory `/usr/src/xfree86/xcbuild/lib/GL/mesa/drivers/dri/common'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/xfree86/xcbuild/lib/GL/mesa/drivers/dri'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/xfree86/xcbuild/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xfree86/xcbuild/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/xfree86/xcbuild'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/xfree86/xcbuild'
make: *** [World] Error 2

问题出在什么地方?
回复 支持 反对

使用道具 举报

发表于 2005-11-6 20:32:51 | 显示全部楼层
没装 expat
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 20:46:07 | 显示全部楼层

谢谢

Post by 黯然销魂
没装 expat

BLFS Book上好像没说道依赖这个expat

我已经把Xorg安装上了,谢谢您!

不过在安装GTK+-2.6.7时遇到问题
执行:./configure --prefix=/usr --sysconfdir=/etc
显示:configure: error: Xft Pango backend is required for x11 target
这是怎么回事?

我已经按要正常安装好Pango-1.8.1
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表