|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
An Enjoyable(Not) Java Compiler Error (Stack Guard) and ELFCLASS32 *Not Solved*
Whenever I try to run a project, my debug window shows a Java Stack Guard Error. This one to be exact:
Code:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/libwpilibJavaJNI4147524003046367514.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libwpilibJavaJNI4147524003046367514.so: /tmp/libwpilibJavaJNI4147524003046367514.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) Code:
execstack -c /tmp/libwpilibJavaJNI4147524003046367514.so Paying attention to the file I see it is wpilib related. I have been using the toast api, but it doesn't look like it was that. I also had a failed installation of frcsim (I have Ubuntu 15.04 not 14.04 so it would not work ): ) Has anyone had this problem and fixed it or know how to fix it? Is this frcsim related or toast or wbilib error or something I am unaware of? Any help is appreciated. Thanks in advance! /* *----------EDIT---------- * */ It appears that the Stack Guard error may be caused by Code:
the wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) Last edited by maglax : 26-06-2015 at 03:05. Reason: More information |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|