X-Spam-Check-By: sourceware.org Date: Wed, 09 Aug 2006 10:08:14 +1200 From: Danny Smith Subject: Re:Can't link TclMagick anymore To: Cygwin Message-id: <000001c6bb37$25f81ad0$556d65da@anykey> MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > > + 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/