Subject:
Re: [ruby-ffi] New release of FFI gem
From:
Luis Lavena
Date:
12/4/10 9:12 AM
To:
ruby-ffi@googlegroups.com

On Fri, Dec 3, 2010 at 6:42 PM, Wayne Meissner <wmeissner@gmail.com> wrote:
On 4 December 2010 00:20, Luis Lavena <luislavena@gmail.com> wrote:
> I was able to compile ffi with Ruby 1.9.2-p0 and GCC 4.5.1, but now
> getting this on the specs:
>
> https://gist.github.com/726989
>
> The problem is that is looking for strdup and not _strdup, perhaps the
> problem is libffi?

Thats just a symbol lookup problem.  All the traditional libc symbols
in msvcrt.dll have an underscore prepended, so that test should have a
special case for win32 in it.

Sorry, been long time since I used libffi that mind is not the same as it used to be (and getting older is not helping either)

Will come up with a patch and let you know.

--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry