[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Help building Lua with uClinux
- From: Michael Broughton <mbobowik@...>
- Date: Tue, 23 Aug 2005 07:59:28 -0600
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
cd src/luac; make all
make: 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..
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
collect2: ld returned 1 exit status
make: *** [../../bin/luac] Error 1
make: 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
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.