Skip to main content

Build problem: CDC with MIDP build wants JAVACALL_DIR

9 replies [Last post]
terrencebarr
Offline
Joined: 2004-03-04
Points: 0

make TOP=/cygdrive/c/phoneme_advanced_mr2 TOOLS_DIR=/cygdrive/c/phoneme_advanced_mr2/tools J2ME_CLASSLIB=foundation CVM_JIT=true CVM_DEBUG=true CVM_PRELOAD_LIB=true PCSL_DIR=$TOP/pcsl USE_JPEG=true JPEG_DIR=$TOP/jpeg USE_MIDP=true MIDP_DIR=$TOP/midp

Gives me:

../share/defs_op.mk:351: *** JAVACALL_DIR must point to a directory containing javacall implementation sources

defs_op.mk is looking for a directory configuration/phoneMEAdvanced in javacall which doesn't exists in the current javacall component.

What's wrong? Thanks,

-- Terrence

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Just to close this thread:

I've updated the phoneME Advanced wiki at http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile to fix some minor errors and add some clarifications.

To get Windows Mobile to build I had to make two changes:

- Set the TOP directory variable in the shell directly, not in the shell script and not in the make command. I suspect a cygwin quirk.
- Add CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com to the make command line

Currently, the Windows Mobile build has a dependency on the commercial JAVACALL library so you cannot build it from the open source code base alone. But this is temporary and will be fixed within a week or two.

-- Terrence

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Just to close this thread:
>
> I've updated the phoneME Advanced wiki at http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile to fix some minor errors and add some clarifications.
>
> To get Windows Mobile to build I had to make two changes:
>
> - Set the TOP directory variable in the shell directly, not in the shell script and not in the make command. I suspect a cygwin quirk.
> - Add CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com to the make command line
>
> Currently, the Windows Mobile build has a dependency on the commercial JAVACALL library so you cannot build it from the open source code base alone. But this is temporary and will be fixed within a week or two.
>
>

Thanks Terrence. Nice work! Were you able to run your MIDlet OK on
Windows Mobile using phoneME Advanced CDC/MIDP?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Terrence Barr - Evangelist, Java Mobile & Embedded

Hinkmond,

Yes, it worked very well - both stability and performance seemed
fine. The fonts are kind of basic, though. Would be nice to have
professional-looking fonts available in open source.

Next, I want to try SVG - my understanding is that the open source
SVG code base is not quite ready yet but the team in Prague is
working on it and expected to have something for testing quite soon.

-- Terrence

