Re: Make of gtk+-2.6.7 fails
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > Franz Haeuslschmid wrote: > >> Dear readers of g.o.c.xfree, > > Good.Old.Cygwin.Xfree? No pun intended. [... Make output showing undefined references when the target libgtk-x11-2.0.la is built ...] > There is libfontconfig missing at the link command. > See this and other changes in the patch of the last released Cygwin > version, I attached the minimal set of changes needed to build 2.4.14. > After applying these changes, you'll need to run automake or adopt > the changes and include them directly in Makefile.in instead of > changing Makefile.am. Thank you for providing the patch. The original problem is not triggered any more. However, new "undefined references" appear: /bin/bash ../../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o im-ime.la -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -avoid-version -module -no-undefined gtkimcontextime.lo imime.lo -limm32 ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -L/usr/X11R6/lib -lX11 -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm -lintl rm -fr .libs/im-ime.dll.a gcc -shared .libs/gtkimcontextime.o .libs/imime.o -L/home/haeuslsc/Src/gtk+-2.6.7/gdk/.libs -L/home/haeuslsc/Src/gtk+-2.6.7/gdk-pixbuf/.libs -L/opt/cxclient/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib -limm32 ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dll.a ../../gdk/.libs/libgdk-x11-2.0.dll.a ../../gtk/.libs/libgtk-x11-2.0.dll.a -lX11 /usr/local/lib/libpangoxft-1.0.dll.a /usr/local/lib/libpangox-1.0.dll.a /usr/local/lib/libpango-1.0.dll.a /usr/local/lib/libatk-1.0.dll.a /usr/local/lib/libgobject-2.0.dll.a /usr/local/lib/libgmodule-2.0.dll.a /usr/local/lib/libglib-2.0.dll.a /usr/lib/libiconv.dll.a /usr/lib/libintl.dll.a -o .libs/im-ime.dll -Wl,--image-base=0x1000 -Wl,--out-implib,.libs/im-ime.dll.a Creating library file: .libs/im-ime.dll.a .libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_client_window': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:281: undefined reference to `_gdk_win32_drawable_get_handle' .libs/gtkimcontextime.o: In function `gtk_im_context_ime_reset': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:348: undefined reference to `_gdk_win32_drawable_get_handle' .libs/gtkimcontextime.o: In function `get_utf8_preedit_string': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:374: undefined reference to `_gdk_win32_drawable_get_handle' .libs/gtkimcontextime.o: In function `get_pango_attr_list': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:433: undefined reference to `_gdk_win32_drawable_get_handle' .libs/gtkimcontextime.o: In function `gtk_im_context_ime_focus_in': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:571: undefined reference to `_gdk_win32_drawable_get_handle' .libs/gtkimcontextime.o:/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:581: more undefined references to `_gdk_win32_drawable_get_handle' follow .libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_preedit_font': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:882: undefined reference to `_pango_win32_font_logfont' .libs/gtkimcontextime.o: In function `gtk_im_context_ime_message_filter': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:913: undefined reference to `_gdk_win32_drawable_get_handle' /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:932: undefined reference to `_gdk_win32_drawable_get_handle' collect2: ld returned 1 exit status make: *** [im-ime.la] Error 1 Again: what have I to do to make it work? Franz.
Re: Make of gtk+-2.6.7 fails
Hallo Franz, Thank you for providing the patch. The original problem is not triggered any more. However, new "undefined references" appear: /bin/bash ../../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o im-ime.la -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -rpath /usr/local/lib/gtk-2.0/2.4.0/immodules -avoid-version -module -no-undefined gtkimcontextime.lo imime.lo -limm32 ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -L/usr/X11R6/lib -lX11 -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm -lintl rm -fr .libs/im-ime.dll.a gcc -shared .libs/gtkimcontextime.o .libs/imime.o -L/home/haeuslsc/Src/gtk+-2.6.7/gdk/.libs -L/home/haeuslsc/Src/gtk+-2.6.7/gdk-pixbuf/.libs -L/opt/cxclient/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/lib -limm32 ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dll.a ../../gdk/.libs/libgdk-x11-2.0.dll.a ../../gtk/.libs/libgtk-x11-2.0.dll.a -lX11 /usr/local/lib/libpangoxft-1.0.dll.a /usr/local/lib/libpangox-1.0.dll.a /usr/local/lib/libpango-1.0.dll.a /usr/local/lib/libatk-1.0.dll.a /usr/local/lib/libgobject-2.0.dll.a /usr/local/lib/libgmodule-2.0.dll.a /usr/local/lib/libglib-2.0.dll.a /usr/lib/libiconv.dll.a /usr/lib/libintl.dll.a -o .libs/im-ime.dll -Wl,--image-base=0x1000 -Wl,--out-implib,.libs/im-ime.dll.a Creating library file: .libs/im-ime.dll.a ..libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_client_window': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:281: undefined reference to `_gdk_win32_drawable_get_handle' ..libs/gtkimcontextime.o: In function `gtk_im_context_ime_reset': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:348: undefined reference to `_gdk_win32_drawable_get_handle' ..libs/gtkimcontextime.o: In function `get_utf8_preedit_string': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:374: undefined reference to `_gdk_win32_drawable_get_handle' ..libs/gtkimcontextime.o: In function `get_pango_attr_list': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:433: undefined reference to `_gdk_win32_drawable_get_handle' ..libs/gtkimcontextime.o: In function `gtk_im_context_ime_focus_in': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:571: undefined reference to `_gdk_win32_drawable_get_handle' ..libs/gtkimcontextime.o:/home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:581: more undefined references to `_gdk_win32_drawable_get_handle' follow ..libs/gtkimcontextime.o: In function `gtk_im_context_ime_set_preedit_font': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:882: undefined reference to `_pango_win32_font_logfont' ..libs/gtkimcontextime.o: In function `gtk_im_context_ime_message_filter': /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:913: undefined reference to `_gdk_win32_drawable_get_handle' /home/haeuslsc/Src/gtk+-2.6.7/modules/input/gtkimcontextime.c:932: undefined reference to `_gdk_win32_drawable_get_handle' collect2: ld returned 1 exit status make: *** [im-ime.la] Error 1 Again: what have I to do to make it work? Hmmm, this is new module. _pango_win32_font_logfont is in libpangowin32-1.0: $ nm libpangowin32-1.0.dll.a | grep font_logfont I __imp__pango_win32_font_logfont T _pango_win32_font_logfont _gdk_win32_drawable_get_handle is probably in the Win32 version of libgdk, however since you have compiled the *nix version it shouldn't be used in gtkimcontextime.c as long as target isn't the Win32 version. It seems the im-ime module is only meant to be used on Win32, see in Makefile.am: if PLATFORM_WIN32 IM_IME_MODULE=im-ime.la endif This should be changed to: if OS_WIN32 IM_IME_MODULE=im-ime.la endif Regenerate Makefile.in with automake from the top level source directory then. Maybe you ask at the GTK2 support lists about this issue and or commit a bug report? Gerrit -- =^..^=
Re: Good and light x browser for cygwin?
jose isaias cabrera wrote: Greetings! Does cygwin comes with a light X browser? If not, is there one that I can quickly build with cygwin? "A browser of the highest quality", "Lightweight and folds away flat": http://www.printbrowsers.com/browser-classic-x.htm No, to be serious, what is an X browser? A web browser? A good light Web browser is Dillo http://www.dillo.org/ . Other than that please explain what you're exactly looking for (I'm a stupid german). Gerrit -- =^..^=
Read the FAQ!
Hi! I have been using cygwin for some time and have not upgraded as what I want works, so if its not broken why fix it. My version is 4.2.0.67! I wanted to change my default cursor, had difficulty - so read the FAQ - problem solved. I just had the Xsetroot command in the wrong order in the startxwin.bat script. Would you recommend upgrading to the latest release just for the sake of it? Cheers Darryl SCOTT
redirecting sound
I'm using Cygwin/X on my Win2K laptop to connect to my FreeBSD box and I'd like to redirect the sound from Rhythmbox (or other music players on the FreeBSD box) to the laptop. Here is how I connect from the Win2K laptop: startx -> brings up an xterm ssh on the xterm run bsd commands on the xterm I can do this easily but the music now comes out of the speakers on the FreeBSD box. Since it's a wireless connection I'm not always where the speakers are. Thanks for any advice, -- Chris Conn http://storm.cadcam.iupui.edu/~cmcgoat Austin, Texas, USA
Emacs problem with Cygwin 1.5.17-1
With Cygwin 1.5.17-1, after starting XWin (startxwin.bat) and Emacs, the Emacs window does not show itself, i.e. $ emacs& [1] 1776 but the emacs window does not appear! The ps command shows: $ ps PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 1380 11380 1380 con 500 20:45:19 /usr/X11R6/bin/XWin 1436 11436 1436 con 500 20:45:23 /usr/bin/xterm 142414361424 15160 500 20:45:26 /usr/bin/bash 8241424 824 14520 500 20:52:15 /usr/bin/ssh 1228 11228 1228 con 500 21:01:17 /usr/bin/xterm 129212281292 17041 500 21:01:17 /usr/bin/bash 177612921776 16881 500 21:01:28 /usr/bin/emacs 162412921624 16761 500 21:03:07 /usr/bin/ps i.e. emacs seems to be loaded. These things happen as Administrator and NOT-Administrator user. Reinstalling Cygwin 1.5.16-1 all works normally. In announcing Coreutils 5.3.0-6, E.B. wrote: "This package REQUIRES cygwin 1.5.17 or newer snapshots" and in setup.ini is disappeared the previous version (5.3.0-5). For the moment the hybrid system, 1.5.16-1 and 5.3.0-6, seems to work. Have you hints? Thank you, angelo.
Re: Emacs problem with Cygwin 1.5.17-1
On Sat, May 28, 2005 at 09:14:24PM +0200, Angelo Graziosi wrote: >With Cygwin 1.5.17-1, after starting XWin (startxwin.bat) and Emacs, the >Emacs window does not show itself, i.e. > > >$ emacs& >[1] 1776 > >but the emacs window does not appear! The ps command shows: > >$ ps > PIDPPIDPGID WINPID TTY UIDSTIME COMMAND > 1380 11380 1380 con 500 20:45:19 >/usr/X11R6/bin/XWin > 1436 11436 1436 con 500 20:45:23 /usr/bin/xterm > 142414361424 15160 500 20:45:26 /usr/bin/bash > 8241424 824 14520 500 20:52:15 /usr/bin/ssh > 1228 11228 1228 con 500 21:01:17 /usr/bin/xterm > 129212281292 17041 500 21:01:17 /usr/bin/bash > 177612921776 16881 500 21:01:28 /usr/bin/emacs > 162412921624 16761 500 21:03:07 /usr/bin/ps > >i.e. emacs seems to be loaded. > >These things happen as Administrator and NOT-Administrator user. WJFFM. Does "procps auwx" show if the emacs is consuming CPU? If you do a "strace -p" does anything interesting show up? Also please provide cygcheck output, as an attachment. cgf
Re: redirecting sound
On Sat, 28 May 2005, Christopher Mark Conn wrote: > I'm using Cygwin/X on my Win2K laptop to connect to > my FreeBSD box and I'd like to redirect the sound > from Rhythmbox (or other music players on the FreeBSD > box) to the laptop. > > Here is how I connect from the Win2K laptop: > >startx -> brings up an xterm >ssh on the xterm >run bsd commands on the xterm > > I can do this easily but the music now comes out of > the speakers on the FreeBSD box. Since it's a wireless > connection I'm not always where the speakers are. > > Thanks for any advice, ESound (or ESD) is designed for this purpose. I think it is available as cygwin package. Check the documentation of that package on how to setup the sound forwarding. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723