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

Re: Some patches for mklibs



Bastian Blank, le Sun 14 Feb 2010 01:16:11 +0100, a écrit :
> On Sat, Feb 13, 2010 at 09:31:19PM +0100, Cyril Brulebois wrote:
> > The second patch makes it possible to use that instead (meaning some
> > library reduction can happen, as opposed to using mklibs-copy):
> >   MKLIBS = mklibs -X /usr/lib/xorg/modules
> 
> Please specify your problem first.

Xorg modules expect to be given symbols by the Xorg binary, for
instance:

€ nm -D /usr/lib/xorg/modules/drivers/fbdev_drv.so
...
                 U xf86AddDriver
...
€ nm -D /usr/bin/Xorg  | grep xf86AddDriver 
0000000000479bb0 T xf86AddDriver

mklibs would complain that xf86AddDriver can't be found in any .so while
it is needed by fbdev_drv.so, because it doesn't look at /usr/bin/Xorg
itself.

Samuel


Reply to: