delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/07/03:53:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3E685D89.D4F7B8E4@ecn.nl>
Date: Fri, 07 Mar 2003 09:51:21 +0100
From: Teun Burgers <burgers AT ecn DOT nl>
Organization: Netherlands Energy Research Foundation ECN
X-Accept-Language: Dutch, nl, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: libtool 20030216: problem recognizing import libraries

When I libtoolize with libtool-devel-20030216, I can't build dll's that I was able to
build with libtool-devel-20030103. When linking with 20030216 I get messages such
as these:

*** Warning: linker path does not have real file for library -lcygwin.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcygwin and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/libcygwin.a

I get this message for the following libs:

-lcygwin -luser32 -ladvapi32 -lkernel32 -lshell32

20030103 *does* recognize all these libraries as import-libs/shared libs.

Then of cause the shared library is not built with 20030216 with this message:

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

How can I build this shared library with 20030216?

btw unpatched 20030216 can also build this dll.

regards

Teun Burgers

-- 
Drs A.R. Burgers        Energy research Centre of the Netherlands
Phone: +31-224-564959   P.O. Box 1
Fax  : +31-224-568214   NL-1755 ZG Petten
email: burgers AT ecn DOT nl   The Netherlands

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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