You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running io.trygvis.usb.tools.LsusbTest
osName = Linux
url = null
PRE: usbw_init(0x7f2a7c5f49f0)
/home/seriar/jdk1.7.0_51/jre/bin/java: symbol lookup error: /home/seriar/dev/stack/javax-usb-libusb1/usbtools/target/nar/javalibusb1-1.0.1-1-SNAPSHOT-amd64-Linux-gpp-jni/lib/amd64-Linux-gpp/jni/libjavalibusb1-1.0.1-1-SNAPSHOT.so: undefined symbol: clock_gettime
Running io.trygvis.usb.tools.IntelHexTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 sec
Running io.trygvis.usb.tools.HexFormatterTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
Results :
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.814s
Finished at: Thu Jul 03 17:05:20 EEST 2014
Final Memory: 12M/210M
------------------------------------------------------------------------
Failed to execute goal io.trygvis.usb:maven-nar-plugin:2.1-trygvis-1:nar-integration-test (default-nar-integration-test) on project usbtools: There are test failures.
I have played a bit with code and the exact trace which is generated if i try to run lsusb is:
------------------------------------------------------------------------
Building Javalibusb1 :: Misc USB tools 1.0.1-1-SNAPSHOT
------------------------------------------------------------------------
--- exec-maven-plugin:1.2.1:exec (default-cli) @ usbtools ---
osName = Linux
url = null
Exception in thread "main" java.lang.UnsatisfiedLinkError: no javalibusb1-1.0.1-1-SNAPSHOT in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:844)
at java.lang.System.loadLibrary(System.java:1051)
at javalibusb1.NarSystem.loadLibrary(NarSystem.java:23)
at javalibusb1.libusb1.<clinit>(libusb1.java:86)
at javalibusb1.Libusb1UsbServices.<init>(Libusb1UsbServices.java:146)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at java.lang.Class.newInstance(Class.java:374)
at javax.usb.UsbHostManager.initialize(UsbHostManager.java:44)
at javax.usb.UsbHostManager.getUsbServices(UsbHostManager.java:22)
at io.trygvis.usb.tools.lsusb.main(lsusb.java:12)
------------------------------------------------------------------------
Do you have any idea how can i solve it?
The text was updated successfully, but these errors were encountered:
Hello.
I was trying to build the code and i have a problem on testing of usbtools. My maven version information is following:
The output of testing is following:
I have played a bit with code and the exact trace which is generated if i try to run lsusb is:
Do you have any idea how can i solve it?
The text was updated successfully, but these errors were encountered: