Bug 12178 - xf86-driver-ati compile failure
Summary: xf86-driver-ati compile failure
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: All All
: low normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 05:47 UTC by Michael de Lang
Modified: 2007-10-11 08:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michael de Lang 2007-08-27 05:47:21 UTC
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
Comment 1 Michel Dänzer 2007-08-27 06:56:56 UTC
The driver needs to be adapated to the pci-rework changes merged to the xserver master branch recently. Meanwhile, you may want to try the xserver server-1.4-branch.
Comment 2 Michael de Lang 2007-08-27 15:37:28 UTC
(In reply to comment #1)
> The driver needs to be adapated to the pci-rework changes merged to the xserver
> master branch recently. Meanwhile, you may want to try the xserver
> server-1.4-branch.
> 

Alright, got it to compile and work with that.
Comment 3 James C. Georgas 2007-09-07 13:51:14 UTC
bump.

Is anyone working on this? Ballpark ETA? Need help doing anything?
Comment 4 Alex Deucher 2007-10-11 08:57:51 UTC
(In reply to comment #3)
> bump.
> 
> Is anyone working on this? Ballpark ETA? Need help doing anything?
> 

It's done now for radeon and ati_misc.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.