lua-users home
lua-l archive

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


I am trying to get Lua going on my mcf5282/uClinux dev board but I am having some problems. For now I just want to get the standalone interpreter and compiler running and that seems to be where I am getting stuck:

cd src/luac; make all
make[1]: Entering directory `/home/mike/uClinux-dist/user/lua/src/luac'
m68k-elf-gcc  -Wall -I../../include -I..      -c -o luac.o luac.c
m68k-elf-gcc  -Wall -I../../include -I..      -c -o print.o print.c
m68k-elf-gcc -o lopcodes.o -c -Wall -I../../include -I.. -DLUA_OPNAMES ../lopcodes.c m68k-elf-gcc -o ../../bin/luac luac.o print.o lopcodes.o -L../../lib -llua -llualib -lm /usr/local/m68k-elf/bin/ld.real: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [../../bin/luac] Error 1
make[1]: Leaving directory `/home/mike/uClinux-dist/user/lua/src/luac'
make: *** [all] Error 2

I am guessing that this is something simple like a few missing cflags. I know that uClinux has all that stuff set up for me but I am not sure how to configure Lua to make use of those facilities. Instead I edited the Lua config file as best as I could, and obviously it is missing a few things.

Any help I can get on this would be much appreciated. Perhaps we could even get Lua added to the uClinux source tree... Anyway, thanks.