[kaffe] running of kaffe on target machine -- Problem

Gowri gowri at bitel.co.kr
Tue May 16 01:05:00 PDT 2006


Hi all ,

I have installed executables  in rootfs file system of target on host.
(by using preferance --exec-prefix= PATH during configuration).

later i transfered the same rootfs file system to the target using
emulator. 
now when i try to run  simple hellow orld apllication
 java HelloWorld ,
xec:5: /home/gowri/codebase/exp_usip/embedded_rootfs/rootfs/usr/local//bin/kad#

it is pointing to the location whih gave the path in --exec-prefix.


I do not know whether i followed the correct procedure .

Any pointers are welcome.


steps I followed:

I configured cross compilation using below script

CC=mipsel-linux-uclibc-gcc NM=mipsel-linux-uclibc-nm
AR=mipsel-linux-uclibc-ar ../kaffe-1.1.7/configure --host=mipsel-linux
--build=i686 --disable-alsa --disable-native-awt --disable-xawt-xi18n
--disable-sound --without-kaffe-qt-awt --disable-classpath-tools
--disable-gtk-peer
--exec-prefix=/home/gowri/codebase/exp_usip/embedded_rootfs/rootfs/usr/local   KAFFEH=/usr/local/kaffe/bin/kaffe/kaffeh QTDIR=/usr/lib/qt-3.3


later make and make install.


i downloaded the target rootfs image using emulator to the target .

on the target board in location usr/local/
bin lib

cd bin 
ls
it looked like this

HelloWorld.class  jar               javap             native2ascii
HelloWorld.java   java              jdb               rmic
fastjar           javac             kaffe             rmiregistry
install-jar       javah             kaffeh            serialver

  
  later when i try to run  like
  java HelloWorld

it is giving the below message .
exec:5: /home/gowri/codebase/exp_usip/embedded_rootfs/rootfs/usr/local//bin/kad#


Regards
Gowri 


 









More information about the kaffe mailing list