Symbian
Symbian OS Library

FAQ-0822 Why does my JNI project build OK for the 9200 Series emulator but not the communicator?

[Index][spacer] [Previous] [Next]



 

Classification: Java Category: JNI
Created: 09/17/2002 Modified: 01/22/2004
Number: FAQ-0822
Platform: Symbian OS v6.0

Question:
I am able to build the infoprint JNI example projects OK for the 9200 Series emulator with "nmake", but the compilation fails when I try to build for the communicator with "nmake target=arm-unicode". The compiler seems to be looking in the wrong place for system files. What can I do to fix this?

Answer:
The 9200 Communicator Series SDK for Symbian OS v6.0 shipped with a defective version of the file make.defs (in \erj\makefiles) which, inter alia, points the compiler to the system files it need to compile and link against. If you replace the version you have with the one attached below, it should solve your problem.


    Note: if similar compilation problems occur for the emulator, see FAQ-0821.