help with Sable for ARM micro
"BenjamÃn Molina" <[email protected]> Wed, 18 Oct 2006 14:22:31 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
--===============2064186984== Content-Type: multipart/alternative; boundary="----=_Part_134182_26604385.1161174151344" ------=_Part_134182_26604385.1161174151344 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I am trying to run sable on a device with an ARM micro. I tried to advance on my own but I don't know how to solve my problem, I hope you can help me! I compile the classpath from my fedora: ./configure --host=3Darm-linux --prefix=3D/root/sablearm --disable-gtk-peer --disable-qt-peer --enable-debug --with-jikes a) I don't know if the options are correct, specially the --with-jikes option ...then make ; make install -> no problem After that I compile the vm: ./configure LDFLAGS=3D-L/root/libltdl/lib CPPFLAGS=3D-I/root/libltdl/includ= e --host=3Darm-linux --prefix=3D/root/sablearm b)I don't know if the options are correct. About libltdl: the lib is crosscompiled for ARM, is this crosscompiling ok or should it be compiled for the host machine?? ...then make; make install -> no problem I put the files into the device, but when I run java-sablevm libltdlt is missing. I put the crosscompiled libltdl on the device and target LD_LIBRARY_PATH to the location. Problem solved i think. I go again and i get: java.lang.UnsatisfiedLinkError: Native library `javanio' not found (as file `libjavanio') in gnu.classpath.boot.library.path and java.library.path I add the location /var/sablearm/lib/sablevm-classpath/ to LD_LIBRARY_PATH but it doesn't work No idea what i am doing wrong. Could you help me?? Thanks a lot! Benjam=EDn Molina ------=_Part_134182_26604385.1161174151344 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello,<br>I am trying to run sable on a device with an ARM micro. I tried t= o advance on my own but I don't know how to solve my problem, I hope you ca= n help me!<br>I compile the classpath from my fedora:<br>./configure --host= =3Darm-linux --prefix=3D/root/sablearm --disable-gtk-peer --disable-qt-peer= --enable-debug --with-jikes <br>a) I don't know if the options are correct, specially the --with-jikes = option<br>...then make ; make install -> no problem<br>After that I comp= ile the vm:<br>./configure LDFLAGS=3D-L/root/libltdl/lib CPPFLAGS=3D-I/root= /libltdl/include --host=3Darm-linux --prefix=3D/root/sablearm <br>b)I don't know if the options are correct. About libltdl: the lib is cr= osscompiled for ARM, is this crosscompiling ok or should it be compiled for= the host machine??<br>...then make; make install -> no problem<br>I put= the files into the device, but when I run java-sablevm libltdlt is missing= . I put the crosscompiled libltdl on the device and target LD_LIBRARY_PATH = to the location. Problem solved i think. <br>I go again and i get:<br>java.lang.UnsatisfiedLinkError: Native library= `javanio' not found (as file `libjavanio') in gnu.classpath.boot.library.p= ath and java.library.path<br>I add the location /var/sablearm/lib/sablevm-c= lasspath/ to LD_LIBRARY_PATH but it doesn't work <br>No idea what i am doing wrong. Could you help me??<br>Thanks a lot!<br>= Benjam=EDn Molina<br><br><br> ------=_Part_134182_26604385.1161174151344-- --===============2064186984== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SableVM-user mailing list [email protected] http://sablevm.org/lists/control/listinfo/sablevm-user --===============2064186984==--