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: [1.7] Unable to find jpeg_CreateDecompress but linked against cygjpeg-62.dll OK


Charles Wilson wrote:
> Thrall, Bryan wrote:
>> I recently installed 1.7 (C:\cygwin_1.7) alongside 1.5 (C:\cygwin) on my
>> workstation, then reconfigured and rebuilt my application (vital), which
>> worked just fine under 1.5 but doesn't under 1.7.
> 
>> "Unable to find jpeg_CreateDecompress in cygwin1.dll".
>                                            ^^^^^^^^^^^
> 
>> and cygjpeg-62.dll is executable and exports jpeg_CreateDecompress
>> (according to the Depends tool, which also says vital imports that
>> symbol by name), so I'm at a loss to explain why that symbol isn't being
>> found. Perhaps it is a red herring?
> 
> Did you, by chance, compile with gcc-4, and have -lm on your link
> command? Try either compiling with gcc-3, or remove -lm.

  Or -lpthread.  Yep, this is almost certainly the broken import tables
problem again.

    cheers,
      DaveK

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