Date: Wed, 13 May 2009 18:42:22 -0400 From: Kurt Miller <lists@intricatesoftware.com> To: freebsd-java@freebsd.org Cc: ArtemGr <artemciy@gmail.com> Subject: Re: Can't compile openjdk6 b16 Message-ID: <200905131842.23134.lists@intricatesoftware.com> In-Reply-To: <4A0A9111.6060708@gmail.com> References: <4A0A9111.6060708@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I see this is a debug build on amd64, but what version of FreeBSD and what compiler version? Most likely the following change is all that is needed for this warning: -static char *flagnames[] = { +static const char *flagnames[] = { On Wednesday 13 May 2009 5:21:21 am ArtemGr wrote: > cc1plus: warnings being treated as errors > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > /usr/ports/java/openjdk6/work/hotspot/src/share/vm/ci/ciMethodBlocks.cpp:332: > warning: deprecated conversion from string constant to 'char*' > gmake[7]: *** [ciMethodBlocks.o] Error 1 > gmake[7]: *** Waiting for unfinished jobs.... > gmake[7]: Leaving directory > `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir/bsd_amd64_compiler2/jvmg' > gmake[6]: *** [the_vm] Error 2 > gmake[6]: Leaving directory > `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir/bsd_amd64_compiler2/jvmg' > gmake[5]: *** [jvmg] Error 2 > gmake[5]: Leaving directory > `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir' > gmake[4]: *** [generic_build2] Error 2 > gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' > gmake[3]: *** [jvmg] Error 2 > gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' > gmake[2]: *** [hotspot-build] Error 2 > gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work' > gmake[1]: *** [generic_debug_build] Error 2 > gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work' > gmake: *** [debug_build] Error 2 > *** Error code 1 > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905131842.23134.lists>