|
在make的时候出现错误 不太明白???
pacman -Qo /usr/include/linux/agpgart.h
/usr/include/linux/agpgart.h is owned by glibc 2.3.6-2
难道是 glibc的问题???
- In file included from lnx_agp.c:24:
- /usr/include/linux/agpgart.h:55: error: syntax error before ' u16'
- /usr/include/linux/agpgart.h:60: error: field 'version' has incomplete type
- /usr/include/linux/agpgart.h:61: error: syntax error before ' u32'
- /usr/include/linux/agpgart.h:68: error: syntax error before '}' token
- /usr/include/linux/agpgart.h:71: error: syntax error before ' u32'
- /usr/include/linux/agpgart.h:92: error: syntax error before ' u32'
- /usr/include/linux/agpgart.h:106: error: syntax error before ' u32'
- lnx_agp.c: In function 'GARTInit':
- lnx_agp.c:65: error: storage size of 'agpinf' isn't known
- lnx_agp.c:65: warning: unused variable 'agpinf'
- lnx_agp.c: In function 'xf86GetAGPInfo':
- lnx_agp.c:129: error: storage size of 'agpinf' isn't known
- lnx_agp.c:129: warning: unused variable 'agpinf'
- lnx_agp.c: In function 'xf86AllocateGARTMemory':
- lnx_agp.c:221: error: storage size of 'alloc' isn't known
- lnx_agp.c:221: warning: unused variable 'alloc'
- lnx_agp.c: In function 'xf86UnbindGARTMemory':
- lnx_agp.c:324: error: storage size of 'unbind' isn't known
- lnx_agp.c:324: warning: unused variable 'unbind'
- lnx_agp.c: In function 'xf86EnableAGP':
- lnx_agp.c:356: error: syntax error before 'setup'
- lnx_agp.c:361: error: 'setup' undeclared (first use in this function)
- lnx_agp.c:361: error: (Each undeclared identifier is reported only once
- lnx_agp.c:361: error: for each function it appears in.)
- make[5]: *** [lnx_agp.lo] 错误 1
- make[5]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86/os-support/linux'
- make[4]: *** [all-recursive] 错误 1
- make[4]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86/os-support'
- make[3]: *** [all-recursive] 错误 1
- make[3]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86'
- make[2]: *** [all] 错误 2
- make[2]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw/xfree86'
- make[1]: *** [all-recursive] 错误 1
- make[1]: Leaving directory `/var/abs/x11/xorg-server/src/xorg-server-1.0.2/hw'
- make: *** [all-recursive] 错误 1
复制代码 |
|