[racket-dev] racket-5.1{, .0.6} not building foreign interface not supported
On 04/14/11 14:03, Matthew Flatt wrote:
> At Thu, 14 Apr 2011 10:40:12 +0200, Marijn wrote:
>> I'm not sure how
>> to debug that AC_TRY_LINK invocation or what kind of information would
>> help you to do it, so please tell me if you need anything.
>
> Can you send me "config.log"? It shows the compilation commands and
> error messages when AC_TRY_LINK tries to compile and link.
configure:5116: result: yes
configure:5121: checking for libffi
configure:5173: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb
-O2 -pipe -I/usr/lib64/libffi-3.0.10rc8/include -Wl,-O1
-Wl,--as-needed -lffi
conftest.c -ldl -lm -ldl -lm -rdynamic >&5
/var/tmp/portage/dev-scheme/racket-999/temp/ccc4wcaM.o: In function `main':
/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined
reference to `ffi_type_void'
/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined
reference to `ffi_prep_cif'
collect2: ld returned 1 exit status
configure:5179: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define USE_SINGLE_FLOATS 1
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define MZ_USE_NOINLINE 1
| #define HAVE_CODESET 1
| #define HAVE_GETADDRINFO 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <ffi.h>
| int
| main ()
| {
| ffi_cif cif;
| ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &ffi_type_void,
NULL);
| ;
| return 0;
| }
configure:5195: result: no
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110414/64fa4d74/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110414/64fa4d74/attachment.sig>