Re: Building a luajit rumpkernel

  • From: Indrajeet Singh <singhi@xxxxxxxxxx>
  • To: "Jason E. Aten" <j.e.aten@xxxxxxxxx>, luajit@xxxxxxxxxxxxx
  • Date: Sat, 13 Jan 2018 08:13:43 -0800

Linking and building an .so is an issue for the rump kernel world. I am 
attempting to bypass the building of the .so as it does not add any value for 
the platform (even if we manage to build it). I would like to just build the 
binary or the .a 


On January 12, 2018 at 4:43:06 PM, Jason E. Aten (j.e.aten@xxxxxxxxx) wrote:

 libluajit.so: In function `lj_err_throw':
(.text+0x5289): undefined reference to `_Unwind_RaiseException'

This is a link error. And it appears to be missing a c++ library. Look up what 
the library 
is for the C++ runtime for your system.  For example, if it is libcpp.so, then 
try adding
-lcpp  to your LDFLAGS.

Other related posts: