lua-users home
lua-l archive

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


The problem is with the Solaris "install" script, I distinctly
remember that it's different from the GNU install script. I don't
recall how to solve this though; I think that I quick trip to
sunfreeware.com might be the answer to your problem.

On Wed, Jul 9, 2008 at 12:34 PM, David Given <dg@cowlark.com> wrote:
> Marcin Niśkiewicz wrote:
>>
>> Hello
>> I tried to install lua on solaris... and i didn't succeded ...
>
> [...]
>>
>> gcc -o luac  luac.o print.o liblua.a -lm -ldl
>
> [...]
>>
>> Could You tell me what's wrong?
>
> Nothing, as far as I can tell; it looks like it all worked. Did you try
> running the executable and seeing what happened?
>
> The warnings you've been getting are because Lua uses the
> visibility("hidden") gcc attribute to prevent internal functions from being
> exported, and your gcc configuration doesn't support it. It's harmeless and
> you can ignore it. If you don't want the warnings, edit luaconf.h and
> change:
>
> #define LUAI_FUNC       __attribute__((visibility("hidden"))) extern
>
> to:
>
> #define LUAI_FUNC       extern
>
> (Although I'm surprised that Solaris doesn't support this; Solaris does use
> ELF, right?)
>
> --
> David Given
> dg@cowlark.com
>