delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/03:24:43

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: <42957974.2080109@familiehaase.de>
Date: Thu, 26 May 2005 09:23:32 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin-xfree AT cygwin DOT com, cygwin <cygwin AT cygwin DOT com>, lukrez AT gmx DOT at
Subject: Attention libtool maintainer: Re: `make install' of glib fails
References: <008901c55f43$a5bb24c0$01ac850d AT jicman> <4291F40C DOT 8090804 AT familiehaase DOT de> <d71ji3$hp5$1 AT sea DOT gmane DOT org> <d71q1t$458$1 AT sea DOT gmane DOT org> <d72cel$acd$1 AT sea DOT gmane DOT org>
In-Reply-To: <d72cel$acd$1@sea.gmane.org>
X-IsSubscribed: yes

Franz Haeuslschmid wrote:

> After having managed to actually make the latest version of glib,
> `make install' fails and spits out an error message that I don't
> understand (excuse the mass of lines):
> 
> haeuslsc AT pan /cygdrive/d/Src/glib-2.6.4/gobject
> $ make install
> 
> make  install-am
> make[1]: Entering directory `/cygdrive/d/Src/glib-2.6.4/gobject'
> make[2]: Entering directory `/cygdrive/d/Src/glib-2.6.4/gobject'
> test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
>  /bin/bash ../libtool --mode=install /usr/bin/install -c  'libgobject-2.0.la' '/usr/local/lib/libgobject-2.0.la'
> libtool: install: warning: relinking `libgobject-2.0.la'
> (cd /cygdrive/d/Src/glib-2.6.4/gobject; /bin/bash ../libtool  --tag=CC --mode=relink gcc -g -O2 -Wall -o libgobject-2.0.la -rpath /usr/local/lib -version-info 600:4:600 -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo gparamspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.lo gvalue.lo gvaluearray.lo gvaluetransform.lo gvaluetypes.lo ../glib/libglib-2.0.la -lintl )
> generating symbol list for `libgobject-2.0.la'
> /usr/bin/nm -B  .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o  | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | /usr/bin/sed -e '/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/' | /usr/bin/sed -e '/^[AITW] /s/.* //' | sort | uniq > .libs/libgobject-2.0.exp
> grep -E -e "^[^_].*" ".libs/libgobject-2.0.exp" > ".libs/libgobject-2.0.expT"
> mv -f ".libs/libgobject-2.0.expT" ".libs/libgobject-2.0.exp"
> if test "x`/usr/bin/sed 1q .libs/libgobject-2.0.exp`" = xEXPORTS; then cp .libs/libgobject-2.0.exp .libs/cyggobject-2.0-0.dll.def; else echo EXPORTS > .libs/cyggobject-2.0-0.dll.def; cat .libs/libgobject-2.0.exp >> .libs/cyggobject-2.0-0.dll.def; fi
>  gcc -shared .libs/cyggobject-2.0-0.dll.def  .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o  -L/usr/lib -L/usr/local/lib -lglib-2.0 -lintl  -o .libs/cyggobject-2.0-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libgobject-2.0.dll.a
> Creating library file: .libs/libgobject-2.0.dll.a
> ..libs/gboxed.o(.text+0x1af): In function `g_boxed_type_init':
> /cygdrive/d/Src/glib-2.6.4/gobject/gboxed.c:136: undefined reference to `_g_assert_warning'

[...more undefined references...]

> make: *** [install] Error 2
> 
> 
> Once again: any ideas?


-> -L/usr/lib -L/usr/local/lib -lglib-2.0

You're linking against the old glib2 library, another libtool bug.
I thought that this was fixed in the latest release?  Again, which 
version of libtool are you using now?  Is it the one from the Cygwin
mirrors or do you have compiled your own version?  Charles, wasn't
that included in the 1.5 release branch?

BTW, 1.5.18 is out: http://www.gnu.org/software/libtool/libtool.html


Gerrit
-- 
=^..^=

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