[xf86-video-ast-0.99.9]:编译错误
Submitted by JerryDai
Assigned to Y.C. Chen @yc_chen
Description
编译时不使用libpciaccess库(取消/usr/include/xorg/xorg-server.h 中#define XSERVER_LIBPCIACCESS定义):
编译输出:
make all-recursive
make[1]: Entering directory `/root/xf86-video-ast'
Making all in src
make[2]: Entering directory `/root/xf86-video-ast/src'
CC ast_2dtool.lo
In file included from ast_2dtool.c:39:
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated. For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
In file included from ast_2dtool.c:51:
ast.h:220: error: expected specifier-qualifier-list before 'pciVideoPtr'
ast_2dtool.c: In function 'bInitCMDQInfo':
ast_2dtool.c:73: error: 'struct _ASTRec' has no member named 'MMIO2D'
ast_2dtool.c:74: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:79: error: 'struct _ASTRec' has no member named 'pCMDQPtr'
ast_2dtool.c:79: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:81: error: 'struct _ASTRec' has no member named 'pCMDQPtr'
ast_2dtool.c:83: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:85: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:87: error: 'struct _ASTRec' has no member named 'pCMDQPtr'
ast_2dtool.c:89: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:91: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:91: error: 'struct _ASTRec' has no member named 'pCMDQPtr'
ast_2dtool.c:92: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:92: error: 'struct _ASTRec' has no member named 'FBVirtualAddr'
ast_2dtool.c:92: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:94: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:94: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:95: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:95: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:101: error: 'struct _ASTRec' has no member named 'MMIO2D'
ast_2dtool.c:107: error: 'struct _ASTRec' has no member named 'MMIO2D'
ast_2dtool.c:108: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c: In function 'bEnableCMDQ':
ast_2dtool.c:122: error: 'struct _ASTRec' has no member named 'DBGSelect'
ast_2dtool.c:124: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:124: error: 'struct _ASTRec' has no member named 'DBGSelect'
ast_2dtool.c:128: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:131: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:137: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:160: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:161: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:161: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:169: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c: In function 'bEnableCMDQ2300':
ast_2dtool.c:188: error: 'struct _ASTRec' has no member named 'DBGSelect'
ast_2dtool.c:190: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:190: error: 'struct _ASTRec' has no member named 'DBGSelect'
ast_2dtool.c:194: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:200: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:222: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:225: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:226: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:227: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:227: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:233: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c: In function 'bEnable2D':
ast_2dtool.c:251: error: 'struct _ASTRec' has no member named 'jChipType'
ast_2dtool.c:251: error: 'struct _ASTRec' has no member named 'jChipType'
ast_2dtool.c:254: error: 'struct _ASTRec' has no member named 'jChipType'
ast_2dtool.c:262: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:263: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:265: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:266: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:269: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:269: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:269: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:269: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c: In function 'vDisable2D':
ast_2dtool.c:297: error: 'struct _ASTRec' has no member named 'jChipType'
ast_2dtool.c:299: error: 'struct _ASTRec' has no member named 'SavedReg'
ast_2dtool.c:301: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:301: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:301: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:301: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:302: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:302: error: 'struct _ASTRec' has no member named 'SavedReg'
ast_2dtool.c:306: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:306: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:306: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:306: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c: In function 'vWaitEngIdle':
ast_2dtool.c:319: error: 'struct _ASTRec' has no member named 'jChipType'
ast_2dtool.c:323: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:323: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:327: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:327: error: 'struct _ASTRec' has no member named 'MMIOVirtualAddr'
ast_2dtool.c:331: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:336: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:337: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:338: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:339: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:340: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:341: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c: In function 'ulGetCMDQLength':
ast_2dtool.c:355: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:356: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:357: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:358: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:359: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:360: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c: In function 'pjRequestCMDQ':
ast_2dtool.c:372: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:373: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:374: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:379: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:391: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:395: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:396: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:397: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:404: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:416: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:420: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:427: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:428: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:431: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:443: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:447: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:448: error: 'struct _ASTRec' has no member named 'CMDQInfo'
ast_2dtool.c:449: error: 'struct _ASTRec' has no member named 'CMDQInfo'
make[2]: *** [ast_2dtool.lo] Error 1
make[2]: Leaving directory `/root/xf86-video-ast/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xf86-video-ast'
make: *** [all] Error 2
Version: 7.7 (2012.06)