Problem building xserver 1.5.1

Diego A. Fons diegofons at
Tue Aug 4 11:28:47 PDT 2009

Tiago Vignatti wrote:
> On Tue, Aug 04, 2009 at 02:39:44PM +0200, Diego A. Fons wrote:
>> In file included from linuxPci.c:271:
>> /usr/include/linux/pci.h:453: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'pci_power_t'
>> linuxPci.c:553: warning: no previous prototype for 'xf86AccResFromOS'
>> I'm crosscompiling for ARM in a scratchbox environment:
> I'd guess that your ARM device doesn't has PCI hardware. So why you're compile
> PCI related stuff there? :)
> </sarcasm>
> Try to avoid old X version and go for upstream (or close) code. We're doing a
> really nice clean up on this PCI and related things.
>             Tiago
> _______________________________________________
> xorg mailing list
> xorg at
Yes you're right, I don't have any PCI bus, I didn't mention it because 
I thought it was mandatory for X.

I'm building X11R7.4, downloading the tarballs from [1]. I couldn't find 
any option to disable PCI, how do I disable PCI? I'm building kDrive 
servers and xorg server, this are the options I choose:

configure --prefix=/usr --disable-aiglx --disable-glx-tls 
--enable-registry --disable-composite --disable-xtrap --disable-record 
--disable-screensaver --disable-xdmcp --disable-xdm-auth-1 --disable-glx 
--disable-dri --disable-dri2 --disable-xinerama --disable-xace 
--disable-xselinux --disable-xcsecurity --disable-appgroup 
--enable-xcalibrate --enable-tslib --enable-xevie --disable-cup 
--enable-evi --disable-multibuffer --disable-fontcache --disable-dbe 
--disable-xf86bigfont --disable-dpms --enable-xorg --disable-dmx 
--disable-xvfb --disable-xnest --disable-xquartz --disable-x11app 
--disable-xwin --disable-xprint --disable-xgl --disable-xglx 
--disable-xegl --enable-kdrive --disable-xephyr --disable-xsdl 
--disable-xfake --enable-xfbdev --disable-freetype --disable-secure-rpc 
--enable-xorgcfg –disable-kbd_mode

When I build only the kDrive (--disable-xorg) server the error is not 
there, so, how can I build xorg server?

Diego A. Fons.


More information about the xorg mailing list