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: where is libffi?


On 12/21/2011 10:32 AM, yoichi.niitsu wrote:
> I can’t build my program using gtk+-2.0 on cygwin development environment (gcc-3.4.4, etc.). The error message from linker is,
> 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find ?lffi
> 
> Actually, there exists /usr/bin/cygffi-4 but I can’t find /usr/lib/libffi*. I’m wondering if this is caused by something like bug in cygwin-setup program.
> 
> Thanks.
> 
Hi Yoichi,

using the package search at
  http://cygwin.com/packages/

the outcome
  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=libffi

suggest me 2 things:
- install libffi4
- replace obsolete gcc (version 3) with gcc4 package

as
  usr/lib/gcc/i686-pc-cygwin/4.5.3/libffi.a
is part of gcc4-core

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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