anyone tell me how to fix this error? using xfree 4.3 built from
source (works with dri drivers)
(after some
compiling i get this error (make in devel ati.2/)
rm -f
radeon_probe.o
gcc -m32 -O2 -fno-strength-reduce -fno-
strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -fno-
merge-constants -I. -
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/common
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/os-
support -
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/os-
support/vbe -
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/int10
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/ddc
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/i2c
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/rac
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/ramdac
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/shadowfb
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/xaa
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/xf24_32bpp
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/xf4bpp
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/xf1bpp
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/vgahw
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/hw/xfree86/fbdevhw
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/cfb
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/mfb
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/fb
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/mi
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/render
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/Xext
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/include
-
I/home/knoppix/Desktop/xfree/xc/programs/Xserver/GL/dri
-I/home/knoppix/Desktop/xfree/xc/lib/GL/dri -
I/home/knoppix/Desktop/xfree/xc/include -
I/home/knoppix/Desktop/xfree/xc/include/fonts -
I/home/knoppix/Desktop/xfree/xc/include/extensions -
I/home/knoppix/Desktop/xfree/xc/exports/include/X11 -
I/home/knoppix/Desktop/xfree/xc -
I/home/knoppix/Desktop/xfree/xc/exports/include -
Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -
D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -
D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -
DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -
DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -
DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -
DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -
DXFree86LOADER -DXFree86Server -DXF86VIDMODE -
DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -
DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -
DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -
DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -
DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -
DGLX_USE_MESA -c
radeon_probe.c
radeon_probe.c:81:
`PCI_CHIP_RADEON_QY' undeclared here (not in a
function)
radeon_probe.c:81: initializer element is not
constant
radeon_probe.c:81: (near initialization for
`RADEONChipsets[4].token')
radeon_probe.c:81:
initializer element is not constant
radeon_probe.c:81:
(near initialization for
`RADEONChipsets[4]')
radeon_probe.c:82:
`PCI_CHIP_RADEON_QZ' undeclared here (not in a
function)
radeon_probe.c:82: initializer element is not
constant
radeon_probe.c:82: (near initialization for
`RADEONChipsets[5].token')
radeon_probe.c:82:
initializer element is not constant
radeon_probe.c:82:
(near initialization for
`RADEONChipsets[5]')
radeon_probe.c:83: initializer
element is not constant
radeon_probe.c:83: (near
initialization for
`RADEONChipsets[6]')
radeon_probe.c:84: initializer
element is not constant
radeon_probe.c:84: (near
initialization for
`RADEONChipsets[7]')
radeon_probe.c:85: initializer
element is not constant
radeon_probe.c:85: (near
initialization for
`RADEONChipsets[8]')
radeon_probe.c:86: initializer
element is not constant
radeon_probe.c:86: (near
initialization for
`RADEONChipsets[9]')
radeon_probe.c:87: initializer
element is not constant
radeon_probe.c:87: (near
initialization for
`RADEONChipsets[10]')
radeon_probe.c:88:
initializer element is not constant
radeon_probe.c:88:
(near initialization for
`RADEONChipsets[11]')
radeon_probe.c:89:
initializer element is not constant
radeon_probe.c:89:
(near initialization for
`RADEONChipsets[12]')
radeon_probe.c:97:
`PCI_CHIP_RADEON_QY' undeclared here (not in a
function)
radeon_probe.c:97: initializer element is not
constant
radeon_probe.c:97: (near initialization for
`RADEONPciChipsets[4].numChipset')
radeon_probe.c:97:
`PCI_CHIP_RADEON_QY' undeclared here (not in a
function)
radeon_probe.c:97: initializer element is not
constant
radeon_probe.c:97: (near initialization for
`RADEONPciChipsets[4].PCIid')
radeon_probe.c:97:
initializer element is not constant
radeon_probe.c:97:
(near initialization for
`RADEONPciChipsets[4]')
radeon_probe.c:98:
`PCI_CHIP_RADEON_QZ' undeclared here (not in a
function)
radeon_probe.c:98: initializer element is not
constant
radeon_probe.c:98: (near initialization for
`RADEONPciChipsets[5].numChipset')
radeon_probe.c:98:
`PCI_CHIP_RADEON_QZ' undeclared here (not in a
function)
radeon_probe.c:98: initializer element is not
constant
radeon_probe.c:98: (near initialization for
`RADEONPciChipsets[5].PCIid')
radeon_probe.c:98:
initializer element is not constant
radeon_probe.c:98:
(near initialization for
`RADEONPciChipsets[5]')
radeon_probe.c:99:
initializer element is not constant
radeon_probe.c:99:
(near initialization for
`RADEONPciChipsets[6]')
radeon_probe.c💯
initializer element is not constant
radeon_probe.c💯
(near initialization for
`RADEONPciChipsets[7]')
radeon_probe.c:101:
initializer element is not constant
radeon_probe.c:101:
(near initialization for
`RADEONPciChipsets[8]')
radeon_probe.c:102:
initializer element is not constant
radeon_probe.c:102:
(near initialization for
`RADEONPciChipsets[9]')
radeon_probe.c:103:
initializer element is not constant
radeon_probe.c:103:
(near initialization for
`RADEONPciChipsets[10]')
radeon_probe.c:104:
initializer element is not constant
radeon_probe.c:104:
(near initialization for
`RADEONPciChipsets[11]')
radeon_probe.c:105:
initializer element is not constant
radeon_probe.c:105:
(near initialization for
`RADEONPciChipsets[12]')
radeon_probe.c: In
function `RADEONProbe':
radeon_probe.c:229:
`PCI_CHIP_RADEON_QY' undeclared (first use in this
function)
radeon_probe.c:229: (Each undeclared
identifier is reported only once
radeon_probe.c:229: for
each function it appears in.)
radeon_probe.c:230:
`PCI_CHIP_RADEON_QZ' undeclared (first use in this
function)
make: *** [radeon_probe.o] Error 1
Logged In: YES
user_id=177534
These constants are declared in xf86PciInfo.h (it's part of
xfree, not gatos). If you check their CVS diffs, you should be
able to find an appropriate version. In my case im using xfree
4.3.99.902-r2, and I had to replace that file with an older
version before compiling the gatos drivers. The CVS comment
mentioned that they had removed support for some Radeon
device types that were undocumented. Unfortunately, I ran
into problems compiling atixv.c