glib compilation problem on windows



Hello,

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

<snip>
make[2]: Leaving directory `/cygdrive/d/gtk/glib-2.2.3-20040116/glib'
Making all in gobject
make[2]: Entering directory `/cygdrive/d/gtk/glib-2.2.3-20040116/gobject'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../g
lib
-I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -D
G_DI
SABLE_CONST_RETURNS  -pthreads  -g -O2 -Wall -c glib-genmarshal.c
gcc: unrecognized option `-pthreads'
/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall  -o glib-genmarshal.exe
glib
-genmarshal.o ../glib/libglib-2.0.la -lintl
mkdir .libs
gcc -g -O2 -Wall -o .libs/glib-genmarshal.exe glib-genmarshal.o
../glib/.libs/l
ibglib-2.0.dll.a -L/usr/lib -luser32 -lkernel32 /usr/lib/libintl.dll.a
/usr/lib/
libiconv.dll.a -Wl,--rpath -Wl,/cygdrive/d/gtk/lib
glib-genmarshal.o(.text+0x1807): In function `complete_in_arg':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:218: undefined
ref
erence to `_g_log'
glib-genmarshal.o(.text+0x1c17): In function `complete_out_arg':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:263: undefined
ref
erence to `_g_log'
glib-genmarshal.o(.text+0x1cf5): In function `pad':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:283: undefined
ref
erence to `_g_free'
glib-genmarshal.o(.text+0x1d05):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:284: undefined reference to `_g_strdup_printf'
glib-genmarshal.o(.text+0x1d32):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:285: undefined reference to `_g_log'
glib-genmarshal.o(.text+0x1d40):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:278: undefined reference to `_g_malloc'
glib-genmarshal.o(.text+0x1d86):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:278: undefined reference to `_g_log'
glib-genmarshal.o(.text+0x1df3): In function `indent':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:310: undefined
ref
erence to `_g_free'
glib-genmarshal.o(.text+0x1e00):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:311: undefined reference to `_g_malloc'
glib-genmarshal.o(.text+0x2334): In function `generate_marshal':
/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/glib-genmarshal.c:325: undefined
ref
erence to `_g_strconcat'
glib-genmarshal.o(.text+0x2347):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:333: undefined reference to `_g_hash_table_lookup'
glib-genmarshal.o(.text+0x2371):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:342: undefined reference to `_g_hash_table_insert'
glib-genmarshal.o(.text+0x23cc):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:371: undefined reference to `_g_fprintf'
glib-genmarshal.o(.text+0x23f1):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:372: undefined reference to `_g_fprintf'
glib-genmarshal.o(.text+0x2409):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:373: undefined reference to `_g_fprintf'
glib-genmarshal.o(.text+0x242d):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:374: undefined reference to `_g_fprintf'
glib-genmarshal.o(.text+0x2451):/cygdrive/d/gtk/glib-2.2.3-20040116/gobject/
glib
-genmarshal.c:375: undefined reference to `_g_fprintf'

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

Any idea on what's wrong ?





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