undefined reference error while build X-Server

crayfish pwd5t4z25t at mf.point.ne.jp
Fri Mar 10 05:09:14 PST 2006


Hello, everyone! I am Yang.
 
I have been fighting with a problem when compiling X kdrive server but
couldnt resolve it.
 
X version: XFree86 3.9.17
Cross compiling
Target's platform is MIPS.
 
I have succeed to build X-server but the mouse did not work, so I changed
the host.def
as the following.
 
-----<Start>-----
#define BuildXInputExt            YES
#define XInputDrivers mouse
#define UsbMouseSupport        YES
#define HasLibUsb                    YES
-----<End>-----
 
But while I compile X with
 
#make World
 
The following error occured and I have no idea to resolve it.
 
---<Start>---
mipsel-linux-gnu-gcc -mhard-float -o XVR -O2      -L../../exports/lib
dix/libdix.a os/libos.a ../../lib/Xau/libXau.a ../../lib/Xdmcp/libXdmcp.a
hw/kdrive/fbdev/libfbdev.a hw/kdrive/vr/libvr.a hw/kdrive/libkdrive.a
hw/kdrive/linux/liblinux.a  fb/libfb.a Xext/libext.a  Xi/libxinput.a
                        dix/libxpstubs.a mi/libmi.a Xext/libext.a
Xi/libxinput.a                          -L/x_riku/local/mipsel-linux-gnu/lib
-L../../exports/lib -lXfont dix/libxpstubs.a -lz -lm   -lusb
Xi/libxinput.a(listdev.o)(.text+0xc8): In function `ProcXListInputDevices':
: undefined reference to `AddOtherInputDevices'
Xi/libxinput.a(opendev.o)(.text+0x118): In function `ProcXOpenDevice':
: undefined reference to `OpenInputDevice'
Xi/libxinput.a(setdval.o)(.text+0x248): In function
`ProcXSetDeviceValuators':
: undefined reference to `SetDeviceValuators'
Xi/libxinput.a(setmode.o)(.text+0x208): In function `ProcXSetDeviceMode':
: undefined reference to `SetDeviceMode'
Xi/libxinput.a(chgkbd.o)(.text+0x274): In function
`ProcXChangeKeyboardDevice':
: undefined reference to `ChangeKeyboardDevice'
Xi/libxinput.a(chgdctl.o)(.text+0x280): In function
`ProcXChangeDeviceControl':
: undefined reference to `ChangeDeviceControl'
Xi/libxinput.a(chgptr.o)(.text+0x2e4): In function
`ProcXChangePointerDevice':
: undefined reference to `ChangePointerDevice'
Xi/libxinput.a(closedev.o)(.text+0x18c): In function `ProcXCloseDevice':
: undefined reference to `CloseInputDevice'
collect2: ld returned 1 exit status
---<End>---
 
Is there anyone know the reason of the error above?
Xi/libxinput.a has already been created, and  `AddOtherInputDevices' is
defined in xc/programs/Xserver/include/XIstubs.h
I think it is a problem in include file path or library path definition, but
dont know where it is.
I really need your help. Thanks a lot.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20060310/58d8f50c/attachment.html>


More information about the xorg mailing list