How to build avian for wince 6.0

28 views
Skip to first unread message

dog...@gmail.com

unread,
Jan 22, 2018, 9:54:31 AM1/22/18
to Avian

I would like to build avian jvm for windows CE 6.0.
I already made avian for i386, but I have problems with build for wince in VisualStudio 2008:

I download https://github.com/gkvas/avian-win-projects
Open this project in VS2008.  Libce is build ok.
avian-wince-dll errors.


Error    1    error C2008: '!' : unexpected in macro definition    c:\cygwin\home\administrator\avian\classpath\jni-util.h    51    avian-wince-dll
Error    2    error C2065: '_TRUNCATE' : undeclared identifier    c:\cygwin\home\administrator\avian\classpath\jni-util.h    92    avian-wince-dll
Error    3    error C3861: 'vsnprintf_s': identifier not found    c:\cygwin\home\administrator\avian\classpath\jni-util.h    92    avian-wince-dll
Error    4    error C2065: 'errno' : undeclared identifier    c:\cygwin\home\administrator\avian\classpath\jni-util.h    111    avian-wince-dll
Error    5    error C3861: 'strerror_s': identifier not found    c:\cygwin\home\administrator\avian\classpath\jni-util.h    111    avian-wince-dll
Error    17    error C3861: 'strerror_s': identifier not found    c:\cygwin\home\Administrator\avian\classpath\java-nio.cpp    79    avian-wince-dll
Error    18    error C3861: 'sprintf_s': identifier not found    c:\cygwin\home\Administrator\avian\classpath\java-nio.cpp    91    avian-wince-dll
Error    19    error C3861: 'sprintf_s': identifier not found    c:\cygwin\home\Administrator\avian\classpath\java-nio.cpp    103    avian-wince-dll
Error    26    fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory    C:\avian\src\avian\common.h    29    avian-wince-dll
Error    33    error C2065: 'HANDLE_FLAG_INHERIT' : undeclared identifier    c:\cygwin\home\Administrator\avian\classpath\java-lang.cpp    418    avian-wince-dll
Error    34    error C3861: 'SetHandleInformation': identifier not found    c:\cygwin\home\Administrator\avian\classpath\java-lang.cpp    418    avian-wince-dll
Error    41    fatal error C1189: #error :  "unknown architecture"    c:\cygwin\home\Administrator\avian\classpath\java-lang.cpp    860    avian-wince-dll
Warning    46    warning C4005: 'UNICODE' : macro redefinition    c:\cygwin\home\Administrator\avian\classpath\java-io.cpp    23    avian-wince-dll
Warning    47    warning C4005: 'S_ISREG' : macro redefinition    c:\cygwin\home\Administrator\avian\classpath\java-io.cpp    45    avian-wince-dll
Warning    48    warning C4005: 'S_ISDIR' : macro redefinition    c:\cygwin\home\Administrator\avian\classpath\java-io.cpp    46    avian-wince-dll
Error    49    error C2664: 'GetFileAttributesA' : cannot convert parameter 1 from 'string_t' to 'LPCSTR'    c:\cygwin\home\Administrator\avian\classpath\java-io.cpp    392    avian-wince-dll
Error    50    error C3861: '_wremove': identifier not found    c:\cygwin\home\Administrator\avian\classpath\java-io.cpp    395    avian-wince-dll
Error    55    fatal error C1083: Cannot open source file: '..\avian\src\vm\system\windows.cpp': No such file or directory    c1xx    avian-wince-dll
Error    57    error C2371: 'time_t' : redefinition; different basic types    C:\avian\libce\sys\types.h    61    avian-wince-dll
Error    58    fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory    C:\avian\src\avian\common.h    29    avian-wince-dll
Error    59    fatal error C1083: Cannot open source file: '..\avian\src\codegen\arm\assembler.cpp': No such file or directory    c1xx    avian-wince-dll

What's problem?
Thanks.

Joel Dice .

unread,
Jan 22, 2018, 10:09:28 AM1/22/18
to Avian
Hi,

That project (gkvas/avian-win-projects) hasn't been updated since 2013, so I doubt it's being maintained.  The upstream Avian project doesn't support WinCE and never has, so I'm afraid I can't help.

You could try filing an issue on GitHub with the gkvas/avian-win-projects; Gernot (the project owner) might have some tips.

--
You received this message because you are subscribed to the Google Groups "Avian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to avian+unsubscribe@googlegroups.com.
To post to this group, send email to av...@googlegroups.com.
Visit this group at https://groups.google.com/group/avian.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages