[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: g-wrap on cygwin
From: |
Andy Wingo |
Subject: |
Re: g-wrap on cygwin |
Date: |
Mon, 18 Aug 2008 10:53:50 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi Edgar,
I think this is the place, yes -- but I don't really understand the
error. First it says that it can't link to the static libffi.la, which I
don't get because g-wrap should always be built dynamically; perhaps we
need to AC_DISABLE_STATIC in the configure.in. Can you try adding
--disable-static to the ./configure line?
Then it complains about data structures:
On Tue 12 Aug 2008 22:37, "Edgar Vasquez" <address@hidden> writes:
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> warning: auto-importing has been activated without --enable-auto-import
> specified on the command line.
> This should work unless it involves constant data structures referencing
> symbols from auto-imported DLLs..libs/guile-runtime.o: In function
> `do_ffi_call':
> /home/Edgar/build/g-wrap-1.9.11/guile/g-wrap/guile-runtime.c:597:
> undefined reference to `_ffi_call'
> Info: resolving _scm_class_top by linking to __imp__scm_class_top
> (auto-import)
> Info: resolving _scm_class_method by linking to __imp__scm_class_method
> (auto-import)
> Info: resolving _scm_class_generic by linking to __imp__scm_class_generic
> (auto-import)
> Info: resolving _scm_module_goops by linking to __imp__scm_module_goops
> (auto-import)
> Creating library file: .libs/libgwrap-guile-runtime.dll.a
> collect2: ld returned 1 exit status
> make[4]: *** [[5]libgwrap-guile-runtime.la] Error 1
But I have no idea why ld is failing. Is it the undefined reference to
_ffi_call? That would certainly be the case if you don't have a
dynamically built libffi.la. Perhaps that is the reason?
Cheers,
Andy
--
http://wingolog.org/