In function 'xf86PciProbe' with xorg-server-1.6.99.900

Tiago Vignatti tiago.vignatti at nokia.com
Sun Sep 6 08:48:26 PDT 2009


Hi,

On Fri, Sep 04, 2009 at 08:58:55PM +0200, David Amiel wrote:
> Le Ven 4 septembre 2009 20:52, Stephan Raue a écrit :
> > i have a problem building xorg-server-1.6.99.900 (with uClibc, recent
> > versions of libs, protos...), linux-2.6.31-rc8 with patches from
> > http://people.freedesktop.org/~airlied/vgaarb/ (do i need this?)

No, you don't need these patches anymore. 

Everything that you need is on Xorg and libpciaccess of upstream repositories
and Jesse's pci-2.6 kernel (linux-next):

    http://git.kernel.org/?p=linux/kernel/git/jbarnes/pci-2.6.git;a=shortlog;h=linux-next


> > i think it has to do with commit e454f106dc65ecfacc154a1fa0810935022a8fee
> >
> > configure said:
> >
> > checking for pci_device_is_boot_vga... yes
> > checking for pci_device_vgaarb_init... yes
> > checking for DGA... yes
> >
> >    CC    xf86pciBus.o
> > xf86pciBus.c: In function 'xf86PciProbe':
> > xf86pciBus.c:140: warning: implicit declaration of function
> > 'looks_like_bios_primary'
> > xf86pciBus.c:140: warning: nested extern declaration of
> > 'looks_like_bios_primary'
> > xf86pciBus.c: At top level:
> > xf86pciBus.c:427: error: static declaration of 'looks_like_bios_primary'
> > follows non-static declaration
> > xf86pciBus.c:140: note: previous implicit declaration of
> > 'looks_like_bios_primary' was here
> > make[5]: *** [xf86pciBus.lo] Error 1
> > make[4]: *** [all] Error 2
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all-recursive] Error
> 

...

> The same problem here, and I'm using 2.6.31.rc8 too but without Dave
> Airlie Patches
> 

Looks like someone did this hack (looks_like_bios_primary function) and
several distros copied. Don't trust on them :)


Cheers,

            Tiago



More information about the xorg mailing list