[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Compiling luac with Codewarrior
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 6 Aug 2003 13:48:59 -0300
>Link Error : undefined: 'luaP_opnames' (data)
>Referenced from 'PrintCode' in print.c
>It seems that, since this data is defined already within lualib, Codewarrior
>doesn't like the fact that I am including the lopcodes.c source file again
>in the luac build. Of course if I remove from the list of luac sources, I
>get the undefined: 'luaP_opnames' error again.
You need to recompile lopcodes.c with LUA_OPNAMES defined, as it says in
INSTALL. Somewhere you have to tell Codewarrior this.
If all else fails, just add
at the end of print.c.