Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Analyze: Velop Mail Shield v0.0.3 Date: Tue, 26 Aug 2003 22:32:00 -0300 (E. South America Standard Time) From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <0 AT pervalidus DOT tk> To: cygwin AT cygwin DOT com Subject: Re: compile gtk2 applications on cygwin? In-Reply-To: <1052113747247.20030812000232@familiehaase.de> Message-ID: References: <1052113747247 DOT 20030812000232 AT familiehaase DOT de> X-X-Sender: fredlwm AT imap DOT fastmail DOT fm MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 12 Aug 2003, Gerrit P. Haase wrote: > There are some gnome2 patches available, there is xlocale used where > it is needed, see here for a starting point: > http://cygnome2.sourceforge.net/test-patches/ When I tried to compile GLib 2.2.2 or CVS with or without the patch I got a lot of undefined references (and no shared libraries). Now I see what broke it is in glib/Makefile (this is from 2.2.3): libglib_2_0_la_LIBADD = libcharset/libcharset.la $(trio_libtrio_la) giounix.lo gspawn.lo gwin32.lo -liconv -luser32 -lkernel32 it worked once I removed -luser32 -lkernel32 from that line. Is it the right "fix" or it should compile with them ? I didn't touch any G_LIBS_EXTRA. With make check I got: gcc -DHAVE_CONFIG_H -I. -I/usr/src/glib/tests -I.. -I/usr/src/glib -I/usr/src/glib/glib -I/usr/src/glib/gmodule -DG_DISABLE_CAST_CHECKS -D_REENTRANT -O2 -pipe -Wall -c /usr/src/glib/tests/spawn-test-win32-gui.c /usr/src/glib/tests/spawn-test-win32-gui.c: In function `WinMain': /usr/src/glib/tests/spawn-test-win32-gui.c:13: `__argc' undeclared (first use in this function) /usr/src/glib/tests/spawn-test-win32-gui.c:13: (Each undeclared identifier is reported only once /usr/src/glib/tests/spawn-test-win32-gui.c:13: for each function it appears in.) /usr/src/glib/tests/spawn-test-win32-gui.c:27: `__argv' undeclared (first use in this function) /usr/src/glib/tests/spawn-test-win32-gui.c:45: warning: implicit declaration of function `write' /usr/src/glib/tests/spawn-test-win32-gui.c:48: `errno' undeclared (first use in this function) /usr/src/glib/tests/spawn-test-win32-gui.c:56: warning: implicit declaration of function `read' All others compiled. 2 of 30 tests failed, but reading http://sources.redhat.com/ml/cygwin/2003-01/msg00085.html I see the 2 also failed in 2.0.7. ** ERROR **: file /usr/src/glib/tests/strtod-test.c: line 49 (main): assertion failed: (d == g_ascii_strtod (g_ascii_dtostr (buffer, sizeof (buffer), d), NULL)) aborting... FAIL: strtod-test PASS: unicode-encoding ......... g_filename_to_uri() test 9 failed, expected result: file:///etc/%C3%B6%C3%A4%C3%A5, actual result: NULL Error message: Invalid byte sequence in conversion input ............................................................ FAIL: uri-test -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/