luaffi icon indicating copy to clipboard operation
luaffi copied to clipboard

Linux 32 bit make error

Open stuta opened this issue 12 years ago • 1 comments
trafficstars

In Linux Mint 14 Mate 32 bit I get an error:

make posix lua dynasm/dynasm.lua -LN -o call_x86.h call_x86.dasc lua dynasm/dynasm.lua -D X64 -LN -o call_x64.h call_x86.dasc lua dynasm/dynasm.lua -D X64 -D X64WIN -LN -o call_x64win.h call_x86.dasc cc -fPIC -g -Wall -Werror pkg-config --cflags lua5.1 2>/dev/null || pkg-config --cflags lua -fvisibility=hidden -Wno-unused-function --std=gnu99 -o ffi.o -c ffi.c ffi.c: In function ‘check_pointer’: ffi.c:469:20: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] cc1: all warnings being treated as errors make: *** [ffi.o] Error 1

stuta avatar Mar 15 '13 04:03 stuta

What compiler are you using?

Its complaining about a int64_t -> void* explicit conversion which is a bit odd.

jmckaskill avatar Mar 15 '13 04:03 jmckaskill