Re: Re: build error 2.0.3

  • From: "wdb.music@xxxxxxx" <wdb.music@xxxxxxx>
  • To: luajit <luajit@xxxxxxxxxxxxx>
  • Date: Mon, 20 Apr 2015 17:08:54 +0800

[root@localhost luajit-2.0]# make clean
make -C src clean
make[1]: Entering directory `/opt/luajit-2.0/src'
rm -f luajit libluajit.a libluajit.so host/minilua host/buildvm lj_vm.s
lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h host/buildvm_arch.h
jit/vmdef.lua *.o host/*.o *.obj *.lib *.exp *.dll *.exe *.manifest *.pdb *.ilk
make[1]: Leaving directory `/opt/luajit-2.0/src'
[root@localhost luajit-2.0]# make
==== Building LuaJIT 2.0.3 ====
make -C src
make[1]: Entering directory `/opt/luajit-2.0/src'
HOSTCC host/minilua.o
HOSTLINK host/minilua
DYNASM host/buildvm_arch.h
HOSTCC host/buildvm.o
HOSTCC host/buildvm_asm.o
HOSTCC host/buildvm_peobj.o
HOSTCC host/buildvm_lib.o
HOSTCC host/buildvm_fold.o
HOSTLINK host/buildvm
BUILDVM lj_vm.s
ASM lj_vm.o
CC lj_gc.o
BUILDVM lj_ffdef.h
CC lj_err.o
CC lj_char.o
BUILDVM lj_bcdef.h
CC lj_bc.o
CC lj_obj.o
CC lj_str.o
CC lj_tab.o
CC lj_func.o
CC lj_udata.o
CC lj_meta.o
CC lj_debug.o
CC lj_state.o
CC lj_dispatch.o
CC lj_vmevent.o
CC lj_vmmath.o
CC lj_strscan.o
CC lj_api.o
CC lj_lex.o
CC lj_parse.o
CC lj_bcread.o
CC lj_bcwrite.o
CC lj_load.o
CC lj_ir.o
CC lj_opt_mem.o
BUILDVM lj_folddef.h
CC lj_opt_fold.o
CC lj_opt_narrow.o
CC lj_opt_dce.o
CC lj_opt_loop.o
CC lj_opt_split.o
CC lj_opt_sink.o
CC lj_mcode.o
CC lj_snap.o
CC lj_record.o
CC lj_crecord.o
BUILDVM lj_recdef.h
CC lj_ffrecord.o
CC lj_asm.o
CC lj_trace.o
CC lj_gdbjit.o
CC lj_ctype.o
CC lj_cdata.o
CC lj_cconv.o
CC lj_ccall.o
CC lj_ccallback.o
CC lj_carith.o
CC lj_clib.o
CC lj_cparse.o
CC lj_lib.o
CC lj_alloc.o
CC lib_aux.o
BUILDVM lj_libdef.h
CC lib_base.o
CC lib_math.o
CC lib_bit.o
CC lib_string.o
CC lib_table.o
CC lib_io.o
CC lib_os.o
CC lib_package.o
CC lib_debug.o
CC lib_jit.o
In file included from lib_jit.c:417:
lj_libdef.h:284: error: ‘lj_cf_jit_util_traceinfo’ undeclared here (not in a
function)
lj_libdef.h:285: error: ‘lj_cf_jit_util_traceir’ undeclared here (not in a
function)
lj_libdef.h:286: error: ‘lj_cf_jit_util_tracek’ undeclared here (not in a
function)
lj_libdef.h:287: error: ‘lj_cf_jit_util_tracesnap’ undeclared here (not in a
function)
lj_libdef.h:288: error: ‘lj_cf_jit_util_tracemc’ undeclared here (not in a
function)
lj_libdef.h:289: error: ‘lj_cf_jit_util_traceexitstub’ undeclared here (not in
a function)
lj_libdef.h:290: error: ‘lj_cf_jit_util_ircalladdr’ undeclared here (not in a
function)
make[1]: *** [lib_jit.o] Error 1
make[1]: Leaving directory `/opt/luajit-2.0/src'
make: *** [default] Error 2


yes i have did "make clean" before make,



wdb.music@xxxxxxx

From: Mike Pall
Date: 2015-04-20 17:04
To: luajit
Subject: Re: build error 2.0.3
wdb.music@xxxxxxx wrote:

then make error

[root@localhost luajit-2.0]# make
==== Building LuaJIT 2.0.3 ====
make -C src
make[1]: Entering directory `/opt/luajit-2.0/src'
CC lib_jit.o
In file included from lib_jit.c:417:
lj_libdef.h:284: error: ‘lj_cf_jit_util_traceinfo’ undeclared here (not in a
function)
[...]
What would be the proper way for me to do this?

You need to 'make clean' when changing any build options.

--Mike

Other related posts: