lua-users home
lua-l archive

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


On Sat, 26 Oct 2013, William Ahern wrote:

On Sat, Oct 26, 2013 at 01:02:08PM -0200, Luiz Henrique de Figueiredo wrote:
Try 'make ansi' or 'make generic'. But these won't get you dynamic loading.

I no longer have access to Solaris. If someone does and can find what
the problem is, please post a solution. Otherwise, if the solaris target
is really broken, perhaps we should remove it from the Makefile.

It builds without errors on Solaris 11. Interestingly, it also builds
without errors using the native compiler, although I haven't used Lua built
that way.

Both 'make ansi' and 'make generic' fail, but I can build it with native 'cc', so that got me thinking about the 'gcc' include files. I found a note ("http://www.sawmill.net/dcforum/DCForumID2/2236.html";) about updating 'gcc' after an OS upgrade (we've recently gone from Solaris 8 to Solaris 10). One of the files updated was '<sys/types.h>' which has the defs for the names that were causing my issuesA.

In case anyone else needs the procedure:

cd <GNUINSTALLDIR>/lib/gcc/sparc-sun-solaris2.X/X.X.X/install-tools
Add 'SHELL=/bin/sh' to the 'mkheaders.conf' file.
cd <GNUINSTALLDIR>/libexec/gcc/sparc-sun-solaris2.8/3.4.6/install-tools
./mkheaders -v

I had previously rebuilt several packages and hadn't had any issues, but obviously just got lucky.

Thanks again,
Mike
--
Mike Peterson                            Information Security Analyst - Audit
E-mail: mikep@noc.utoronto.ca                WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230                                           Fax: 416-978-6620