lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm including luajit in my iOS project (as a static library), and I
get the following linker errors:

Undefined symbols for architecture armv6:
  "___aeabi_cdcmple", referenced from:
      _lj_BC_ISLT in libluajit.a(lj_vm.o)
      _lj_BC_ISGE in libluajit.a(lj_vm.o)
      _lj_BC_ISLE in libluajit.a(lj_vm.o)
      _lj_BC_ISGT in libluajit.a(lj_vm.o)
      _lj_BC_FORI in libluajit.a(lj_vm.o)
      _lj_BC_FORL in libluajit.a(lj_vm.o)
      _lj_ff_math_min in libluajit.a(lj_vm.o)
      ...
  "___aeabi_ddiv", referenced from:
      _lj_BC_DIVVN in libluajit.a(lj_vm.o)
      _lj_BC_DIVNV in libluajit.a(lj_vm.o)
      _lj_BC_DIVVV in libluajit.a(lj_vm.o)
      _lj_vm_mod in libluajit.a(lj_vm.o)
      _lj_vm_foldarith in libluajit.a(lj_vm.o)
  "___aeabi_dsub", referenced from:
      _lj_BC_SUBVN in libluajit.a(lj_vm.o)
      _lj_BC_SUBNV in libluajit.a(lj_vm.o)
      _lj_BC_SUBVV in libluajit.a(lj_vm.o)
      _lj_vm_foldarith in libluajit.a(lj_vm.o)
  "___aeabi_i2d", referenced from:
      _lj_BC_ISLT in libluajit.a(lj_vm.o)
      _lj_BC_ISGE in libluajit.a(lj_vm.o)
      _lj_BC_ISLE in libluajit.a(lj_vm.o)
      _lj_BC_ISGT in libluajit.a(lj_vm.o)
      _lj_BC_ISEQN in libluajit.a(lj_vm.o)
      _lj_BC_ISNEN in libluajit.a(lj_vm.o)
      _lj_ff_math_min in libluajit.a(lj_vm.o)
      ...
  "___aeabi_dadd", referenced from:
      _lj_BC_ADDVN in libluajit.a(lj_vm.o)
      _lj_BC_ADDNV in libluajit.a(lj_vm.o)
      _lj_BC_ADDVV in libluajit.a(lj_vm.o)
      _lj_BC_FORL in libluajit.a(lj_vm.o)
      _lj_vm_mod in libluajit.a(lj_vm.o)
      _lj_vm_foldarith in libluajit.a(lj_vm.o)
  "___aeabi_dmul", referenced from:
      _lj_BC_MULVN in libluajit.a(lj_vm.o)
      _lj_BC_MULNV in libluajit.a(lj_vm.o)
      _lj_BC_MULVV in libluajit.a(lj_vm.o)
      _lj_ff_math_deg in libluajit.a(lj_vm.o)
      _lj_vm_mod in libluajit.a(lj_vm.o)
      _lj_vm_foldarith in libluajit.a(lj_vm.o)
  "___aeabi_cdcmpeq", referenced from:
      _lj_BC_ISEQN in libluajit.a(lj_vm.o)
      _lj_BC_ISNEN in libluajit.a(lj_vm.o)
ld: symbol(s) not found for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)