krita needs -lXi
Adrian Page
adrian at pagenet.plus.com
Mon Jul 19 00:19:39 CEST 2004
On Sunday 18 July 2004 9:14 pm, David Faure wrote:
> While linking libkritacommon.la :
> ../krita/ui/.libs/libkisui.a(kis_canvas.o)(.text+0x103b): In function
> `KisCanvas::initX11Support()':
> /mnt/devel/kde/kdecvs/koffice/krita/ui/kis_canvas.cc:312: undefined
> reference to `XListInputDevices'
> ../krita/ui/.libs/libkisui.a(kis_canvas.o)(.text+0x1172):/mnt/devel/kde/kde
>cvs/koffice/krita/ui/kis_canvas.cc:337: undefined reference to
> `XFreeDeviceList' ../krita/ui/.libs/libkisui.a(kis_canvas.o)(.text+0x156b):
> In function
> `KisCanvas::X11TabletDevice::X11TabletDevice[not-in-charge](_XDeviceInfo
> const*)': /mnt/devel/kde/kdecvs/koffice/krita/ui/kis_canvas.cc:446:
> undefined reference to `XOpenDevice'
> ../krita/ui/.libs/libkisui.a(kis_canvas.o)(.text+0x19b1): In function
> `KisCanvas::X11TabletDevice::X11TabletDevice[in-charge](_XDeviceInfo
> const*)': /mnt/devel/kde/kdecvs/koffice/krita/ui/kis_canvas.cc:446:
> undefined reference to `XOpenDevice'
>
> I could fix this locally like this:
> -libkisui_la_LIBADD = ./labels/libkislabel.la ./dialogs/libkisdialogs.la
> +libkisui_la_LIBADD = ./labels/libkislabel.la ./dialogs/libkisdialogs.la
> -lXi
>
> But is this library always part of X, or (more likely, I guess), does this
> need a configure check?
It's using the XInput extension so I guess we need a configure check. I'm a
complete newbie as far as the configure system is concerned so any guidance
on how to achieve this would be greatly appreciated.
Adrian
More information about the kimageshop
mailing list