Skip to main content

Error while building optional JSR on phoneME feature MR3

2 replies [Last post]
jagtapyb
Offline
Joined: 2007-05-23

Hello All,

I have successfully compiled phoneME feature MR3 for linux. But when I am trying to compile it by enabling optional JSR I am getting following error.

... /home/user/Project/MR3/Test/phoneme_feature/output_i386/midp/obj/i386/kni_utils.o
In file included from /home/user/Project/MR3/Test/phoneme_feature/abstractions/src/cldc_application/native/share/kni_utils.c:25:
/home/user/Project/MR3/Test/phoneme_feature/abstractions/src/share/include/jsrop_kni.h:30:27: javacall_defs.h: No such file or directory
In file included from /home/user/Project/MR3/Test/phoneme_feature/abstractions/src/cldc_application/native/share/kni_utils.c:25:
/home/user/Project/MR3/Test/phoneme_feature/abstractions/src/share/include/jsrop_kni.h:44: error: syntax error before "jsrop_jstring_to_utf16_string"
/home/user/Project/MR3/Test/phoneme_feature/abstractions/src/share/include/jsrop_kni.h:45: error: syntax error before "javacall_utf16_string"
/home/user/Project/MR3/Test/phoneme_feature/abstractions/src/share/include/jsrop_kni.h:45: warning: type defaults to `int' in declaration of `jsrop_jstring_to_utf16_string'

I have exported following additional build variables.
export USE_ABSTRACTIONS=true
export ABSTRACTIONS_DIR=$PHONEME_SOURCE_DIR/abstractions
export USE_JSR_75=true
export JSR_75_DIR=$PHONEME_SOURCE_DIR/jsr75

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jagtapyb
Offline
Joined: 2007-05-23

I am building phoneME for linux_fb_gcc(and not for javacall)

yevgenydiomidov
Offline
Joined: 2006-08-07

Optional JSRs have been implemented using JavaCall porting interface. There is an implementation of JavaCall for win32 (emulation), for linux and other platforms there are stubs only. See Porting User’s Guide http://java.sun.com/javame/reference/docs/sjwc-2.1/pdf-html/html/porting...
But not all JSRs require JavaCall layer, some of them (for example 172) are "pure java JSRs"; they are platform independent.

Message was edited by: yevgenydiomidov