This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiling glib-2.2.3


Hello

i'm trying to build glib-2.2.3. I have downloaded the patch from cygnome2.sourceforge.net.

I have configured it like this:
./configure --host=i686-pc-cygwin \
   --prefix=/opt/elinos/cygwin/i686-pc-cygwin \
   --sysconfdir=/etc \
   --with-gnu-ld \
   --with-libicon=native \
   --disable-included-printf \
   --with-threads=no \
   --enable-debug=no

and then it is compiling glib and gobject but when linking for gobject-query.exe i have this:

i686-pc-cygwin-gcc -g -O2 -Wall -o gobject-query.exe gobject-query.o ./.libs/libgobject-2.0.a /home/bma/rpm-root/packages/BUIL
D/glib-2.2.3/glib/.libs/libglib-2.0.a ../glib/.libs/libglib-2.0.a -liconv -luser32 -lkernel32 -lintl
./.libs/libgobject-2.0.a(gparam.o)(.text+0xb14): In function `g_param_spec_pool_insert':
/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:618: undefined reference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xb71):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:632: undefined re
ference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xb99):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:641: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xbd3):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:624: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xc3b): In function `g_param_spec_pool_remove':
/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:649: undefined reference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xc61):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:654: undefined re
ference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xc81):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:661: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xcc1):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:653: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xcda): In function `g_param_spec_pool_lookup':
/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:727: undefined reference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xd17):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:771: undefined re
ference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xd3c):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:774: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xde2):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:764: undefined re
ference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xdff):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:766: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xe63):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:735: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xeba): In function `g_param_spec_pool_list_owned':
/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:798: undefined reference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xeef):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:802: undefined re
ference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xf0f):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:805: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xf24):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:805: undefined re
ference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0xfca): In function `g_param_spec_pool_list':
/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:874: undefined reference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0x1101):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:895: undefined r
eference to `__imp__g_threads_got_initialized'
./.libs/libgobject-2.0.a(gparam.o)(.text+0x1124):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:898: undefined r
eference to `__imp__g_thread_functions_for_glib_use'
./.libs/libgobject-2.0.a(gparam.o)(.text+0x11b2):/home/bma/rpm-root/packages/BUILD/glib-2.2.3/gobject/gparam.c:833: undefined r
eference to `__imp__g_thread_functions_for_glib_use'
collect2: ld returned 1 exit status



Does anyone has an idea because i can't find a solution


thanks


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]