Dynamic change of language(local languages like german, chinese, french....) in Gtk
Hi, I think this question might have discussed but i couldn't find any satisfying answers. While searching in net i found useful info how to provide internationalization/localization(supporting english,french,german,chinese...) support using Gtk. But All is well and all works fine if i reboot my app or system. But in a real world situation like mobile phones,user want to see the language change dynamically(without rebooting/restart). Is there any way to do that? In Qt I think they will connect the widget to Changeevent and will see if the event is Languagechangeevent then settext the label of widget. If any elegant way is there in Gtk to do this kindly suggest me. Thanks, Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: adding transparency to Gtk widgets
Hi Ce, Thanks for your help. It is working fine. Now i could able to display my application with transparancy support. But is there any way to add this into gtkrc file. I mean some thing like alpha =0.6 so that for all the applications the alpha value will be 0.6. and all the applications will be transparent. so that explicitly we need not to supply the alpha value programmatically. I try to put alpha = 0.6 in my gtkrc file inside style default structure. But it is not working. If you can provide me some input inthis regard it will be helpful. Thank you, Regards, Hvr On Sat, Nov 7, 2009 at 4:50 AM, cet cet xni...@yahoo.com wrote: Check out the link below; http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-alpha-channels/ --- On Fri, 11/6/09, harshavardhanreddy mandeepala hvreddy1...@gmail.com wrote: From: harshavardhanreddy mandeepala hvreddy1...@gmail.com Subject: Re: adding transparency to Gtk widgets To: gtk-app-devel-list@gnome.org Date: Friday, November 6, 2009, 4:08 AM Hi Friends, Any ideas on this? Any suggestions are welcome. Harsha On Wed, Nov 4, 2009 at 7:09 PM, harshavardhanreddy mandeepala hvreddy1...@gmail.com wrote: Hi, Is there any way to make Gtk widgets transparent. By using Murrine theme engine and little modifications to my gtk application i could do. In my application I added the following lines For my main window/widget i did the fallowing( as per Cimi's update). /*** screen = gtk_widget_get_screen (totem-win); colormap = gdk_screen_get_rgba_colormap (screen); if (colormap) gtk_widget_set_default_colormap (colormap); **/ It's working fine. But If I don't use murrine theme engine the effect(transparancy/glassy) will not be seen. I don't want to use murrine theme engine. Instead i want to modify in Gtk library. Is there any update on this. Thanks in advance. Regards, HVR ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: adding transparency to Gtk widgets
Hi Friends, Any ideas on this? Any suggestions are welcome. Harsha On Wed, Nov 4, 2009 at 7:09 PM, harshavardhanreddy mandeepala hvreddy1...@gmail.com wrote: Hi, Is there any way to make Gtk widgets transparent. By using Murrine theme engine and little modifications to my gtk application i could do. In my application I added the following lines For my main window/widget i did the fallowing( as per Cimi's update). /*** screen = gtk_widget_get_screen (totem-win); colormap = gdk_screen_get_rgba_colormap (screen); if (colormap) gtk_widget_set_default_colormap (colormap); **/ It's working fine. But If I don't use murrine theme engine the effect(transparancy/glassy) will not be seen. I don't want to use murrine theme engine. Instead i want to modify in Gtk library. Is there any update on this. Thanks in advance. Regards, HVR ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
adding transparency to Gtk widgets
Hi, Is there any way to make Gtk widgets transparent. By using Murrine theme engine and little modifications to my gtk application i could do. In my application I added the following lines For my main window/widget i did the fallowing( as per Cimi's update). /*** screen = gtk_widget_get_screen (totem-win); colormap = gdk_screen_get_rgba_colormap (screen); if (colormap) gtk_widget_set_default_colormap (colormap); **/ It's working fine. But If I don't use murrine theme engine the effect(transparancy/glassy) will not be seen. I don't want to use murrine theme engine. Instead i want to modify in Gtk library. Is there any update on this. Thanks in advance. Regards, HVR ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gtk Xcompile problem.
Hi All, I am facing some problem while cross compiling gtk 2.6.10 I compiled pango with backend freetype X Xft. When i try to compile Gtk it is giving following problem. checking for X... libraries /tmp/xfree86_new/dist/usr/X11R6/lib, headers /tmp/xfree86_new/dist/usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... no configure: error: *** libX11 not found. Check 'config.log' for more details. In the config.log it is showing as follows bin/ld: warning: libXext.so.6, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link) But i have libXext in the PKG_CONFIG_PATH (In the Xcompiled XFree86 library) How can i link the libXext to the configure file. I am attaching the config.log file for the refernce. Thanks in advance. Regards. Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: pango Xcompile backend problem.
Hi Sanjeev , Thanks for ur reply. I changed the configure file of pango as follows have_fontconfig=true have_freetype=true have_xft=true Because i already have them with Xcompiled. Then i Xcompiled pango . It has compiled perfectly and displayed finally as backends: fontconfig X Xft But when i do make it is giving the following problems. .. arm-none-linux-gnueabi-gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -L/tmp/xfree86_new/dist/usr/X11R6/lib ./.libs/libpangox-1.0.so -lX11 ./.libs/libpangoxft-1.0.so /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango/.libs/libpangoft2-1.0.so -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local//lib -lXft -lXrender ./.libs/libpangoft2-1.0.so/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango/.libs/libpango-1.0.so /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libxml2.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfreetype.so -lz ./.libs/libpango-1.0.so -lm /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgobject-2.0.so/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgmodule-2.0.so-ldl /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libglib-2.0.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXext.so.6, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libexpat.so.0, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link) /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextAddDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextFindDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextRemoveDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XMissingExtension' collect2: ld returned 1 exit status make[4]: *** [pango-querymodules] Error 1 make[4]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2' make: *** [all] Error 2 But the libexpat.so.0,libXft.so are there in the specified path. I even did using ldconfig but same result. All my environment variables are currect. LD_LIBRARY_PATH points to the location of libraries. For your reference i am attaching the Makefile of pango after compilation. I even gon through the Makefile before doing the make but it seems OK to me. Any libraries are missing or devel libraries are missing i couldn't get by looking at the above error.Because the libraries are there in the location. For this i tryed in google i found some but no change. If some body helps me in this regard it will be very greatful. Thanks in advance. Regards, Harsha On 9/15/06, sanjeev yadav [EMAIL PROTECTED] wrote: hi xft is not enabled while compiling pango that is why error. try enabling it...check configure file where xft=yes should be there before u compile. good luck, sanjeev. On 9/15/06, harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote: Hi All, I am trying to cross compile pango-1.8.2 for ARM. It is compiling perfectly with backend: X But When i try to compile Gtk+2.6.10 it is asking for configure: error: Xft Pango backend is required for x11 target Though i have xft package in my Crosscompiled Xserver why pango is not compiling with backend xft ? Even i have freetype and fontconfig libs Xcompiled for my Target. In my package config path xft.pc is there. For your reference i am attaching the makefile of pango. Kindly help me in this regard. Thanks in advance, Regards, Harsha ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
pango Xcompile backend problem.
Hi All, I am trying to cross compile pango-1.8.2 for ARM. It is compiling perfectly with backend: X But When i try to compile Gtk+2.6.10 it is asking for configure: error: Xft Pango backend is required for x11 target Though i have xft package in my Crosscompiled Xserver why pango is not compiling with backend xft ? Even i have freetype and fontconfig libs Xcompiled for my Target. In my package config path xft.pc is there. For your reference i am attaching the makefile of pango. Kindly help me in this regard. Thanks in advance, Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: pango Xcompile backend problem.
Hi Sanjeev , Thanks for ur reply.Sorry previous reply was too big so i zipped the Makefile here. I changed the configure file of pango as follows have_fontconfig=true have_freetype=true have_xft=true Because i already have them with Xcompiled. Then i Xcompiled pango . It has compiled perfectly and displayed finally as backends: fontconfig X Xft But when i do make it is giving the following problems. .. arm-none-linux-gnueabi-gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -L/tmp/xfree86_new/dist/usr/X11R6/lib ./.libs/libpangox-1.0.so -lX11 ./.libs/libpangoxft-1.0.so /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango/.libs/libpangoft2-1.0.so -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local//lib -lXft -lXrender ./.libs/libpangoft2-1.0.so/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango/.libs/libpango-1.0.so /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libxml2.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfreetype.so -lz ./.libs/libpango-1.0.so -lm /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgobject-2.0.so/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libgmodule-2.0.so-ldl /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libglib-2.0.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXext.so.6, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libexpat.so.0, needed by /tmp/xfree86_new/dist/usr/X11R6/lib/libXft.so, not found (try using -rpath or -rpath-link) /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextAddDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextFindDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XextRemoveDisplay' /tmp/xfree86_new/dist/usr/X11R6/lib/libXrender.so: undefined reference to `XMissingExtension' collect2: ld returned 1 exit status make[4]: *** [pango-querymodules] Error 1 make[4]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/pango- 1.8.2' make: *** [all] Error 2 But the libexpat.so.0,libXft.so are there in the specified path. I even did using ldconfig but same result. All my environment variables are currect. LD_LIBRARY_PATH points to the location of libraries. For your reference i am attaching the Makefile of pango after compilation. I even gon through the Makefile before doing the make but it seems OK to me. Any libraries are missing or devel libraries are missing i couldn't get by looking at the above error.Because the libraries are there in the location. For this i tryed in google i found some but no change. If some body helps me in this regard it will be very greatful. Thanks in advance. Regards, Harsha On 9/15/06, sanjeev yadav [EMAIL PROTECTED] wrote: hi xft is not enabled while compiling pango that is why error. try enabling it...check configure file where xft=yes should be there before u compile. good luck, sanjeev. On 9/15/06, harshavardhanreddy mandeepala [EMAIL PROTECTED] wrote: Hi All, I am trying to cross compile pango-1.8.2 for ARM. It is compiling perfectly with backend: X But When i try to compile Gtk+2.6.10 it is asking for configure: error: Xft Pango backend is required for x11 target Though i have xft package in my Crosscompiled Xserver why pango is not compiling with backend xft ? Even i have freetype and fontconfig libs Xcompiled for my Target. In my package config path xft.pc is there. For your reference i am attaching the makefile of pango. Kindly help me in this regard. Thanks in advance, Regards, Harsha ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Xft XCompile Warning as linker path does not have real file forlibrary -lX11
Hi Thanks for ur reply, libXext.so libXext.so.6 libXext.so.6.4 are already there in the ./X11R6/lib path. But in the ../X11R6/lib/pkgconfig/ it has only xft.pc, xcursor.pc.fontconfig.pc files are there. No xrender.pc .. But all the libs and include files are available. OK I will attach my configure myconfigure.sh (Which i will use for running configure) .Basically i will run ./myconfigure.sh and makefile. Thanks in advance. Regards Harsha On 9/12/06, Simphiwe Twala [EMAIL PROTECTED] wrote: Sorry I forgot to include this with the last e-mail -lXext are the extensions for the X libraries so I think that if you can get these and put them in the ../arm-none-linux-gnueabi/local/X11R6/lib directory you wouln't get the errors; -lfreetype -lz -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib -lXrender -lX11 -lXext ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found 21GFJDNFLGJKDAL4636FYIUREIRUTETYPQOOGCMXCB ,XCMBNXC.BPOD346SFOTRIEWIOU236EIRYIERU5436YEPOIKDJKL ;RTUY324225IOPCGKD6LFGJ;ADFGJKL;RTYIOT245YIOIHJLD;FKHJLD;GFH54365KJ;ADLFKHL;DFKG./X,CVXMKCG376859KL64356547RTU65TR687TY8765T7876TYUI7TYU57HGJ7SR6546GHJK67UY87987YUI68986UI898799000J54909FTKLJ;T From: harshavardhanreddy mandeepala [EMAIL PROTECTED] To: gtk-list@gnome.org Subject: Xft XCompile Warning as linker path does not have real file forlibrary -lX11 Date: Fri, 8 Sep 2006 16:41:11 +0530 Hi All When i try to cross compile Xft-2.1.2 for my ARM it is giving following error. I already have atk,pango.glib,Xserver,zlib in my path. xft didn't display any error while configure ,but when i try to make it is giving following error. arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -MT xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c -o xftxlfd.o /dev/null 21 /bin/sh ./libtool --mode=link arm-none-linux-gnueabi-gcc -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -o libXft.la -rpath /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -version-number 2:1:1 xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo xftextent.lo xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo xftname.lo xftrender.lo xftstr.lo xftswap.lo xftxlfd.lo-L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lfontconfig -lfreetype -lz -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib -lXrender -lX11 -lXext ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found *** Warning: linker path does not have real file for library -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking
Re: Xft XCompile Warning as linker path does not have real file forlibrary -lX11
Hi Thanks for ur reply, libXext.so libXext.so.6 libXext.so.6.4 are already there in the ./X11R6/lib path. But in the ../X11R6/lib/pkgconfig/ it has only xft.pc, xcursor.pc.fontconfig.pc files are there. No xrender.pc .. But all the libs and include files are available. OK I will attach my configure myconfigure.sh (Which i will use for running configure) .Basically i will run ./myconfigure.sh and makefile. Thanks in advance. Regards Harsha On 9/12/06, Simphiwe Twala [EMAIL PROTECTED] wrote: Sorry I forgot to include this with the last e-mail -lXext are the extensions for the X libraries so I think that if you can get these and put them in the ../arm-none-linux-gnueabi/local/X11R6/lib directory you wouln't get the errors; -lfreetype -lz -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib -lXrender -lX11 -lXext ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib): command not found 21GFJDNFLGJKDAL4636FYIUREIRUTETYPQOOGCMXCB ,XCMBNXC.BPOD346SFOTRIEWIOU236EIRYIERU5436YEPOIKDJKL;RTUY324225IOPCGKD6LFGJ;ADFGJKL;RTYIOT245YIOIHJLD;FKHJLD;GFH54365KJ;ADLFKHL;DFKG./X,CVXMKCG376859KL64356547RTU65TR687TY8765T7876TYUI7TYU57HGJ7SR6546GHJK67UY87987YUI68986UI898799000J54909FTKLJ;T From: harshavardhanreddy mandeepala [EMAIL PROTECTED] To: gtk-list@gnome.org Subject: Xft XCompile Warning as linker path does not have real file forlibrary -lX11 Date: Fri, 8 Sep 2006 16:41:11 +0530 Hi All When i try to cross compile Xft-2.1.2 for my ARM it is giving following error. I already have atk,pango.glib,Xserver,zlib in my path. xft didn't display any error while configure ,but when i try to make it is giving following error. arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -MT xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c -o xftxlfd.o /dev/null 21 /bin/sh ./libtool --mode=link arm-none-linux-gnueabi-gcc -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -o libXft.la -rpath /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -version-number 2:1:1 xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo xftextent.lo xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo xftname.lo xftrender.lo xftstr.lo xftswap.lo xftxlfd.lo-L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lfontconfig -lfreetype -lz -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib -lXrender -lX11 -lXext ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found *** Warning: linker path does not have real file for library -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking
Xft XCompile Warning as linker path does not have real file for library -lX11
Hi All When i try to cross compile Xft-2.1.2 for my ARM it is giving following error. I already have atk,pango.glib,Xserver,zlib in my path. xft didn't display any error while configure ,but when i try to make it is giving following error. arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -MT xftxlfd.lo -MD -MP -MF .deps/xftxlfd.Tpo -c xftxlfd.c -o xftxlfd.o /dev/null 21 /bin/sh ./libtool --mode=link arm-none-linux-gnueabi-gcc -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -g -O2 -o libXft.la -rpath /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -version-number 2:1:1 xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo xftextent.lo xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo xftname.lo xftrender.lo xftstr.lo xftswap.lo xftxlfd.lo-L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lfontconfig -lfreetype -lz -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib -lXrender -lX11 -lXext ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found *** Warning: linker path does not have real file for library -lz. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libz and none of the candidates passed a file format test *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libz.so.1.2.3 ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found *** Warning: linker path does not have real file for library -lXrender. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libXrender and none of the candidates passed a file format test *** using a file magic. Last file checked: /opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/lib/libXrender.so.1.2 ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found ./libtool: line 3579: ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ): command not found *** Warning: linker path does not have real file for library -lX11. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have ***
cairo/Gtk X compile problem.
Hi All, I am trying to cross compile cairo-1.1.6 for ARM11before cross compiling Gtk. I already compiled Xcompiled, XFree86-4.6. But when i cross compile cairo-1.1.6 it is giving following error. if arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I. -I../pixman/src -I../src -I../src -I/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/libpng12 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/fontconfig -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing-g -O2 -MT imagediff.o -MD -MP -MF .deps/imagediff.Tpo -c -o imagediff.o imagediff.c; \ then mv -f .deps/imagediff.Tpo .deps/imagediff.Po; else rm -f .deps/imagediff.Tpo; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link arm-none-linux-gnueabi-gcc -g -O2 -o imagediff imagediff.o libcairotest.la ../src/libcairo.la -lpthread \ -lm -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lpng12 -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lxml2 -lz -lm arm-none-linux-gnueabi-gcc -g -O2 -o .libs/imagediff imagediff.o ./.libs/libcairotest.a /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib/libstdc++.so -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/arm-none-linux-gnueabi/libstdc++-v3/src -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/arm-none-linux-gnueabi/libstdc++-v3/src/.libs -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/./gcc -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib ../src/.libs/libcairo.so -lpthread -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libpng12.so -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib -Wl,--rpath -Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXrender.so.1, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libX11.so.6, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXext.so.6, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) ./.libs/libcairotest.a(cairo-test.o): In function `cleanup_xlib': /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1106: undefined reference to `XFreePixmap' /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1107: undefined reference to `XCloseDisplay' ./.libs/libcairotest.a(cairo-test.o): In function `create_xlib_surface': /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1059: undefined reference to `XOpenDisplay' /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1065: undefined
..... libxml skipping incompatable -lz ......
Hi I am trying to cross compile libxml2-2.6.26 as a dependency for my Gtk Library Xcompilation for ARM11. Before that i compiled zlib-1.2.3 successfully. But when i try to cross compile libxml2 it is giving following error. /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/../lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/../../arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lz collect2: ld returned 1 exit status As per the error it is finding the libz in the location but it is saying it is incompatable. Can anybody suggest that what could be the reason. Thanks in advance. Regards Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
libpng-1.2.10 failed while cross compiling as the dependency for GTK lib
Hi All, I am trying to cross compile Gtk-2.8 library for my ARM11. So as the dependency files 1. I cross compiled Glib-2.8.6 2. Cross compiled atk-1.10.3 3. freetype-2.1.9 cross compiled 4. zlib-1.2.3 But libpng-1.2.10 failed to cross compile. I did In myconfigure.sh i wrote #!/bin/bash -e TOOLCHAIN=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi PREFIX=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local #PATH=/bin:$TOOLCHAIN/bin:$TOOLCHAIN/arm-linux/local/bin:/usr/bin LDFLAGS=-L$TOOLCHAIN/arm-none-linux-gnueabi/local/lib cp ./libpng.cache config.cache ./configure --prefix=$PREFIX --build=i386-linux --host=arm-linux \ --cache-file=config.cache \ CC=arm-none-linux-gnueabi-gcc \ NM=arm-none-linux-gnueabi-nm \ AR=arm-none-linux-gnueabi-ar \ RANLIB=arm-none-linux-gnueabi-ranlib Then i run ./myconfigure.sh BUt it has given the following error. /bin/sh ./libtool --tag=CC --mode=link arm-none-linux-gnueabi-gcc -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include -g -O2 -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -o libpng12.la -rpath /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -no-undefined -export-dynamic -version-number 0:12:0 -Wl,--version-script= libpng.vers libpng12_la-png.lo libpng12_la-pngset.lo libpng12_la-pngget.lolibpng12_la- pngrutil.lo libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo libpng12_la- pngread.lo libpng12_la-pngrio.lo libpng12_la-pngwio.lo libpng12_la- pngwrite.lo libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo libpng12_la- pngmem.lo libpng12_la-pngerror.lo libpng12_la-pngpread.lo libpng12_la- pnggccrd.lo -lz -lm arm-none-linux-gnueabi-gcc -shared .libs/libpng12_la-png.o.libs/libpng12_la- pngset.o .libs/libpng12_la-pngget.o .libs/libpng12_la-pngrutil.o.libs/libpng12_la- pngtrans.o .libs/libpng12_la-pngwutil.o .libs/libpng12_la-pngread.o.libs/libpng12_la- pngrio.o .libs/libpng12_la-pngwio.o .libs/libpng12_la-pngwrite.o.libs/libpng12_la- pngrtran.o .libs/libpng12_la-pngwtran.o .libs/libpng12_la-pngmem.o.libs/libpng12_la- pngerror.o .libs/libpng12_la-pngpread.o .libs/libpng12_la-pnggccrd.o -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lz -lm -Wl,--version-script=libpng.vers -Wl,-soname -Wl,libpng12.so.0 -o .libs/libpng12.so.0.12.0 /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/../lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin/../../arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[1]: *** [libpng12.la] Error 1 make[1]: Leaving directory `/home/harsha/Desktop/SRCLibs/ALLGTK_NEW/libpng- 1.2.12' make: *** [all] Error 2 Infact the libzlib library files are in $PREFIX/lib directory. Infact all cross compiled libraries are in $PREFIX/lib and include files are in $PREFIX/include directory. I have binutils cross compiled one. I have gcc-4.1.1 Can any one help me what could be the proble? Thanks in advance. Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
poptlibrary Crosscompilation for ARM11
HI, I am trying to cross compile popt libraries for my IMX31(ARM11)processor from FC3. I used popt-1.6.4 ver. when i use ./configure --host=arm-linux --build=i386 --disable-nls or ./configure --host=arm-linux --build=i386 CC=arm-linux-gcc --disable-nls both the time it is compiling and creating libraries. but when i use file libpopt.so.0.0.0 It is displaying that libpopt.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped So why it is not created for ARM. popt library is the dependent library for libgnome. when i tryed to CCompile libgnome it asked for popt. Does any body already crosscompiled Gnome,Glade,GTK related libraries for freescale IMX31/ ARM11 processor. If somebody already developed it will be helpful to me and it will save lot of time.Because i have to crosscompile all Gnome and Glade related libs for ARM11 Kindly provide some help in this regard. Thanks in advance. Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gtk application cross compilation proble
Hi all i am trying to crosscompile Gtk application to arm-linux. I created crossdevelopment tools and installed . But the Gtk application is giving problem when linking. The error message is as follows. /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libgnomeui-2.so when searching for -lgnomeui-2 /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libgnomeui-2.a when searching for -lgnomeui-2 /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: cannot find -lgnomeui-2 If any body has any idea kindly reply me. Thanks in advance, Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gtk application cross compilation proble
Hi all i am trying to crosscompile Gtk application to arm-linux. I created crossdevelopment tools and installed . But the Gtk application is giving problem when linking. The error message is as follows. /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libgnomeui-2.so when searching for -lgnomeui-2 /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libgnomeui-2.a when searching for -lgnomeui-2 /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.4/arm-linux/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: cannot find -lgnomeui-2 If any body has any idea kindly reply me. Thanks in advance, Regards, Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How to crosscompile Glade-Gtk appl ?
Hi, I developed an application using Glade and Gtk programming on SUSE .It is ruuning fine on native platform.Now how can i cross compile this application to run on ARM.I installed all cross compiler tools for ARM on my system.Nowwhere should i change to run for ARM in my project.shall i need to change autogen.sh or makefile.or where i need to start. Thanks in advance. Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
crosscompiling a Glade-Gtk appl ?
Hi, I developed an application using Glade and Gtk programming on SUSE .It is ruuning fine on native platform.Now how can i cross compile this application to run on ARM.I installed all cross compiler tools for ARM on my system.Nowwhere should i change to run for ARM in my project.shall i need to change autogen.sh or makefile.or where i need to start. Thanks in advance. Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Yelp compilation problem
HI all I am using FC3 Now I want to install yelp-2.6.3 in to my linux syatem. But when run ./configure command it is giving error message as fallows /*** checking for gconf-2.0 gnome-vfs-2.0 = 1.1 gtk+-2.0 = 2.3.1 libbonobo-2.0 = 1.108.0 libglade-2.0 = 2.0.0 libgnome-2.0 = 2.0.2 libgnomeui-2.0 = 1.103.0 libgtkhtml-2.0 = 2.1.2 libxml-2.0 = 2.6.5 libxslt = 1.1.4 libexslt = 0.8.1 ... Package libgtkhtml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgtkhtml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgtkhtml-2.0' found configure: error: Library requirements ( gconf-2.0 gnome-vfs-2.0 = 1.1 gtk+-2.0 = 2.3.1 libbonobo-2.0 = 1.108.0 libglade-2.0 = 2.0.0 libgnome-2.0 = 2.0.2 libgnomeui-2.0 = 1.103.0 libgtkhtml-2.0 = 2.1.2 libxml-2.0 = 2.6.5 libxslt = 1.1.4 libexslt = 0.8.1 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. ***/ But after that i installed libgtkhtml-3.0.0 tar successfully but still it is giving same problem. So i don't know how to adjust PKG_CONFIG_PATH . And also even after installing libgtkhtml also why it is giving same problem. If anybody knows plz help me. Thanks in Advance Regards Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
how to create our own help info
Hi I am using FC3. using glade ,gtk,gnome how to create our own helpinformation for any project . we developed one project using glade and gtk programming. in that we have one button for help . if i click help it should display help information about my project. like we get if we click on help of any window ex caluclator,dictionary. i gone through some of the src.rpm files,but still i couldn't find solution. so if any one has idea plz help me. thanks in advance regards Harshavardhan Reddy ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gnome_help_display not working
Hi I am using FC3. I developed one application using glade and Gtk. Using Glade i created one Gtkbutton and Gtkwindow. so now when i click on the button it should display helpfile which is already written by me. for that i used gnome_help_display(). but gnome_help_display() is not displaying helpfile. i tried with gnome_help_goto() but at the time of compilation it is giving error that Undefined reference to gnome_help_goto(). so whethe gnome_help_display will display any type of file or it will display some specific format files. i tried to find but couldn't. for more clarification i am providing my callbacks.c file. /callbacks.c/ #ifdef HAVE_CONFIG_H # include config.h #endif #include gtk/gtk.h #include callbacks.h #include interface.h #include support.h #include stdio.h #include libgnome/libgnome.h #include libgnome/gnome-help.h #include gnome.h GtkWidget *window1; void on_HELP_BUT_clicked (GtkButton *button, gpointer user_data) { GError *err = NULL; gchar* helpfile = NULL; // gnome_help_goto(NULL,url); gnome_help_display (helpfile, NULL, err); /* helpfile is the offline file which is already existing in current folder **/ } void on_window1_show (GtkWidget *widget, gpointer user_data) { GtkWidget *temp; temp = gtk_object_get_data((GtkObject*)window1,HELP_BUT); } /***/ And also i don't know why for gnome_help_goto() it is giving Undefined reference.I include most of the lib files. Thanks in advance Regards Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gnome compilation problem
Hi I am using FC3. In my application i am using glade and Gtk programming. In callbacks.c file i have used a function gnome_help_display() to run a different file. for more clarification i am giving my callbacks.c file information below. /*/ void on_HELP_BUT_clicked (GtkButton *button, gpointer user_data) { // const gchar *docname[50]; GError *error = NULL; gnome_help_display (./help.txt, NULL, NULL); } void on_window1_show (GtkWidget *widget, gpointer user_data) { GtkWidget *temp; temp = gtk_object_get_data((GtkObject*)window1,HELP_BUT); } /*/ I included libgnome/libgnome.h in my main.c file. so whenever i click the button it should display help.txt file. But at the time of compilation it is giving that libgnome/libgnome.h no such file or directory So i installed libgnome-2.2.0.1 into my system. still it is giving same error. Is there any other packages needed . OR Is there any other Function is there so that i can access my help.txt file when i click on the button. Is there any function in Gtk or Gdk programming which works for my application. thanks in advance Regards Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Implementing offline help in Gtk application
Hi I am using Linux FC 3 I have Developed an application using Gtk ,using glade-2 . In my application i want to implement offline help ,so once if we click on that button it should show all the information related to that application as like we have F1 in Windows. And also is it possible to have HTML links inside it? Thanks in advance. Harshavardhan reddy M ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
how to disable showdetails feature in RHGB
Hi I am using Linux FC3. i want to disable showdetails feature while system is booting. i.e while system is booting i want to see only graphical mode and if i click on showdetails button of graphical mode also it should not go to textmode. if u have any idea plz inform me. regards harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
how can i access usb memory stick as a non-root
hi i am using linux fedora core 3. i want to access usb memorystick as a non-root user. i can mount and umount as a root,but when i want to do it as a guest(non-root) it is giving as a only root can do it i have changed the ownership of /dev directory to guest but still it is giving same error. even i added these fallowing lines to my /etc/fstab /dev/sda1 /mnt/usbstick vfat noauto,user,umask=000 0 0 still it is giving same message as a only root can do it. so If u know the solution plz mail me to[EMAIL PROTECTED] thanks in advance. Regards hvreddy ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RPM creation
Hi, I am using Linux Fedora Core 3. I have created a RPM file for my Application. But how can i make the files in RPM Should go into specific directory after installing the RPM into the system. For example if my RPM contains files like abc,ghj,jkl,kjh. Then After installing my RPM into Linux system the file abc should store in a apecific directory,and for jkl,kjh also in some other directory. so if u have a solution plz send it to [EMAIL PROTECTED] thanks in advance. Regards Harshavardhan reddy M ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How to Autologin as a root(Superuser)
Hi, I am using Linux Fedora Core 3. I want to Automatically login as a root(Superuser)when the system is swiched on (Boots up).That is i don't want to enter any passwords, it should automatically enter into the system. I can do it for non root user by changing in Application-systemsettings-loginscreen. for superuser it is not allowing. so if u have a solution plz send it to [EMAIL PROTECTED] thanks in advance. Regards Harshavardhan reddy M ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
how to assign full access rights to guest
hi I am using Linux fedora core 3. I want to shutdown the system from .bash_profile file using cd /sbin ./shutdown -g o but when I run the file otherthan a superuser it is giving error message as to run shutdown u must be a root but i want to execute shutdown command as a non root user (Ex: guest) Even i have used command for changing the ownership as chown guest /root -R Still it is giving error. if u find solution mail me at [EMAIL PROTECTED] thankyou regards Harsha ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Gnome_print problem
hi, we are trying for gnome printing but we are unable to do that. we are now sending the error messages we got while running the Gnome printing . also we are sending sample program as attachment. (project1:5443): GLib-GObject-WARNING **: specified class size for type `GnomePrinterDialog' is smaller than the parent type's `GnomeDialog' class size (project1:5443): Gtk-CRITICAL **: file gtktypeutils.c: line 100 (gtk_type_new): assertion `GTK_TYPE_IS_OBJECT (type)' failed (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)' (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)' (project1:5443): Gtk-CRITICAL **: file gtkwindow.c: line 1021 (gtk_window_set_title): assertion `GTK_IS_WINDOW (window)' failed (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)' (project1:5443): GnomeUI-CRITICAL **: file gnome-dialog.c: line 401 (gnome_dialog_append_button): assertion `dialog != NULL' failed (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)' (project1:5443): GnomeUI-CRITICAL **: file gnome-dialog.c: line 401 (gnome_dialog_append_button): assertion `dialog != NULL' failed (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown)' (project1:5443): GnomeUI-CRITICAL **: file gnome-dialog.c: line 736 (gnome_dialog_set_default): assertion `dialog != NULL' failed (project1:5443): GLib-GObject-WARNING **: specified class size for type `GnomePrinterWidget' is smaller than the parent type's `GtkFrame' class size (project1:5443): GLib-GObject-WARNING **: specified class size for type `GnomePrinterWidget' is smaller than the parent type's `GtkFrame' class size (project1:5443): Gtk-CRITICAL **: file gtktypeutils.c: line 100 (gtk_type_new): assertion `GTK_TYPE_IS_OBJECT (type)' failed (project1:5443): Gtk-WARNING **: invalid cast from (NULL) pointer to `(unknown if u find solution please send mail to [EMAIL PROTECTED] thanking you harshavardhan reddy m. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
problem in saving a pixmap to file
hi, i used the gdk_pixbuf_save() function to store a pixbuf to file.before that i converted pixmap to pixbuf. but after using gdk_pixbuf_save also the image is not loading to file. so help me to solve this problem. thanking you. m.harshavardhan reddy ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
file saving problem from pixmap.
hi, i used the gdk_pixbuf_save() function to store a pixbuf to file.before that i converted pixmap to pixbuf. but after using gdk_pixbuf_save also the image is not loading to file.i am using gdk programming on linux federoracore 3. so help me to solve this problem. thanking you. m.harshavardhan reddy ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list