I tried to build OpenJFX on Fedora 25 x86_64, but it is failed as below:
-------------
:fxpackager:compileLinuxLibrary/home/ysuenaga/OpenJFX/rt/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp: In member function 'virtual bool PosixProcess::Wait()':
/home/ysuenaga/OpenJFX/rt/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp:316:10: error: 'wait' was not declared in this scope
wait();
^
-------------
Fedora 25 x86_64
gcc-6.2.1-2.fc25.x86_64
gcc-c++-6.2.1-2.fc25.x86_64
JDK 9 EA b147
wait(2) should be passed one "int *" argument [1].
[1] http://man7.org/linux/man-pages/man2/waitpid.2.html
-------------
:fxpackager:compileLinuxLibrary/home/ysuenaga/OpenJFX/rt/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp: In member function 'virtual bool PosixProcess::Wait()':
/home/ysuenaga/OpenJFX/rt/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp:316:10: error: 'wait' was not declared in this scope
wait();
^
-------------
Fedora 25 x86_64
gcc-6.2.1-2.fc25.x86_64
gcc-c++-6.2.1-2.fc25.x86_64
JDK 9 EA b147
wait(2) should be passed one "int *" argument [1].
[1] http://man7.org/linux/man-pages/man2/waitpid.2.html
- duplicates
-
JDK-8088144 use waitpid instead of wait
-
- Closed
-