[Bug 12178] New: xf86-driver-ati compile failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 27 05:47:22 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12178

           Summary: xf86-driver-ati compile failure
           Product: xorg
           Version: git
          Platform: x86 (IA32)
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: low
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: kingoipo at gmail.com
         QAContact: xorg-team at lists.x.org


I'm compiling mesa-git/xorg-git/ati-git and I've been unable to come past a
certain point. I've located pciaccess.h and did an include to my stable xserver
for it, but it didn't fix the pciVideoPtr errors and such.

Here's the error:

gcc -DHAVE_CONFIG_H -I. -I.. -I/home/oipo/3d-pit/install/include/xorg
-I/home/oipo/3d-pit/install/include/pixman-1
-I/home/oipo/3d-pit/install/include -I/home/oipo/3d-pit/install/include
-I/home/oipo/3d-pit/install/include/drm
-I/home/oipo/3d-pit/install/include/X11/dri -O2 -g -march=pentium-m -Wall -c
ati.c  -fPIC -DPIC -o .libs/ati.o
In file included from ati.h:27,
                 from ati.c:60:
/home/oipo/3d-pit/install/include/xorg/xf86Pci.h:109:23: error: pciaccess.h: No
such file or directory
In file included from ati.h:27,
                 from ati.c:60:
/home/oipo/3d-pit/install/include/xorg/xf86Pci.h:262: warning: 'struct
pci_device' declared inside parameter list
/home/oipo/3d-pit/install/include/xorg/xf86Pci.h:262: warning: its scope is
only this definition or declaration, which is probably not what you want
/home/oipo/3d-pit/install/include/xorg/xf86Pci.h:263: warning: 'struct
pci_device' declared inside parameter list
In file included from /home/oipo/3d-pit/install/include/xorg/xf86.h:47,
                 from ati.h:30,
                 from ati.c:60:
/home/oipo/3d-pit/install/include/xorg/xf86str.h:335: warning: 'struct
pci_device' declared inside parameter list
ati.c: In function 'ATIProbe':
ati.c:101: error: 'pciVideoPtr' undeclared (first use in this function)
ati.c:101: error: (Each undeclared identifier is reported only once
ati.c:101: error: for each function it appears in.)
ati.c:101: error: expected ';' before 'pVideo'
ati.c:102: error: 'xf86PciVideoInfo' undeclared (first use in this function)
ati.c:107: warning: implicit declaration of function 'xf86GetPciVideoInfo'
ati.c:112: error: 'pVideo' undeclared (first use in this function)
make[2]: *** [ati.lo] Error 1


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list