Hi, Just feedback , build was ok with fedora 19. Thanks Omair Majid for the flag tips.
$ sudo yum groupinstall "Development Tools" $ sudo yum install gcc-c++ $ sudo yum install libXrender-devel $ sudo yum install freetype-devel $ sudo yum install libXt-devel $ ./configure $ make DEBUG_BINARIES=true SCTP_WERROR="" all Thanks, Helio 2013/7/25 Helio Frota <heliofr...@gmail.com> > Hi > > sudo yum install libXt-devel solve the dependency problem. > > but i get other... > > cc1: all warnings being treated as errors > gmake[2]: *** > [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/objs/libsctp/SctpChannelImpl.o] > Error 1 > > gmake[2]: *** Waiting for unfinished jobs.... > cc1: all warnings being treated as errors > gmake[2]: *** > [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/objs/libsctp/SctpNet.o] > Error 1 > gmake[1]: *** [libs-only] Error 2 > > make: *** [jdk-only] Error 2 > > is right disable warnings treated as errors ? > > Regards, > Helio > > > > > > 2013/7/25 Helio Frota <heliofr...@gmail.com> > >> Hi Omair and Alan, >> >> >> I get this error: >> >> In file included from >> /home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/gensrc_x11wrappers/sizer.32.c:11:0: >> /home/hf/adopt_openjdk/openjdk8/jdk/src/solaris/native/sun/awt/awt_p.h:44:27: >> fatal error: X11/Intrinsic.h: No such file or directory >> #include <X11/Intrinsic.h> >> ^ >> compilation terminated. >> gmake[2]: *** >> [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/gensrc_x11wrappers/sizer.32.exe] >> Error 1 >> gmake[2]: *** Waiting for unfinished jobs.... >> gmake[1]: *** [gensrc-only] Error 2 >> >> make: *** [jdk-only] Error 2 >> >> Omair thanks for the tip "make DEBUG_BINARIES=true all" works. >> >> Regards, >> Helio >> >> >> >> 2013/7/24 Helio Frota <heliofr...@gmail.com> >> >>> Hi Omair, >>> >>> >>> The only problem is that modern gcc versions don't produce stabs either. >>> Try: >>> $ make DEBUG_BINARIES=true all >>> >>> Thanks for the tip ! >>> >>> I will try again tomorrow on job (fedora19) machine. >>> >>> Regards, >>> Helio >>> >>> >>> >>> 2013/7/24 Omair Majid <oma...@redhat.com> >>> >>>> On 07/24/2013 04:11 PM, Helio Frota wrote: >>>> > Hi, >>>> > >>>> > I got the same problem with GCC 4.8.1 and Manjaro distribution ( >>>> distro >>>> > son of archlinux ) >>>> > >>>> > Generating precompiled header precompiled.hpp.gch >>>> > cc1plus: error: the "stabs" debug format cannot be used with >>>> > pre-compiled headers [-Werror=deprecated] >>>> > cc1plus: all warnings being treated as errors >>>> > gmake[6]: *** [precompiled.hpp.gch] Error 1 >>>> > gmake[5]: *** [the_vm] Error 2 >>>> > gmake[4]: *** [product] Error 2 >>>> > gmake[3]: *** [generic_build2] Error 2 >>>> > gmake[2]: *** [product] Error 2 >>>> > gmake[1]: *** >>>> > >>>> [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/hotspot/_hotspot.timestamp] >>>> > Error 2 >>>> > make: *** [hotspot-only] Error 2 >>>> >>>> from hotspot/make/linux/makefiles/gcc.make: >>>> >>>> # DEBUG_BINARIES uses full -g debug information for all configs >>>> ifeq ($(DEBUG_BINARIES), true) >>>> CFLAGS += -g >>>> else >>>> # Use the stabs format for debugging information (this is the default >>>> # on gcc-2.91). It's good enough, has all the information about line >>>> # numbers and local variables, and libjvm.so is only about 16M. >>>> # Change this back to "-g" if you want the most expressive format. >>>> # (warning: that could easily inflate libjvm.so to 150M!) >>>> >>>> The only problem is that modern gcc versions don't produce stabs either. >>>> >>>> Try: >>>> >>>> $ make DEBUG_BINARIES=true all >>>> >>>> Cheers, >>>> Omair >>>> >>>> -- >>>> PGP Key: 66484681 (http://pgp.mit.edu/) >>>> Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 >>>> >>> >>> >>> >>> -- >>> Helio Frota >>> JUG Leader - CEJUG >>> http://www.cejug.org/ <http://www.linuxgames.com.br/> >>> http://www.linkedin.com/in/heliofrota >>> >>> >>> >> >> >> -- >> Helio Frota >> JUG Leader - CEJUG >> http://www.cejug.org/ <http://www.linuxgames.com.br/> >> http://www.linkedin.com/in/heliofrota >> >> >> > > > -- > Helio Frota > JUG Leader - CEJUG > http://www.cejug.org/ <http://www.linuxgames.com.br/> > http://www.linkedin.com/in/heliofrota > > > -- Helio Frota JUG Leader - CEJUG http://www.cejug.org/ <http://www.linuxgames.com.br/> http://www.linkedin.com/in/heliofrota