Re: glib compilation problem on windows



chatiman writes:
I'm trying to compile glib-2.2.3-20040116 under the latest
version of cygwin (windows) and it gives me the following
errors :

Do you intend to compile GLib for Cygwin or for Win32? If for Cygwin,
note that building it for Cygwin hasn't really been tested in 2.2.3,
and presumably was broken. If for Win32, you should use the
-mno-cygwin flag.

There is a bunch of bugs in Bugzilla that concern GLib 2.4.0 on
Cygwin. See bugs #138401, #138402, #138405, #138412, and
#138423. Fixes have been applied in CVS.

gcc: unrecognized option `-pthreads'

One of the fixes for the bug reports mentioned above disables thread
support completely for Cygwin, as threads are said not to work
reliably on Cygwin.

glib-genmarshal.o(.text+0x1807): In function `complete_in_arg':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:218: undefined
reference to `_g_log'

Check what symbols the libglib-2.0.dll.a (import) library contains. Is
it possible that you see bug #138402.

I have use the --enable-static option with configure.

Why?

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]