openjdk7 gtk check

Waldemar Brodkorb wbx at openadk.org
Sun Aug 17 14:27:11 UTC 2014


Hi,                                                                                                                                                                                                         
                                                                                                                                                                                                            
I regulary cross-compile openjdk7, but since icedtea 2.5.x I get
following error, while doing the first host-compile of openjdk7:                                                                           
                                                                                                                                                                                                            
cc  -O2   -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused
-Wno-parentheses -pipe -m64 -D_LITTLE_ENDIAN -g   -DNDEBUG
-DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.7.0_65"'
-D_LARGEFILE64_SOURCE         
+-D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -DUSE_PTHREADS -I.
-I/adk/openjdk/host_build_x86_64-linux-gnu/w-openjdk7-2.5.1-1-host/icedtea-2.5.1/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/CClassHeaders         
+-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt/X11                    
+-I../../../src/solaris/native/sun/awt/X11
-I/adk/openjdk/host_x86_64-linux-gnu/usr/include -DXAWT -DXAWT_HACK                                                                                            
+-I/adk/openjdk/host_build_x86_64-linux-gnu/w-openjdk7-2.5.1-1-host/icedtea-2.5.1/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/../../sun.awt/awt/CClassHeaders
-I../../../src/solaris/native/sun/awt         
+-I../../../src/solaris/native/sun/xawt
-I../../../src/solaris/native/sun/jdga
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/image/cvutils                                  
+-I../../../src/share/native/sun/java2d
-I../../../src/share/native/sun/java2d/loops
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/image                            
+-I../../../src/share/native/sun/font
-I../../../src/solaris/native/sun/java2d
-I../../../src/share/native/sun/java2d/pipe
-I../../../src/share/native/sun/java2d/opengl                                    
+-I../../../src/solaris/native/sun/java2d/opengl
-I../../../src/solaris/native/sun/java2d/x11
-I../../../src/share/native/sun/dc/path
-I../../../src/share/native/sun/dc/doe                                
+-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/solaris/native/sun/font                      
+-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt
-I../../../src/solaris/native/common/deps/gtk2 -DUSE_SYSTEM_CUPS
-I../../../src/solaris/native/common/deps/fontconfig2           
+-I../../../src/solaris/native/common/deps/glib2
-I/usr/X11R6/include/X11/extensions -I/usr/include/X11/extensions
-I/adk/openjdk/host_x86_64-linux-gnu/usr//include   -c -o                                
+/adk/openjdk/host_build_x86_64-linux-gnu/w-openjdk7-2.5.1-1-host/icedtea-2.5.1/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/gtk_fp_check.o                                                            
+../../../src/solaris/native/common/deps/gtk2/gtk_fp_check.c                                                                                                                                                
In file included from
../../../src/solaris/native/common/deps/gtk2/gtk_fp_check.c:25:0:                                                                                                                     
../../../src/solaris/native/common/deps/gtk2/gtk_fp_check.h:28:1:
error: unknown type name ‘gboolean’                                                                                                       
 gboolean gtk2_check_dlversion();                                                                                                                                                                           
 ^                                                                                                                                                                                                          
../../../src/solaris/native/common/deps/gtk2/gtk_fp_check.c:27:8:
error: unknown type name ‘gboolean’                                                                                                       
 static gboolean gtk2_present = FALSE;                                                                                                                                                                      
        ^                                                                                                                                                                                                   
../../../src/solaris/native/common/deps/gtk2/gtk_fp_check.c:27:32:
error: ‘FALSE’ undeclared here (not in a function)                                                                                       
 static gboolean gtk2_present = FALSE;                                                                                                                                                                      
                                                                                                                                                                                                            
I use —disable-system-gtk, so I would think that gtk2 check
shouldn’t be run?                                                                                                                               
                                                                                                                                                                                                            
Full log is here: http://www.openadk.org/openjdk7.log                                                                                                                                                       
                                                                                                                                                                                                            
Thanks for any ideas,                                                                                                                                                                                       
 best regards                                                                                                                                                                                               
  Waldemar                               



More information about the distro-pkg-dev mailing list