-
Notifications
You must be signed in to change notification settings - Fork 45
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
Build error from luarocks #56
Comments
similar error on make stage # make
C:/ProgramFiles/msys64/mingw32/bin/make all-am
make[1]: Entering directory 'H:/TDDOWNLOAD/alien/alien-0.7.1'
CC src/alien.lo
src/alien.c:108: warning: "alloca" redefined
# define alloca __builtin_alloca
In file included from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/stdlib.h:741,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/combaseapi.h:129,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/objbase.h:14,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/ole2.h:17,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/wtypes.h:12,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/winscard.h:10,
from C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/windows.h:97,
from src/alien.c:15:
C:/ProgramFiles/msys64/mingw32/i686-w64-mingw32/include/malloc.h:183: note: this is the location of the previous definition
#define alloca(x) __builtin_alloca((x))
src/alien.c:357:54: error: 'FFI_SYSV' undeclared here (not in a function); did you mean 'FFI_OK'?
static const ffi_abi ffi_abis[] = { FFI_DEFAULT_ABI, FFI_SYSV, FFI_STDCALL };
^~~~~~~~
FFI_OK
src/alien.c:357:64: error: 'FFI_STDCALL' undeclared here (not in a function); did you mean 'CC_STDCALL'?
static const ffi_abi ffi_abis[] = { FFI_DEFAULT_ABI, FFI_SYSV, FFI_STDCALL };
^~~~~~~~~~~
CC_STDCALL
src/alien.c: In function 'alien_function_types':
src/alien.c:656:5: warning: 'ffi_prep_closure' is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
status = ffi_prep_closure(af->fn, &(af->cif), &alien_callback_call, af);
^~~~~~
In file included from src/alien.c:29:
C:/ProgramFiles/msys64/mingw64/include/ffi.h:334:1: note: declared here
ffi_prep_closure (ffi_closure*,
^~~~~~~~~~~~~~~~
make[1]: *** [Makefile:607: src/alien.lo] Error 1
make[1]: Leaving directory 'H:/TDDOWNLOAD/alien/alien-0.7.1'
make: *** [Makefile:414: all] Error 2 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: