lua-users home
lua-l archive

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


Gabi wrote:
> I am having hard time compiling the examples though..
> 
> For example the DynASM-example.tar.gz produces compile errors such as
> ("dynasm/dasm_x86.h:90:20: error: expected expression before ‘struct")
> I tried to compile something minimal on my own and got errors like "Dst_Ref
> was not declared in this scope"
> Obviosly I am doing someting wrong..
> I am using gcc under linux and LuaJIT-2.0.0-beta6

You need to put a copy of the dynasm directory from the LuaJIT 2.x
sources below the example directory (or symlink it). Then it
compiles out-of-the-box on Linux.

--Mike