Skip to main content

Build javacall for wince using EVC4.0

5 replies [Last post]
geelpheels
Offline
Joined: 2006-05-05
Points: 0

Using mr3 to build javacall for wince. At first, included the rules_ce.gmk not rules.gmk. Secondly use -D_M_ARM. But while compiling, following errors were reported:
fileconnection.c
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winnt.h(2952) : error C206
1: syntax error : identifier 'PCONTEXT'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winnt.h(2953) : error C205
9: syntax error : '}'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(1513) : error C2
061: syntax error : identifier 'LPCONTEXT'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(1513) : error C2
059: syntax error : ';'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2266) : error C2
146: syntax error : missing ')' before identifier 'lpContext'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2266) : error C2
081: 'LPCONTEXT' : name in formal parameter list illegal
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2266) : error C2
061: syntax error : identifier 'lpContext'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2266) : error C2
059: syntax error : ';'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2267) : error C2
059: syntax error : ')'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2274) : error C2
143: syntax error : missing ')' before '*'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2274) : error C2
143: syntax error : missing '{' before '*'
f:\Windows CE Tools\WCE400\STANDARDSDK\include\ARMV4T\winbase.h(2275) : error C2
059: syntax error : ')'
F:/phoneme_feature_mr3/phoneme_feature_wince/javacall-com/implementation/win32_e
mul/jsr75_pim_fc/fileconnection.c(90) : fatal error C1083: Cannot open include f
ile: 'direct.h': No such file or directory
make: *** [F:/phoneme_feature_mr3/phoneme_feature_wince/build_output/javacall/ob
j/fileconnection.obj] Error 2
make: Leaving directory `F:/phoneme_feature_mr3/phoneme_feature_wince/javacall-c
om/configuration/phoneMEFeature/win32_emul'

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
geelpheels
Offline
Joined: 2006-05-05
Points: 0

OK. I'm using the wrong library and includes.

davyp
Offline
Joined: 2007-01-03
Points: 0

I do not use javacall when building for WinCE. You can get a working pMEF by only compiling
PCSL+CLDC+MIDP. Of course, any JSR that has a direct dependency on javacall will fail to
build. See also my response to your previous post.

Davy

geelpheels
Offline
Joined: 2006-05-05
Points: 0

But is there any way to use javacall for winCE? What is the file rules_ce.gmk for?

yevgenydiomidov
Offline
Joined: 2006-08-07
Points: 0

rules_ce.gmk, javacall/implementation/wince are signs of a try/experiment to support wince platform.
Also please see http://forums.java.net/jive/thread.jspa?threadID=45367&tstart=0

Davy Preuveneers

On Tuesday 12 August 2008 13:13:15 yevgenydiomidov wrote:
> rules_ce.gmk, javacall/implementation/wince are signs of a try/experiment
> to support wince platform. Also please see
> http://forums.java.net/jive/thread.jspa?threadID=45367&tstart=0 [Message
> sent by forum member 'yevgenydiomidov' (yevgenydiomidov)]
>
> http://forums.java.net/jive/thread.jspa?messageID=292818
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: feature-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: feature-help@phoneme.dev.java.net

I am only able to compile a fairly outdated javacall-ext-jump branch. While
the old branch still works for a recent pMEA dual stack build, it is too old
for a pMEF build because many dependencies are missing. Things break as soon
as I want to compile a javacall based PCSL.

Davy

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