Unable to build icedtea6

Tomas Hurka Tomas.Hurka at Sun.COM
Tue Oct 27 06:20:06 PDT 2009


Hi All,
I am working on integration of VisualVM 1.2 in IcedTea, but I am  
unable to build icedtea6 repository on FC 12 beta. Can somebody help  
me find out what is wrong? If you need more information, please let me  
know. See the build error below:

/usr/bin/gcc  -O2    -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused - 
Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -g   -D_i586_  
-Di586 -DARCH='"i586"' -DLINUX -DRELEASE='"1.6.0_0"' - 
D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/home/th125165/ 
Projects/Source/icedtea6/openjdk-ecj/build/linux-i586/tmp/sun/ 
sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export - 
I../../../src/share/javavm/export -I../../../src/share/javavm/include - 
I../../../src/solaris/javavm/include -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/usr/ 
include -DXAWT -DXAWT_HACK -I/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj/build/linux-i586/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/usr/X11R6/include/X11/ 
extensions -I/usr/include/X11/extensions -I/usr/include -I/usr/X11R6/ 
include   -c -o /home/th125165/Projects/Source/icedtea6/openjdk-ecj/ 
build/linux-i586/tmp/sun/sun.awt.X11/xawt/obj/ 
awt_InputMethod.o  ../../../src/solaris/native/sun/awt/awt_InputMethod.c
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function  
'makeDefaultConfig':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:288: warning:  
format '%x' expects type 'unsigned int *', but argument 3 has type  
'VisualID *'
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function  
'J2DXErrHandler':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error:  
'X_ShmAttach' undeclared (first use in this function)
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error:  
(Each undeclared identifier is reported only once
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:961: error: for  
each function it appears in.)
make[5]: *** [/home/th125165/Projects/Source/icedtea6/openjdk-ecj/ 
build/linux-i586/tmp/sun/sun.awt.X11/xawt/obj/awt_GraphicsEnv.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../../../src/solaris/native/sun/awt/awt_InputMethod.c:50:1: warning:  
"XtWindow" redefined
In file included from ../../../src/solaris/native/sun/awt/awt_p.h:45,
                  from ../../../src/solaris/native/sun/awt/ 
awt_InputMethod.c:43:
/usr/include/X11/IntrinsicP.h:207:1: warning: this is the location of  
the previous definition
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function  
'createStatusWindow':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning:  
pointer targets in passing argument 6 of 'XGetGeometry' differ in  
signedness
/usr/include/X11/Xlib.h:2630: note: expected 'unsigned int *' but  
argument is of type 'int *'
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning:  
pointer targets in passing argument 7 of 'XGetGeometry' differ in  
signedness
/usr/include/X11/Xlib.h:2630: note: expected 'unsigned int *' but  
argument is of type 'int *'
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning:  
pointer targets in passing argument 8 of 'XGetGeometry' differ in  
signedness
/usr/include/X11/Xlib.h:2630: note: expected 'unsigned int *' but  
argument is of type 'int *'
../../../src/solaris/native/sun/awt/awt_InputMethod.c:687: warning:  
pointer targets in passing argument 9 of 'XGetGeometry' differ in  
signedness
/usr/include/X11/Xlib.h:2630: note: expected 'unsigned int *' but  
argument is of type 'int *'
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function  
'createXIC':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1036: warning:  
comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1216: warning:  
assignment from incompatible pointer type
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function  
'Java_sun_awt_X11_XInputMethod_openXIMNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1517: warning:  
cast to pointer from integer of different size
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1527: warning:  
passing argument 5 of 'XRegisterIMInstantiateCallback' from  
incompatible pointer type
/usr/include/X11/Xlib.h:3941: note: expected 'XIDProc' but argument is  
of type 'void (*)(struct _XIM *, char *, char *)'
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function  
'Java_sun_awt_X11_XInputMethod_createXICNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1562: warning:  
comparison between pointer and integer
../../../src/solaris/native/sun/awt/awt_InputMethod.c: In function  
'Java_sun_awt_X11_XInputMethod_setXICFocusNative':
../../../src/solaris/native/sun/awt/awt_InputMethod.c:1712: warning:  
comparison between pointer and integer
make[5]: Leaving directory `/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj/jdk/make/sun/xawt'
make[4]: *** [library_parallel_compile] Error 2
make[4]: Leaving directory `/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj/jdk/make/sun/xawt'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj/jdk/make/sun'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj/jdk/make'
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory `/home/th125165/Projects/Source/icedtea6/ 
openjdk-ecj'
make: *** [stamps/icedtea-ecj.stamp] Error 2


Thanks,
--
Tomas Hurka   <mailto:tomas.hurka at sun.com>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic






More information about the distro-pkg-dev mailing list