[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua compilation (@solaris)
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: Wed, 9 Jul 2008 12:38:28 +0300
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 <email@example.com> wrote:
> Marcin Niśkiewicz wrote:
>> 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
> #define LUAI_FUNC __attribute__((visibility("hidden"))) extern
> #define LUAI_FUNC extern
> (Although I'm surprised that Solaris doesn't support this; Solaris does use
> ELF, right?)
> David Given