This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:Can't link TclMagick anymore


Dave Bodenstab  wrote:

> Warning: .drectve `-defaultlib:MSVCRT ' unrecognized
> Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> Cannot export ??_C@_03KBFG@Tcl?$AA@: symbol not found
> Cannot export ??_C@_0DM@EBFE@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]