Skip to main content

building midp

6 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

Chris Plummer wrote:
> I'm trying to build midp on wm5 by just using USE_MIDP=true. It fails
> to build because javacall.lib never gets built. I recall someone
> saying that the javacall based PCSL only works when also building the
> JSRs, so you need to use a different PCSL if you want to build just
> MIDP. Can someone refresh my memory on the build options and pcsl
> component needed to get this to build?
>
> thanks,
>
> Chris

Also, cross-posting thread into pMEA forum.

Terrence, didn't you come across the problem building MIDP on WinMobile
and the dependency on JavaCall? Was there something special you
documented in the TWiki pages that addressed this?

Thanks,

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

I updated the WinMobile wiki build instructions

http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile

What I didn't document is that you also need

CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com

Since these are commercial sources it doesn't really apply to the
OS code base. I didn't find a way to build from OS code only at this
time. But apparently this dependency will be fixed soon.

See

http://forums.java.net/jive/thread.jspa?threadID=33702&tstart=0

I didn't run into the PCSL issue ... I just built it according to
the wiki.

-- Terrence

Hinkmond Wong wrote:
> Chris Plummer wrote:
>> I'm trying to build midp on wm5 by just using USE_MIDP=true. It fails
>> to build because javacall.lib never gets built. I recall someone
>> saying that the javacall based PCSL only works when also building the
>> JSRs, so you need to use a different PCSL if you want to build just
>> MIDP. Can someone refresh my memory on the build options and pcsl
>> component needed to get this to build?
>>
>> thanks,
>>
>> Chris
>
> Also, cross-posting thread into pMEA forum.
>
> Terrence, didn't you come across the problem building MIDP on WinMobile
> and the dependency on JavaCall? Was there something special you
> documented in the TWiki pages that addressed this?
>
>
> Thanks,
>
> Hinkmond
[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

The new depedndency is the use of Javacall porting layer below the
javacall component
for WinMobile platform builds. The setting of CVM_INCLUDE_JAVACALL
should be automatic in the PCSL makefile. We've tried to set default
include flags and
component directory locations where ever possible. After the
PROJECT_JAVACALL_DIR
dependency is removed, we should double check the standard build script
to see
what other defaults have not been addressed, yet.

Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
> I updated the WinMobile wiki build instructions
>
>
> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>
>
> What I didn't document is that you also need
>
> CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com
>
> Since these are commercial sources it doesn't really apply to the
> OS code base. I didn't find a way to build from OS code only at this
> time. But apparently this dependency will be fixed soon.
>
> See
>
> http://forums.java.net/jive/thread.jspa?threadID=33702&tstart=0
>
> I didn't run into the PCSL issue ... I just built it according to
> the wiki.
>
> -- Terrence
>
> Hinkmond Wong wrote:
>> Chris Plummer wrote:
>>> I'm trying to build midp on wm5 by just using USE_MIDP=true. It
>>> fails to build because javacall.lib never gets built. I recall
>>> someone saying that the javacall based PCSL only works when also
>>> building the JSRs, so you need to use a different PCSL if you want
>>> to build just MIDP. Can someone refresh my memory on the build
>>> options and pcsl component needed to get this to build?
>>>
>>> thanks,
>>>
>>> Chris
>>
>> Also, cross-posting thread into pMEA forum.
>>
>> Terrence, didn't you come across the problem building MIDP on
>> WinMobile and the dependency on JavaCall? Was there something
>> special you documented in the TWiki pages that addressed this?
>>
>>
>> Thanks,
>>
>> Hinkmond
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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

Terrence Barr - Evangelist, Java Mobile & Embedded

Gary,

I am confused now ... Does that mean the dependency on javacall-com
has been removed now or not? Is it possible now to build WM from the
open source repository alone?

Thanks,

-- Terrence

Gary wrote:
> The new depedndency is the use of Javacall porting layer below the
> javacall component
> for WinMobile platform builds. The setting of CVM_INCLUDE_JAVACALL
> should be automatic in the PCSL makefile. We've tried to set default
> include flags and
> component directory locations where ever possible. After the
> PROJECT_JAVACALL_DIR
> dependency is removed, we should double check the standard build script
> to see
> what other defaults have not been addressed, yet.
>
>
>
> Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
>> I updated the WinMobile wiki build instructions
>>
>>
>> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>>
>>
>> What I didn't document is that you also need
>>
>> CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com
>>
>> Since these are commercial sources it doesn't really apply to the
>> OS code base. I didn't find a way to build from OS code only at this
>> time. But apparently this dependency will be fixed soon.
>>
>> See
>>
>> http://forums.java.net/jive/thread.jspa?threadID=33702&tstart=0
>>
>> I didn't run into the PCSL issue ... I just built it according to
>> the wiki.
>>
>> -- Terrence
>>
>> Hinkmond Wong wrote:
>>> Chris Plummer wrote:
>>>> I'm trying to build midp on wm5 by just using USE_MIDP=true. It
>>>> fails to build because javacall.lib never gets built. I recall
>>>> someone saying that the javacall based PCSL only works when also
>>>> building the JSRs, so you need to use a different PCSL if you want
>>>> to build just MIDP. Can someone refresh my memory on the build
>>>> options and pcsl component needed to get this to build?
>>>>
>>>> thanks,
>>>>
>>>> Chris
>>>
>>> Also, cross-posting thread into pMEA forum.
>>>
>>> Terrence, didn't you come across the problem building MIDP on
>>> WinMobile and the dependency on JavaCall? Was there something
>>> special you documented in the TWiki pages that addressed this?
>>>
>>>
>>> Thanks,
>>>
>>> Hinkmond
>> ------------------------------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
>> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>>
>

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org
http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.
[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 Adams

I just did a clean build using the java.net sources
from cdc/trunk/build/win320arm-wm5
with the following script. (Note: the only reason
I have explicitly specified xxx_DIR variables
is my work area is full of trunk and branches,
so I routinely build with different variants.)

TOP_DIR=$HOME/phoneme

make \
JDK_HOME=c:/j2sdk1.4.2_13 \
CVM_PRELOAD_LIB=true \
CVM_DEBUG=true \
J2ME_CLASSLIB=foundation \
TOOLS_DIR=$TOP_DIR/tools/trunk \
USE_MIDP=true \
MIDP_DIR=$TOP_DIR/midp/trunk \
PCSL_DIR=$TOP_DIR/pcsl/trunk \
JAVACALL_DIR=$TOP_DIR/javacall/branches/javacall-ext-jump \
$@

Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
> Gary,
>
> I am confused now ... Does that mean the dependency on javacall-com
> has been removed now or not? Is it possible now to build WM from the
> open source repository alone?
>
> Thanks,
>
> -- Terrence
>
> Gary wrote:
>> The new dependency is the use of Javacall porting layer below the
>> javacall component
>> for WinMobile platform builds. The setting of CVM_INCLUDE_JAVACALL
>> should be automatic in the PCSL makefile. We've tried to set default
>> include flags and
>> component directory locations where ever possible. After the
>> PROJECT_JAVACALL_DIR
>> dependency is removed, we should double check the standard build
>> script to see
>> what other defaults have not been addressed, yet.
>>
>>
>>
>> Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
>>> I updated the WinMobile wiki build instructions
>>>
>>>
>>> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>>>
>>>
>>> What I didn't document is that you also need
>>>
>>> CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com
>>>
>>> Since these are commercial sources it doesn't really apply to the
>>> OS code base. I didn't find a way to build from OS code only at this
>>> time. But apparently this dependency will be fixed soon.
>>>
>>> See
>>>
>>> http://forums.java.net/jive/thread.jspa?threadID=33702&tstart=0
>>>
>>> I didn't run into the PCSL issue ... I just built it according to
>>> the wiki.
>>>
>>> -- Terrence
>>>
>>> Hinkmond Wong wrote:
>>>> Chris Plummer wrote:
>>>>> I'm trying to build midp on wm5 by just using USE_MIDP=true. It
>>>>> fails to build because javacall.lib never gets built. I recall
>>>>> someone saying that the javacall based PCSL only works when also
>>>>> building the JSRs, so you need to use a different PCSL if you want
>>>>> to build just MIDP. Can someone refresh my memory on the build
>>>>> options and pcsl component needed to get this to build?
>>>>>
>>>>> thanks,
>>>>>
>>>>> Chris
>>>>
>>>> Also, cross-posting thread into pMEA forum.
>>>>
>>>> Terrence, didn't you come across the problem building MIDP on
>>>> WinMobile and the dependency on JavaCall? Was there something
>>>> special you documented in the TWiki pages that addressed this?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Hinkmond
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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

Terrence Barr - Evangelist, Java Mobile & Embedded

Great, thanks. I will try that tomorrow!

-- Terrece

Gary Adams wrote:
> I just did a clean build using the java.net sources
> from cdc/trunk/build/win320arm-wm5
> with the following script. (Note: the only reason
> I have explicitly specified xxx_DIR variables
> is my work area is full of trunk and branches,
> so I routinely build with different variants.)
>
> TOP_DIR=$HOME/phoneme
>
> make \
> JDK_HOME=c:/j2sdk1.4.2_13 \
> CVM_PRELOAD_LIB=true \
> CVM_DEBUG=true \
> J2ME_CLASSLIB=foundation \
> TOOLS_DIR=$TOP_DIR/tools/trunk \
> USE_MIDP=true \
> MIDP_DIR=$TOP_DIR/midp/trunk \
> PCSL_DIR=$TOP_DIR/pcsl/trunk \
> JAVACALL_DIR=$TOP_DIR/javacall/branches/javacall-ext-jump \
> $@
>
>
> Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
>> Gary,
>>
>> I am confused now ... Does that mean the dependency on javacall-com
>> has been removed now or not? Is it possible now to build WM from the
>> open source repository alone?
>>
>> Thanks,
>>
>> -- Terrence
>>
>> Gary wrote:
>>> The new dependency is the use of Javacall porting layer below the
>>> javacall component
>>> for WinMobile platform builds. The setting of CVM_INCLUDE_JAVACALL
>>> should be automatic in the PCSL makefile. We've tried to set default
>>> include flags and
>>> component directory locations where ever possible. After the
>>> PROJECT_JAVACALL_DIR
>>> dependency is removed, we should double check the standard build
>>> script to see
>>> what other defaults have not been addressed, yet.
>>>
>>>
>>>
>>> Terrence Barr - Evangelist, Java Mobile & Embedded wrote:
>>>> I updated the WinMobile wiki build instructions
>>>>
>>>>
>>>> http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile
>>>>
>>>>
>>>> What I didn't document is that you also need
>>>>
>>>> CVM_INCLUDE_JAVACALL=true PROJECT_JAVACALL_DIR=$TOP/javacall-com
>>>>
>>>> Since these are commercial sources it doesn't really apply to the
>>>> OS code base. I didn't find a way to build from OS code only at this
>>>> time. But apparently this dependency will be fixed soon.
>>>>
>>>> See
>>>>
>>>> http://forums.java.net/jive/thread.jspa?threadID=33702&tstart=0
>>>>
>>>> I didn't run into the PCSL issue ... I just built it according to
>>>> the wiki.
>>>>
>>>> -- Terrence
>>>>
>>>> Hinkmond Wong wrote:
>>>>> Chris Plummer wrote:
>>>>>> I'm trying to build midp on wm5 by just using USE_MIDP=true. It
>>>>>> fails to build because javacall.lib never gets built. I recall
>>>>>> someone saying that the javacall based PCSL only works when also
>>>>>> building the JSRs, so you need to use a different PCSL if you want
>>>>>> to build just MIDP. Can someone refresh my memory on the build
>>>>>> options and pcsl component needed to get this to build?
>>>>>>
>>>>>> thanks,
>>>>>>
>>>>>> Chris
>>>>>
>>>>> Also, cross-posting thread into pMEA forum.
>>>>>
>>>>> Terrence, didn't you come across the problem building MIDP on
>>>>> WinMobile and the dependency on JavaCall? Was there something
>>>>> special you documented in the TWiki pages that addressed this?
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Hinkmond
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>

--
Terrence Barr
Technical Evangelist, Java Mobile & Embedded Community
Phone: +49 711 720 98185
http://www.mobileandembedded.org
http://www.sun.com

Registered Office:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

NOTICE: This email message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message.
[terrence.barr.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net