[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Investigating "can't resolve symbol"?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 27 Jan 2011 21:46:52 -0200
> Out of curiosity, I'd like to know why including "-Wl,-E" when
> compiling Lua with "make generic" solved the issue.
> Is it because modules loaded in Lua require extra information in the
> Lua interpreter?
It's because modules loaded in Lua require access to the C API functions
that are linked into the Lua interpreter. "-Wl,-E" tells the linker to
export those symbols to dynamically linked modules.