> Hi Marcos,> > Chris is right: you're using the do by gtk-config> drive.> > Try using this from the N800 Maemo toolchain dominate:> > "pkg-config --cflags gtk"> See this for compose:> > > /msg01792 html> > > Hinkmond> Hi Hinkmond,I am building CDC PP with GTK using this command :alter CVM_TARGET_TOOLS_affix=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- USE_AAPCS=adjust J2ME_CLASSLIB=personal AWT_PEERSET=gtk TOOLS_DIR=/pmea/tools/trunkFor reference: 1 root@maemo:/pmea/cdc/trunk/build/linux-arm-generic# pkg-config --cflags gtk+-2.0-I/usr/consider/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/consider/atk-1.0 -I/usr/consider/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/libpng12 2. Xlib h. Xatom h. Xutil h present in /usr/consider/X11/The errors I am getting-->root@maemo:/pmea/cdc/trunk/build/linux-arm-generic# alter CVM_aim_TOOLS_affix=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux- USE_AAPCS=true J2ME_CLASSLIB=personal AWT_PEERSET=gtk TOOLS_DIR=/pmea/tools/trunkMAKEFLAGS = TOOLS_DIR=/pmea/tools/trunk AWT_PEERSET=gtk J2ME_CLASSLIB=personal USE_AAPCS=true CVM_TARGET_TOOLS_affix=/scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-CVM_HOST = i686-Ubuntu-linuxCVM_aim = linux-arm-genericSHELL = sh -eHOST_CC = /usr/bin/ccHOST_CCC = /usr/bin/g++ZIP = /usr/bin/zipFLEX = /usr/bin/flexBISON = /usr/bin/bisonCVM_JAVA = /home/slk/java/jdk1.4.2/bin/javaCVM_JAVAC = /domiciliate/slk/java/jdk1.4.2/bin/javacCVM_JAVAH = /home/slk/java/jdk1.4.2/bin/javahCVM_JAR = /domiciliate/slk/java/jdk1.4.2/bin/jarTARGET_CC = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-gccTARGET_CCC = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-g++aim_AS = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-gccTARGET_LD = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-gccTARGET_AR = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-arTARGET_RANLIB = /scratchbox/compilers/cs2005q3.2-glibc-arm/bin/arm-linux-ranlibLINKFLAGS = -g -Wl,-export-dynamic LINKLIBS = -lpthread -ldl ASM_FLAGS = -c -fno-common -traditionalCCCFLAGS = -fno-rttiCCFLAGS_SPEED = -c -fno-common -Wall -fno-strict-aliasing -O4CCFLAGS_lay = -c -fno-common -Wall -fno-strict-aliasing -O2CCFLAGS_LOOP = -c -fno-common -Wall -fno-strict-aliasing -O4 CCFLAGS_FDLIB = -c -fno-common -Wall -fno-strict-aliasing -O4 JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_correct_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DJ2ME_CLASSLIB=personal -DTARGET_CPU_FAMILY=arm -DCVM_JIT_write_CCMCODE_TO_CODECACHE -D_GNU_obtain -DCVM_IAI_OPT_ALL -DAAPCS -Dgtkhost uname = Linux maemo 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/LinuxTARGET_CC version = 3.4.4 arm-none-linux-gnueabiHOST_CC version = 4.1.3 i486-linux-gnuCVM_JAVA version = java version 1.4.2_16TOOLS_DIR = /pmea/tools/trunksh: /usr/tools/lib/linux-arm-generic/usr/bin/gtk-config: not foundAWT_LIB_LIBS = -lgthreadAWT_IMPLEMENTATION = peer_basedAWT_PEERSET = gtkGTK_CONFIG =updating../../build/linux-arm-generic/./generated/create_defs mk... Checking for build-time classes to hive away... Checking for phoneME Advanced classes to hive away... Checking for test classes to compile... Checking for demo classes to compile.. sh: /usr/tools/lib/linux-arm-generic/usr/bin/gtk-config: not foundsh: /usr/tools/lib/linux-arm-generic/usr/bin/gtk-config: not foundcc../../src/overlap/personal/native/awt/gtk/GComponentPeer c../../src/share/personal/native/awt/gtk/GComponentPeer c:28:21: gtk/gtk h: No such register or directory../../src/share/personal/native/awt/gtk/GComponentPeer c:29:22: gdk/gdkx h: No such register or directoryIn register included from../../src/share/personal/native/awt/gtk/GComponentPeer h:31 from../../src/overlap/personal/native/awt/gtk/GComponentPeer c:37:../../src/share/personal/native/awt/gtk/awt h:34:22: X11/Xlib h: No such file or directory../../src/share/personal/native/awt/gtk/awt h:35:23: X11/Xatom h: No such register or directory../../src/overlap/personal/native/awt/gtk/awt h:36:23: X11/Xutil h: No such register or directoryIn file included from../../src/share/personal/native/awt/gtk/GComponentPeer c:37:../../src/overlap/personal/native/awt/gtk/GComponentPeer h:46: error: syntax error before "GtkWidget"../../src/overlap/personal/native/awt/gtk/GComponentPeer h:46: warning: no semicolon at end of struct or union../../src/share/personal/native/awt/gtk/GComponentPeer h:50: warning: write defaults to `int' in declaration of `drawWidget'../../src/share/personal/native/awt/gtk/GComponentPeer h:50: warning: data definition has no write or storage categorise../../src/share/personal/native/awt/gtk/GComponentPeer h:59: error: syntax error before "lastClickTime"../../src/share/personal/native/awt/gtk/GComponentPeer h:59: warning: write defaults to `int' in declaration of `lastClickTime'../../src/overlap/personal/native/awt/gtk/GComponentPeer h:59: warning: data definition has no type or storage class../../src/share/personal/native/awt/gtk/GComponentPeer h:67: error: syntax error before '*' token../../src/share/personal/native/awt/gtk/GComponentPeer h:67: warning: type defaults to `int' in declaration of `cursor'../../src/share/personal/native/awt/gtk/GComponentPeer h:67: warning: data definition has no write or storage class../../src/share/personal/native/awt/gtk/GComponentPeer h:80: error: syntax error before '}' token../../src/share/personal/native/awt/gtk/GComponentPeer h:80: warning: write defaults to `int' in declaration of `GComponentPeerData'../../src/overlap/personal/native/awt/gtk/GComponentPeer h:80: warning: data definition has no type or storage categorise../../src/share/personal/native/awt/gtk/GComponentPeer h:89: error: syntax error before "GComponentPeerData"../../src/overlap/personal/native/awt/gtk/GComponentPeer h:94: error: syntax error before '*' token../../src/overlap/personal/native/awt/gtk/GComponentPeer h:94: warning: write defaults to `int' in declaration of `awt_gtk_getData'../../src/share/personal/native/awt/gtk/GComponentPeer h:94: warning: data definition has no type or storage categorise../../src/overlap/personal/native/awt/gtk/GComponentPeer h:95: error: syntax error before '*' token../../src/overlap/personal/native/awt/gtk/GComponentPeer h:95: error: syntax error before '*' token../../src/share/personal/native/awt/gtk/GComponentPeer h:95: warning: write defaults to `int' in declaration of `awt_gtk_getDataFromWidget'../../src/overlap/personal/native/awt/gtk/GComponentPeer h:95: warning: data definition has no write or storage classIn file included from../../src/share/personal/native/awt/gtk/GComponentPeer c:38:../../src/overlap/personal/native/awt/gtk/KeyCodes h:31: error: syntax error before "awt_gtk_getGdkKeyCode"../../src/overlap/personal/native/awt/gtk/KeyCodes h:31: warning: type defaults to `int' in declaration of `awt_gtk_getGdkKeyCode'../../src/share/personal/native/awt/gtk/KeyCodes h:31: warning: data definition has no type or storage class../../src/share/personal/native/awt/gtk/KeyCodes h:32: error: syntax error before "keyCode"In file included from../../src/share/personal/native/awt/gtk/GComponentPeer c:39:../../src/share/personal/native/awt/gtk/GdkGraphics h:38: error: syntax error before "GdkDrawable"../../src/share/personal/native/awt/gtk/GdkGraphics h:38: warning:.
Forex Groups - Tips on Trading
Related article:
http://forums.java.net/jive/thread.jspa?messageID=247424&tstart=0#247424
comments | Add comment | Report as Spam
|