[PATCH] xprint is broken in xserver git

Drew Parsons dparsons at debian.org
Mon Aug 20 22:40:24 PDT 2007


On Mon, 2007-08-20 at 12:49 +0200, Maarten Maathuis wrote:
> Yes, i did.
> 
> As a sidenote, i use the linker flag --as-needed, which could explain
> the need for explicit linking. I do not know however if this is the
> cause.
> 

I think --as-needed would have the opposite effect: not linking in
hal/dbus even when they're listed on the command line, if they're not in
fact used.

Rather, I think I've identified why I'm not seeing the build problem.
Must be I don't have the hal/dbus development libraries installed,
because in my configure step I get:

checking for PIXMAN... yes
checking for DBUS... no
checking for HAL... no
checking for XLIB... yes

So my build is neglecting hal/dbus altogether (my Xorg xserver will be
missing it too, which of course is not what we want).

Your patch adds some dummy hal initialisation functions for Xprint. A
cleaner solution, if we can manage it, is to make sure the HAL/DBUS
flags are not passed down to hw/xprint.  However I suspect that will not
be straightforward, since Xprint will presumeably be linking in
sublibraries which contain the hal support (hal/dbus is not relevant to
Xprt directly).

Can you please post the actual error message from your build?

Drew




More information about the xorg mailing list