Hi,
I am getting following error when i want to build classpath-0.98 for xscale linux platform. Same error is throw when i try to build it for my Fedora linux.
gcc Versions:
arm-linux-gcc 3.4.4
gcc 4.1.0
please help
thanks
asutosh
=================
arm-linux-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/jni/native-lib -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Werror -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -fexceptions -fasynchronous-unwind-tables -g -O2 -MT gnu_java_awt_peer_gtk_CairoSurface.lo -MD -MP -MF .deps/gnu_java_awt_peer_gtk_CairoSurface.Tpo -c gnu_java_awt_peer_gtk_CairoSurface.c -fPIC -DPIC -o .libs/gnu_java_awt_peer_gtk_CairoSurface.o
gnu_java_awt_peer_gtk_CairoSurface.c: In function `Java_gnu_java_awt_peer_gtk_CairoSurface_destroy':
gnu_java_awt_peer_gtk_CairoSurface.c:99: warning: implicit declaration of function `cairo_image_surface_get_data'
gnu_java_awt_peer_gtk_CairoSurface.c:99: warning: initialization makes pointer from integer without a cast
gnu_java_awt_peer_gtk_CairoSurface.c: In function `Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative':
gnu_java_awt_peer_gtk_CairoSurface.c:291: warning: initialization makes pointer from integer without a cast
gnu_java_awt_peer_gtk_CairoSurface.c: In function `Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava':
gnu_java_awt_peer_gtk_CairoSurface.c:313: warning: initialization makes pointer from integer without a cast
make[3]: *** [gnu_java_awt_peer_gtk_CairoSurface.lo] Error 1
make[3]: Leaving directory `/root/classpath-0.98/native/jni/gtk-peer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/classpath-0.98/native/jni'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/classpath-0.98/native'
make: *** [all-recursive] Error 1