Hinkmond Wong wrote:
> phonemeadvanced@mobileandembedded.org wrote:
>> Just to close this thread:
>>
>> I've updated the phoneME Advanced wiki at
>> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>> to fix some minor errors and add some clarifications.
>> To get Windows Mobile to build I had to make two changes:
>>
>> - Set the TOP directory variable in the shell directly, not in the
>> shell script and not in the make command. I suspect a cygwin quirk.
>> - Add CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com
>> to the make command line
>>
>> Currently, the Windows Mobile build has a dependency on the commercial
>> JAVACALL library so you cannot build it from the open source code base
>> alone. But this is temporary and will be fixed within a week or two.
>>
>>
>
> Thanks Terrence. Nice work! Were you able to run your MIDlet OK on
> Windows Mobile using phoneME Advanced CDC/MIDP?
>
>
> Hinkmond
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
[terrence.barr.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Hinkmond Wong

Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
> Hinkmond,
>
> Yes, it worked very well - both stability and performance seemed
> fine. The fonts are kind of basic, though. Would be nice to have
> professional-looking fonts available in open source.

There is a way to change the Chameleon look & feel. Does someone have a
pointer on how Terrence can change that in the build? I think it is
SKIN=ALTERNATIVE or something like that...

> Next, I want to try SVG - my understanding is that the open source
> SVG code base is not quite ready yet but the team in Prague is
> working on it and expected to have something for testing quite soon.

Very cool! Please let us know how that goes, especially with the
renderer pieces.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Darryl Mocek

Try setting JAVACALL_TARGET=wince_arm

-Darryl

phonemeadvanced@mobileandembedded.org wrote:
> make TOP=/cygdrive/c/phoneme_advanced_mr2 TOOLS_DIR=/cygdrive/c/phoneme_advanced_mr2/tools J2ME_CLASSLIB=foundation CVM_JIT=true CVM_DEBUG=true CVM_PRELOAD_LIB=true PCSL_DIR=$TOP/pcsl USE_JPEG=true JPEG_DIR=$TOP/jpeg USE_MIDP=true MIDP_DIR=$TOP/midp
>
> Gives me:
>
> ../share/defs_op.mk:351: *** JAVACALL_DIR must point to a directory containing javacall implementation sources
>
> defs_op.mk is looking for a directory configuration/phoneMEAdvanced in javacall which doesn't exists in the current javacall component.
>
> What's wrong? Thanks,
>
> -- Terrence
> [Message sent by forum member 'terrencebarr' (terrencebarr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=247621
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Hi Gary,

Yes, I am doing a wm5 build from

/phoneme_advanced_mr2/build/win32-arm-wm5

I checked out javacall-ext-jump but the only target under configuration/phoneMEAdvanced appears to be linux_x86. So even after setting JAVACALL_DIR the build still fails.

-- Terrence

Gary

phonemeadvanced@mobileandembedded.org wrote:
> Hi Gary,
>
> Yes, I am doing a wm5 build from
>
> /phoneme_advanced_mr2/build/win32-arm-wm5
>
> I checked out javacall-ext-jump but the only target under configuration/phoneMEAdvanced appears to be linux_x86. So even after setting JAVACALL_DIR the build still fails.
>
>
Are you using abstractions/trunk?

What build error do you have now after setting JAVACALL_DIR?

I'm not sure what the linux_x86 comment is about?

You may also need to set PROJECT_JAVACALL_DIR using
the internal repository javacall-com/branches/javacall-com-ext-jump,
if there are files not yet unencumbered.

I'm not sure the build instructions were updated on java.net
when the switch to pcsl/javacall/wince stack were made.

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Terrence Barr - Evangelist, Java Mobile & Embedded

Gary wrote:
> phonemeadvanced@mobileandembedded.org wrote:
>> Hi Gary,
>>
>> Yes, I am doing a wm5 build from
>> /phoneme_advanced_mr2/build/win32-arm-wm5
>>
>> I checked out javacall-ext-jump but the only target under
>> configuration/phoneMEAdvanced appears to be linux_x86. So even after
>> setting JAVACALL_DIR the build still fails.
>>
>>
> Are you using abstractions/trunk?

I am using

phoneme.dev.java.net/svn/phoneme/components/javacall/branches/javacall-ext-jump

What is abstractions/trunck?

>
> What build error do you have now after setting JAVACALL_DIR?

The same as before

../share/defs_op.mk:351: *** JAVACALL_DIR must point to a directory containing
javacall implementation sources. Stop.

>
> I'm not sure what the linux_x86 comment is about?

In defs_op.mk the above error msg is generated after checking

JAVACALL_MAKE_FILE =
$($(JSROP_JC_DIR))/configuration/phoneMEAdvanced/$(JAVACALL_TARGET)/module.gmk

in my javacall-ext-jump the only JAVACALL_TARGET that exists at that path is
linux_x86. So this check will fail because there is no Windows mobile target.

>
> You may also need to set PROJECT_JAVACALL_DIR using
> the internal repository javacall-com/branches/javacall-com-ext-jump,
> if there are files not yet unencumbered.

OK

>
> I'm not sure the build instructions were updated on java.net
> when the switch to pcsl/javacall/wince stack were made.

I guess they weren't. I'll update them once I figure this out.

Thanks,

-- Terrence

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
[terrence.barr.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Gary

phonemeadvanced@mobileandembedded.org wrote:
> make TOP=/cygdrive/c/phoneme_advanced_mr2 TOOLS_DIR=/cygdrive/c/phoneme_advanced_mr2/tools J2ME_CLASSLIB=foundation CVM_JIT=true CVM_DEBUG=true CVM_PRELOAD_LIB=true PCSL_DIR=$TOP/pcsl USE_JPEG=true JPEG_DIR=$TOP/jpeg USE_MIDP=true MIDP_DIR=$TOP/midp
>
> Gives me:
>
> ../share/defs_op.mk:351: *** JAVACALL_DIR must point to a directory containing javacall implementation sources
>
> defs_op.mk is looking for a directory configuration/phoneMEAdvanced in javacall which doesn't exists in the current javacall component.
>
> What's wrong? Thanks,
>
> -- Terrence
> [Message sent by forum member 'terrencebarr' (terrencebarr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=247621
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
>
If you're doing a WM5 build, a recent pcsl change to rely on
javacall/wince may be impacting your build. Are you
using javacall/branches/javacall-ext-jump?

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net