Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Futures: Fix failing extralib - libffi #30

Open
vpmedia opened this issue Jul 5, 2014 · 1 comment
Open

Futures: Fix failing extralib - libffi #30

vpmedia opened this issue Jul 5, 2014 · 1 comment
Labels

Comments

@vpmedia
Copy link
Member

vpmedia commented Jul 5, 2014

 /usr/bin/install -c -m 644 '/cygdrive/f/crossbridge-futures/libffi-3.0.11/man/ffi.3' '/cygdrive/f/crossbridge-futures/sdk/usr/share/man/man3/avm2-unknown-freebsd8-ffi.3'
 /usr/bin/install -c -m 644 '/cygdrive/f/crossbridge-futures/libffi-3.0.11/man/ffi_call.3' '/cygdrive/f/crossbridge-futures/sdk/usr/share/man/man3/avm2-unknown-freebsd8-ffi_call.3'
 /usr/bin/install -c -m 644 '/cygdrive/f/crossbridge-futures/libffi-3.0.11/man/ffi_prep_cif.3' '/cygdrive/f/crossbridge-futures/sdk/usr/share/man/man3/avm2-unknown-freebsd8-ffi_prep_cif.3'
 /usr/bin/install -c -m 644 '/cygdrive/f/crossbridge-futures/libffi-3.0.11/man/ffi_prep_cif_var.3' '/cygdrive/f/crossbridge-futures/sdk/usr/share/man/man3/avm2-unknown-freebsd8-ffi_prep_cif_var.3'
/cygdrive/f/crossbridge-futures/libffi-3.0.11/doc/libffi.texi:363: warning: missing name for @deftp
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/prep_cif.c -o src/prep_cif.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/prep_cif.c:26:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/types.c -o src/types.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/types.c:31:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/raw_api.c -o src/raw_api.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/raw_api.c:29:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/java_raw_api.c -o src/java_raw_api.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/java_raw_api.c:38:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c -o src/closures.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:33:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
In file included from /cygdrive/f/crossbridge-futures/sdk/usr/include/sys/param.h:131:0,
                 from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:118:
/cygdrive/f/crossbridge-futures/sdk/usr/include/machine/param.h:79:0: warning: "ALIGN" redefined [enabled by default]
 #define ALIGN(p) _ALIGN(p)
 ^
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:34:0:
/cygdrive/f/crossbridge-futures/libffi-3.0.11/include/ffi_common.h:73:0: note: this is the location of the previous definition
 #define ALIGN(v, a)  (((((size_t) (v))-1) | ((a)-1))+1)
 ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/avm2/ffi.lo -MD -MP -MF src/avm2/.deps/ffi.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c -o src/avm2/ffi.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:29:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c: In function 'ffi_closure_alloc':
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:301:18: error: 'ffi_closure' has no member named 'trampoline_table_entry'
   *code = closure->trampoline_table_entry = avm2_tramp_alloc(closure_inner, 0, closure, NULL);
                  ^
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c: In function 'ffi_closure_free':
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:308:26: error: 'ffi_closure' has no member named 'trampoline_table_entry'
   avm2_tramp_free(closure->trampoline_table_entry);
                          ^
libtool: link: `src/prep_cif.lo' is not a valid libtool object
libtool: link: `src/prep_cif.lo' is not a valid libtool object
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/prep_cif.c -o src/prep_cif.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/prep_cif.c:26:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/types.c -o src/types.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/types.c:31:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/raw_api.c -o src/raw_api.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/raw_api.c:29:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/java_raw_api.c -o src/java_raw_api.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/java_raw_api.c:38:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c -o src/closures.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:33:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
In file included from /cygdrive/f/crossbridge-futures/sdk/usr/include/sys/param.h:131:0,
                 from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:118:
/cygdrive/f/crossbridge-futures/sdk/usr/include/machine/param.h:79:0: warning: "ALIGN" redefined [enabled by default]
 #define ALIGN(p) _ALIGN(p)
 ^
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/closures.c:34:0:
/cygdrive/f/crossbridge-futures/libffi-3.0.11/include/ffi_common.h:73:0: note: this is the location of the previous definition
 #define ALIGN(v, a)  (((((size_t) (v))-1) | ((a)-1))+1)
 ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/libffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT src/avm2/ffi.lo -MD -MP -MF src/avm2/.deps/ffi.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c -o src/avm2/ffi.o
In file included from /cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:29:0:
include/ffi.h:304:14: error: 'FFI_TRAMPOLINE_SIZE' undeclared here (not in a function)
   char tramp[FFI_TRAMPOLINE_SIZE];
              ^
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c: In function 'ffi_closure_alloc':
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:301:18: error: 'ffi_closure' has no member named 'trampoline_table_entry'
   *code = closure->trampoline_table_entry = avm2_tramp_alloc(closure_inner, 0, closure, NULL);
                  ^
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c: In function 'ffi_closure_free':
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:308:26: error: 'ffi_closure' has no member named 'trampoline_table_entry'
   avm2_tramp_free(closure->trampoline_table_entry);
                          ^
libtool: link: `src/prep_cif.lo' is not a valid libtool object
 /usr/bin/install -c -m 644 /cygdrive/f/crossbridge-futures/libffi-3.0.11/doc/libffi.info '/cygdrive/f/crossbridge-futures/sdk/usr/share/info'
 install-info --info-dir='/cygdrive/f/crossbridge-futures/sdk/usr/share/info' '/cygdrive/f/crossbridge-futures/sdk/usr/share/info/libffi.info'
 /usr/bin/install -c -m 644 libffi.pc '/cygdrive/f/crossbridge-futures/sdk/usr/lib/pkgconfig'
@vpmedia
Copy link
Member Author

vpmedia commented Jul 6, 2014

After some fixes new error:

libtool: compile:  clang -DHAVE_CONFIG_H -I. -I/cygdrive/f/crossbridge-futures/libffi-3.0.11 -I. -I/
cygdrive/f/crossbridge-futures/libffi-3.0.11/include -Iinclude -I/cygdrive/f/crossbridge-futures/lib
ffi-3.0.11/src -DFFI_BUILDING -g -I/cygdrive/f/crossbridge-futures/sdk/usr/include -fexceptions -MT
src/avm2/ffi.lo -MD -MP -MF src/avm2/.deps/ffi.Tpo -c /cygdrive/f/crossbridge-futures/libffi-3.0.11/
src/avm2/ffi.c -o src/avm2/ffi.o
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:301:20: error: no member named
      'trampoline_table_entry' in 'ffi_closure'
  *code = closure->trampoline_table_entry = avm2_tramp_alloc(closure_inner, 0, closure, NULL);
          ~~~~~~~  ^
/cygdrive/f/crossbridge-futures/libffi-3.0.11/src/avm2/ffi.c:308:28: error: no member named
      'trampoline_table_entry' in 'ffi_closure'
  avm2_tramp_free(closure->trampoline_table_entry);
                  ~~~~~~~  ^
2 errors generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant