-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile OpenJ9 + OpenJDK V8 on my Windows system encountered an error #20812
Comments
Issue Number: 20812 |
Try building it under |
yes,I am compiling in the /cygdrive/d directory. The build environment is Cygwin. The error messages mentioned above also occur in this directory. It's peculiar that within the Cygwin environment, there are references to Windows-style directory paths during compilation. |
Compiling OpenJ9 in /cygdrive/d/jdksrc/openj9-openjdk-jdk8/build/windows-x86_64-normal-server-release/vm |
I have extracted the complete compilation command. who can i help me?? |
i found a file /cygdrive/d/jdksrc/openj9-openjdk-jdk8/closed/fixpath2.sh "/usr/bin/clang" "$@" maybe this shell script transfer the cygwin path to windows path?????? so i try compile this code use "/usr/bin/clang" but more error .... |
this is final compile command after the fixpath2 script |
Actually, I think you need to build from It's configured like |
I tried again, downloaded the code to the /home directory, and compiled it in this directory, but I still encountered errors about missing files. The compilation command is..
|
D:\cygwin\home\openj9\openj9-openjdk-jdk8\openj9\runtime\vm\BytecodeInterpreterCompressed.cpp:29:10: fatal error: 'BytecodeInterpreter.inc' file not found |
Are you saying that cross-compiling a Windows version of the JDK with Cygwin is not possible at the moment? @pshipton |
I don't know what you are doing wrong. We successfully build on Windows using cygwin every day. In case it's of some use, here is configure output from a build I ran.
|
|
I am following the instructions from the article at https://github.com/eclipse-openj9/openj9/blob/master/doc/build-instructions/Build_Instructions_V8.md#windows to compile OpenJ9 + OpenJDK V8 on my Windows system, but I encountered an error indicating that a file could not be found, even though the file exists in the same directory.
the error is
[ 83%] Building J9VM_CXX object runtime/vm/CMakeFiles/j9vm.dir/BytecodeInterpreterCompressed.cpp.o D:\jdksrc\openj9-openjdk-jdk8\openj9\runtime\vm\BytecodeInterpreterCompressed.cpp:29:10: fatal error: 'BytecodeInterpreter.inc' file not found #include "BytecodeInterpreter.inc" ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[4]: *** [runtime/vm/CMakeFiles/j9vm.dir/build.make:1620: runtime/vm/CMakeFiles/j9vm.dir/BytecodeInterpreterCompressed.cpp.o] Error 1 make[3]: *** [CMakeFiles/Makefile2:8960: runtime/vm/CMakeFiles/j9vm.dir/all] Error 2 make[2]: *** [Makefile:124: all] Error 2 make[1]: *** [/cygdrive/d/jdksrc/openj9-openjdk-jdk8/closed/OpenJ9.gmk:486: build-j9vm] Error 2 make: *** [/cygdrive/d/jdksrc/openj9-openjdk-jdk8/closed/make/Main.gmk:50: build-j9vm] Error 2
The text was updated successfully, but these errors were encountered: