Hi,
I was able to build eLua under windows last week. Seems something has happened since then, and when I try to build now I get the following: C:\elua0.7>scons board=ek-lm3s6965 toolchain=codesourcery prog
scons: Reading SConscript files ... ********************************* Compiling eLua ... CPU: LM3S6965 Board: EK-LM3S6965 Platform: lm3s
Allocator: newlib Boot Mode: standard Target: fplua Toolchain: codesourcery ROMFS mode: verbatim *********************************
Building ROM File System... Encoded file bisect.lua (646 bytes) Encoded file hangman.lua (3378 bytes) Encoded file pong.lua (10729 bytes) Encoded file led.lua (1198 bytes)
Encoded file piano.lua (3080 bytes) Encoded file pwmled.lua (917 bytes) Encoded file hello.lua (23 bytes) Encoded file info.lua (134 bytes) Encoded file morse.lua (3560 bytes)
Encoded file adcscope.lua (2055 bytes) Encoded file adcpoll.lua (1414 bytes) Encoded file logo.lua (2679 bytes) Encoded file logo.bin (2048 bytes) Encoded file HelloLua.lua (51 bytes)
Encoded file LuaTest.lua (437 bytes) Encoded file EK-LM3S6965.lua (1276 bytes) Done, total size is 33832 bytes scons: done reading SConscript files. scons: Building targets ...
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc\n ewlib -Isrc\lua -Isrc\modules -Isrc\platform\lm3s -Isrc\uip -Isrc\fatfs -ffuncti on-sections -fdata-sections -DELUA_CPU=LM3S6965 -DELUA_BOARD=EK-LM3S6965 -DELUA_
PLATFORM=LM3S -D__BUFSIZ__=128 -DELUA_CPU_LM3S6965 -DELUA_BOARD_EKLM3S6965 -DELU A_PLATFORM_LM3S -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S6965 -Dgcc -Wall -c src\shell.c -o src\shell.o
src\shell.c:274: error: 'shell_env' undeclared here (not in a function) scons: *** [src\shell.o] Error 1 scons: building terminated because of errors. C:\elua0.7>
Also, when I try to build the cross compiler I get: C:\elua0.7>scons -f cross-lua.py scons: *** An executable should have exactly one target with the suffix: .exe
File "C:\elua0.7\cross-lua.py", line 22, in <module> Any help would be appreciated. Paul _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi Paul,
Are using Cygwin or the mingw version of GCC? (don't know if this really matters to the problem, just to reconstruct the environment here to check it out). --Pedro Bittencourt
On Sat, Sep 11, 2010 at 6:54 PM, Paul Verbeke <[hidden email]> wrote: Hi, _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |