delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/15/11:26:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: gateway.petig-baender.de: Host christof AT puck DOT petig-baender DOT de [192.168.234.11] claimed to be petig-baender.de
Message-ID: <3B2A27C8.8165AAB@petig-baender.de>
Date: Fri, 15 Jun 2001 17:20:40 +0200
From: Christof Petig <christof AT petig-baender DOT de>
Organization: Adolf Petig GmbH & Co. KG
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.4.4-pre7 ppc)
X-Accept-Language: de-DE, de, en
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Which version of Libtool to use? (or is libtool impossible)

I recently installed the most recent libtool available:

$ libtool --version
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)

and tried to compile libiconv-1.6.1 (prerequisite for glib)

Since I need a dynamic library I replaced 'enable_win32_dll=no' by
'=yes' in autoconf/ltconfig.

Everything went fine so far but as it tried to link against the newly
built .dll I get:
gcc -O -I. -I. -I../include -I./../include -I../lib ./iconv.c
../lib/.libs/libiconv.a -o .libs/iconv -Wl,--rpath -Wl,/usr/local/lib
/cygdrive/c/WINDOWS/TEMP/ccUWkOog.o(.text+0x192):iconv.c: undefined
reference to `_libiconv_version'
/cygdrive/c/WINDOWS/TEMP/ccUWkOog.o(.text+0x19d):iconv.c: undefined
reference to `_libiconv_version'

but:
$ nm lib/.libs/libiconv.a  | fgrep version
00000000 I __imp___libiconv_version

and
$ fgrep version lib/.libs/libiconv.exp
        _libiconv_version DATA

I'm confused.
   Christof



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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