compile on arm

Tomas Hlavaty tom at logand.com
Wed Oct 14 22:20:46 UTC 2015


Hi,

I get an error when compiling on ARM:

gcc -L/nix/store/s2ldc3kwqwmiiags6pjibwdjlwdhbs8w-gmp-5.1.3/lib -o
mkcl_min c/cinit.o c/all_symbols.o mkclmin.a mkclgc.a -lgmp -pthread
-lrt -ldl  -lm
mkclmin.a(ffi.o): In function `mkcl_fficall_prepare':
/tmp/nix-build-mkcl-1.1.9.drv-0/mkcl-86768cc/src/c/ffi.d:729: undefined
reference to `mkcl_fficall_prepare_extra'
mkclmin.a(ffi.o): In function `mk_si_call_cfun':
/tmp/nix-build-mkcl-1.1.9.drv-0/mkcl-86768cc/src/c/ffi.d:788: undefined
reference to `mkcl_fficall_push_arg'
/tmp/nix-build-mkcl-1.1.9.drv-0/mkcl-86768cc/src/c/ffi.d:792: undefined
reference to `mkcl_fficall_execute'
mkclmin.a(ffi.o): In function `mk_si_make_dynamic_callback':
/tmp/nix-build-mkcl-1.1.9.drv-0/mkcl-86768cc/src/c/ffi.d:810: undefined
reference to `mkcl_dynamic_callback_make'
collect2: error: ld returned 1 exit status
Makefile:258: recipe for target 'mkcl_min' failed
make[1]: *** [mkcl_min] Error 1
make[1]: Leaving directory
'/tmp/nix-build-mkcl-1.1.9.drv-0/mkcl-86768cc/src'
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2
builder for ■/nix/store/jc4fcn4vnmj9zbid9xkr9cg5kfy36yav-mkcl-1.1.9.drv■
failed with exit code 2

Any ideas what could be wrong?  It works with the same build
configuration on x86_64.

Regards,

Tomas



More information about the mkcl-devel mailing list