ccplus: warnings being trated as errors

Mark Wielaard mark at
Thu Nov 29 12:46:47 UTC 2007

Hi Roger,

On Thu, 2007-11-29 at 08:07 -0300, Roger Abelenda wrote:
> Hello i'm trying to compile the openjdk machine with open Suse 10.3.
> I'm using the b22 version of openjdk, and jdk 1.6_03 virtual machine
> as boostrap and import_jdk_directory. When i put it tu compile at last
> of the errors messages it gives me the following:
> cc1plus: warnings being treated as errors
> /home/roger/Desktop/openjdk/hotspot/src/os/linux/vm/jvm_linux.cpp:182:
> warning: deprecated conversion from string constant to 'char*'
> [...]
> make[5]: *** [jvm_linux.o] Error 1
> make[4]: *** [the_vm] Error 2
> make[3]: *** [product] Error 2
> make[2]: *** [generic_build2] Error 2
> make[1]: *** [product] Error 2
> make: *** [hotspot-build] Error 2
> I already installed it in Fedora Core 6 successfully and it didn't
> show me that kind of error. I apreciate any advise.

Yes, had the same issue on Debian. Arnaud van Dyck made a page
describing how to compile (icedtea derived from openjdk) on Debian using
a couple of small patches:
Some of those patches might also be appropriate for your suse system.



More information about the build-dev mailing list