[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GMA 500 Drivers in Debian and Deprecated Symbols in Xorg



On Die, 2011-01-18 at 17:25 -0500, P. J. McDermott wrote: 
> 
>     Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/psb_drv.so:
>   \ undefined symbol: LoaderRefSymLists
> With research I found that this is due to the removal of the XFree86
> loader and all of its long deprecated symbols. I'm currently working on
> a patch to remove all references to this and a similar deprecated
> symbol, along with hopefully some now useless symbol lists (see line 159
> and below). Note however the use of the "XFree86LOADER" macro in the
> middle of those symbol lists; what is the purpose of this? Is it to
> identify newer versions of Xorg? Is it deprecated and to be removed?
> This is an issue because it is used to conditionally compile some code
> (including the psbSetup function, which I know is used by Xorg)
> following the symbols I'd like to conditionally compile (or simply
> patch) out of the driver. What would be the best way to proceed here?
> Should I leave in or remove the XFree86LOADER macro check? Should I
> simply patch out the old symbol lists completely (possibly breaking the
> driver for older Xorg versions) or conditionally compile out the symbol
> lists?

You can probably just remove this stuff (I doubt the psb driver will
work or even build against an xserver which requires it), that's what we
did in the radeon driver, which tends to be backwards compatible more
than most other free drivers.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


Reply to: