delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/02/10:01:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <40BDDE62.5070402@yahoo.fr>
Date: Wed, 02 Jun 2004 16:04:18 +0200
From: bertrand marquis <bertrand_marquis AT yahoo DOT fr>
Reply-To: bertrand_marquis AT yahoo DOT fr
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.2.1) Gecko/20030225
MIME-Version: 1.0
To: cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: compiling glib-2.2.3
X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on donald.sysgo.com
X-Spam-Level:
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.61
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.25.0.60; VDF: 6.25.0.82; host: mailgate.sysgo.de)
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019