Mac OsX Sierra - Stuck on binaryTreeDictionary.hpp compilation

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri May 12 10:33:04 UTC 2017


My recommendation is that you remove the entire output directory ("rm 
-rf build"), re-do the configuration and try again. Before removing, you 
can do "make print-configuration" to get the command line you used to 
configure.

/Magnus

On 2017-05-12 12:12, Tommaso Pasini wrote:
> Hi guys, its the whole morning I'm trying to build OpenJDK 9 on max OS X
> Sierra.
> I was able to configure but when I run the command make clean install, it
> stops with this error:
>
> hotspot/src/share/vm/memory/binaryTreeDictionary.hpp:167:12: error:
>> instantiation of variable 'TreeChunk<FreeChunk, AdaptiveFreeList<FreeChunk>
>>> ::_min_tree_chunk_size' required here, but no definition is available
>> [-Werror,-Wundefined-var-template]
>>
>>      return _min_tree_chunk_size;
>>
>>
> I checked the file and the variable is declared few lines before. I'm not
> an expert of C++ and I'm not finding anything on the web.
>
> Does anybody already faced this problem?
>
> Thanks,
> --Tommaso




More information about the build-dev mailing list