[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problem with ../src/Makefile "aix" parms
- From: mfmorss@...
- Date: Fri, 24 Feb 2006 14:49:09 -0500
I am happy to help. Here is what I had with the aix parms supplied (if I
recall correctly from last night) in the makefile:
$ make aix
cd src; make aix
make all CC="xlc" CFLAGS="-O2 -qmaxmem=-1" MYCFLAGS="-DLUA_USE_POSIX
-DLUA_USE_DLOPEN" MYLIBS="-ldl" MYLDFLAGS="-brtl -bexpall"
xlc -O2 -qmaxmem=-1 -c lapi.c
xlc -O2 -qmaxmem=-1 -c lcode.c
xlc -O2 -qmaxmem=-1 -c ldebug.c
xlc -O2 -qmaxmem=-1 -c ldo.c
xlc -O2 -qmaxmem=-1 -c ldump.c
xlc -O2 -qmaxmem=-1 -c lfunc.c
xlc -O2 -qmaxmem=-1 -c lgc.c
xlc -O2 -qmaxmem=-1 -c llex.c
xlc -O2 -qmaxmem=-1 -c lmem.c
xlc -O2 -qmaxmem=-1 -c lobject.c
xlc -O2 -qmaxmem=-1 -c lopcodes.c
xlc -O2 -qmaxmem=-1 -c lparser.c
xlc -O2 -qmaxmem=-1 -c lstate.c
xlc -O2 -qmaxmem=-1 -c lstring.c
xlc -O2 -qmaxmem=-1 -c ltable.c
xlc -O2 -qmaxmem=-1 -c ltm.c
xlc -O2 -qmaxmem=-1 -c lundump.c
xlc -O2 -qmaxmem=-1 -c lvm.c
xlc -O2 -qmaxmem=-1 -c lzio.c
xlc -O2 -qmaxmem=-1 -c lauxlib.c
xlc -O2 -qmaxmem=-1 -c lbaselib.c
xlc -O2 -qmaxmem=-1 -c ldblib.c
xlc -O2 -qmaxmem=-1 -c liolib.c
xlc -O2 -qmaxmem=-1 -c lmathlib.c
xlc -O2 -qmaxmem=-1 -c loslib.c
xlc -O2 -qmaxmem=-1 -c ltablib.c
xlc -O2 -qmaxmem=-1 -c lstrlib.c
xlc -O2 -qmaxmem=-1 -c loadlib.c
xlc -O2 -qmaxmem=-1 -c linit.c
ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o
llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o
ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o
lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o
ranlib liblua.a
xlc -O2 -qmaxmem=-1 -c lua.c
xlc -o lua -brtl -bexpall lua.o liblua.a -lm -ldl
xlc -O2 -qmaxmem=-1 -c luac.c
xlc -O2 -qmaxmem=-1 -c print.c
xlc -o luac -brtl -bexpall luac.o print.o liblua.a -lm -ldl
Target "all" is up to date.
$ make install
cd src; cp lua luac /mydirectory/bin
cd src; cp lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
/mydirectory/include/lua/5.1
cd src; cp liblua.a /mydirectory/lib/lua/5.1
cd doc; cp lua.1 luac.1 /mydirectory/man/man1
$ lua -ldummy
lua: error loading module 'dummy' from file
'/mydirectory/lib/lua/5.1/dummy.so':
dynamic libraries not enabled; check your Lua installation
Mark F. Morss
Principal Analyst, Market Risk
American Electric Power
Luiz Henrique de
Figueiredo
<lhf@tecgraf.puc- To
rio.br> Lua list
Sent by: <lua@bazar2.conectiva.com.br>
lua-bounces@bazar cc
2.conectiva.com.b
r Subject
Re: Problem with ../src/Makefile
"aix" parms
02/24/2006 02:37
PM
Please respond to
Lua list
<lua@bazar2.conec
tiva.com.br>
> I believe the explanation is that with the
> modified parms, the indicated -D flags are not set when the lua
> interpreter, "lua" is compiled.
That's very odd. Could you do "make clean aix" and post the line that
make shows when it compiles lua.c? Thanks.
I cannot check it myself because I no access to an AIX machine with xlc,
only gcc.
--lhf