Finding Linker failed linker dependencies

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Finding Linker failed linker dependencies

Postby RoboPAL » Sun Mar 09, 2008 10:33 am

Hi, I am porting a java robotics library to LejosNXT and am running into problem with library differences.

For example the linker reports

an error occurred: Class java.io.PrintStream (file java/io/PrintStream.class) not found in CLASSPATH

Which tells me that somewhere in the library I am porting the printstream is being used - probably System.io
However, since LejosNXT doesn't support this java/io/PrintStream class I get this linking error. Fair enough.

My question is: Can I get the linker to tell me in which class the java/io/PrintStream is being used so I can replace it with a compatible version?
RoboPAL
New User
 
Posts: 23
Joined: Sun Mar 09, 2008 10:26 am

Postby lawrie » Sun Mar 09, 2008 10:54 am

System.out and PrintStream are in the version of leJOS in SVN and will be in the next release.

There isn't currently anything in the linker that will do what you want. You will just have to search for usage of classes. In this sort of case, where the reference is indirect, I realise it is not that easy.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Software

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests

more stuff