Bug#633501: libjinput-jni: contains undefined symbol EVIOCGUSAGE
Lingzhu Xiang
xianglingzhu at gmail.com
Sun Jul 10 20:47:28 UTC 2011
Package: libjinput-jni
Version: 20100502+dfsg-5
Severity: grave
Tags: wheezy sid
Justification: renders package unusable
jvm reports this error at runtime and quits:
java: symbol lookup error: /usr/lib/jni/libjinput.so: undefined symbol: EVIOCGUSAGE
objdump shows this symbol in libjinput.so is indeed undefined.
$ objdump -T /usr/lib/jni/libjinput.so
/usr/lib/jni/libjinput.so: file format elf32-i386
DYNAMIC SYMBOL TABLE:
00000000 DF *UND* 00000000 GLIBC_2.0 read
00000000 DF *UND* 00000000 GLIBC_2.0 ioctl
00000000 w DF *UND* 00000000 GLIBC_2.1.3 __cxa_finalize
00000000 w D *UND* 00000000 __gmon_start__
00000000 DF *UND* 00000000 GLIBC_2.0 open
00000000 DF *UND* 00000000 GLIBC_2.0 write
00000000 DF *UND* 00000000 GLIBC_2.0 __errno_location
00000000 w D *UND* 00000000 _Jv_RegisterClasses
00000000 DF *UND* 00000000 GLIBC_2.0 vsnprintf
00000000 D *UND* 00000000 EVIOCGUSAGE
00000000 DF *UND* 00000000 GLIBC_2.0 close
000023a8 g DF .fini 00000000 Base _fini
There is also a compiler warning about this when building the deb package:
compileNativeJinputLib:
....
[apply] /usr/local/src/jinput-20100502+dfsg/plugins/linux/src/native/net_java_games_input_LinuxEventDevice.c:122:2: warning: implicit declaration of function ‘EVIOCGUSAGE’ [-Wimplicit-function-declaration]
A proposed fix for this is to completely comment out the code in
Java_net_java_games_input_LinuxEventDevice_nGetDeviceUsageBits() because the
macro EVIOCGUSAGE is never defined in any version of linux/input.h.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libjinput-jni depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
libjinput-jni recommends no packages.
libjinput-jni suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list