delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/08/18:08:29

X-Spam-Check-By: sourceware.org
Date: Wed, 09 Aug 2006 10:08:14 +1200
From: Danny Smith <dannysmith AT clear DOT net DOT nz>
Subject: Re:Can't link TclMagick anymore
To: Cygwin <cygwin AT cygwin DOT com>
Message-id: <000001c6bb37$25f81ad0$556d65da@anykey>
MIME-version: 1.0
X-Mailer: Microsoft Outlook, Build 10.0.2627
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

Dave Bodenstab  wrote:

> Warning: .drectve `-defaultlib:MSVCRT ' unrecognized
> Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> Cannot export ??_C AT _03KBFG@Tcl?$AA@: symbol not found
> Cannot export ??_C AT _0DM@EBFE AT This?5interpreter?5does?5not?5suppor@: 
> symbol not found
> Cannot export ^?CORE_RL_magick__NULL_THUNK_DATA: symbol not found
> Cannot export ^?CORE_RL_wand__NULL_THUNK_DATA: symbol not found
> collect2: ld returned 1 exit status
> 
> 

<snip>
> + binutils 20060709-1


ld now recognizes the ".lib" suffix as an import lib and it has higher
priority than directing linking to a dll (without an import lib).

Move the the msvc-built libs  (CORE_RL_wand_.LIB? CORE_RL_magick_.LIB?) 
out of your search path so that ld finds the .DLL files instead 
(I suspect they are in /cygdrive/c/Program Files/ImageMagick)

(alternatively, you could try adding
"-Wl,-no-export-libs,CORE_RL_wand_.LIB,CORE_RL_magick_.LIB" 
or similar

Danny


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