Hi David, My bad, I was using http://hg.openjdk.java.net/jdk9/dev as opposed to http://hg.openjdk.java.net/jdk9/jdk9 - of course this leads to my third build issue which I'll post about with a separate title. Apologies all, I appreciate it's painful to deal with the endless queries on my part, please stack up the beverages score of what I owe all of you when we next meet in person!
Cheers, Martijn On 17 June 2015 at 13:49, David Holmes <[email protected]> wrote: > On 17/06/2015 9:06 PM, Martijn Verburg wrote: > >> Hi all, >> >> Building jdk9 on latest Mac OS X, XCode/Clang etc. Not sure if the Mac OS >> X build still needs to rely on BSD as such.... I'll dig further but >> figured it was worth reporting the initial error. >> >> ------- >> >> Note: Recompile with -Xlint:unchecked for details. >> >> /Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jdk9/hotspot/src/os/bsd/vm/os_bsd.cpp:196:10: >> error: out-of-line definition of 'getenv' does not match any declaration >> in >> 'os' >> bool os::getenv(const char* name, char* buf, int len) { >> > > os::getenv was removed. Are you working with an up to date and consistent > source forest ?? > > David > > > ^~~~~~ > >> 1 error generated. >> make[10]: *** [os_bsd.o] Error 1 >> make[10]: *** Waiting for unfinished jobs.... >> make[9]: *** [the_vm] Error 2 >> make[8]: *** [product] Error 2 >> make[7]: *** [generic_build2] Error 2 >> make[6]: *** [product] Error 2 >> make[5]: *** [all_product_universal] Error 2 >> make[4]: *** [universal_product] Error 2 >> make[3]: *** >> >> [/Users/karianna/Documents/workspace/AdoptOpenJDK_Projects/jdk9/build/macosx-x86_64-normal-server-release/hotspot/_hotspot.timestamp] >> Error 2 >> make[2]: *** [hotspot] Error 2 >> >> ERROR: Build failed for targets 'clean images' in configuration >> 'macosx-x86_64-normal-server-release' (exit code 2) >> Hint: If caused by a warning, try configure --disable-warnings-as-errors >> >> make[1]: *** [main] Error 2 >> make: *** [clean] Error 2 >> >> Cheers, >> Martijn >> >>
