recipe for target 'hotspot' failed

Erik Joelsson erik.joelsson at oracle.com
Thu Oct 8 06:48:18 UTC 2015


You need to set it on the command line to make, otherwise it won't 
override the make variable.

make all WARNINGS_ARE_ERRORS=

I'm surprised you need to set all those configure flags. I would expect 
configure to figure out freetype and X on its own when the locations are 
that obvious.

/Erik

On 2015-10-07 18:13, Athenas Jimenez wrote:
> Hello Erik,
>
> I'm compiling with gcc 5.2.0. and my commands are:
>
> $ set WARNINGS_ARE_ERRORS=
> $ bash configure --x-includes=/usr/include/ --x-libraries=/usr/lib64 
> --with-freetype-lib=/usr/lib64 --with-freetype-include=/usr/include 
> --with-target-bits=64 --disable-warnings-as-errors --enable-debug
> $ cd build/linux-x86_64-normal-server-fastdebug/
> $ make all
>
>
> Sadly, setting WARNINGS_ARE_ERRORS didn't help :(
>
>
>
>
> On Wed, Oct 7, 2015 at 2:44 AM, Erik Joelsson 
> <erik.joelsson at oracle.com <mailto:erik.joelsson at oracle.com>> wrote:
>
>     Hello,
>
>     Hotspot is built with warnings treated as errors turned on by
>     default. It seems your compiler is finding warnings that ours do
>     not. To work around it you can run set WARNINGS_ARE_ERRORS= on the
>     command line to make.
>
>     What compiler and version are you using?
>
>     /Erik
>
>
>     On 2015-10-07 01:19, Athenas Jimenez wrote:
>
>         Hello,
>
>         I have some problems with my openJDK building. I started
>         looking in the
>         internet and I found some similar issues, but the fixes didn't
>         help.
>
>         Could someone provide me some help?
>
>         Here is my log: http://pastebin.com/H4GpLZth
>
>         Thanks in advance.
>
>
>




More information about the build-dev mailing list