Error trying to build eLua for Lm3s8962

Posted by César Raúl Mamani Choquehuanca on
URL: http://elua-development.15.s1.nabble.com/Error-trying-to-build-eLua-for-Lm3s8962-tp2577509.html

Hello all !
   I'm trying to build eLua for LM3S8962 but i have error, the all result is this:

cesar@cesar-laptop:~/elua/trunk$ scons board=EK-LM3S8962 prog
scons: Reading SConscript files ...

*********************************
Compiling eLua ...
CPU:          LM3S8962
Board:        EK-LM3S8962
Platform:     lm3s
Allocator:    newlib
Target:       fplua
Toolchain:    arm-gcc
*********************************

Building filesystem...
Encoded file bisect.lua (646 bytes)
Encoded file hangman.lua (3750 bytes)
Encoded file index.pht (1654 bytes)
Encoded file lhttpd.lua (3911 bytes)
Encoded file test.lua (137 bytes)
Encoded file pong.lua (2605 bytes)
Encoded file LM3S.lua (357 bytes)
Encoded file led.lua (997 bytes)
Encoded file piano.lua (2948 bytes)
Encoded file pwmled.lua (634 bytes)
Encoded file tvbgone.lua (1739 bytes)
Encoded file codes.bin (7780 bytes)
Encoded file hello.lua (23 bytes)
Encoded file info.lua (134 bytes)
Encoded file morse.lua (3449 bytes)
Encoded file adcscope.lua (1308 bytes)
Encoded file adcpoll.lua (1090 bytes)
Done, total size is 33373 bytes

scons: done reading SConscript files.
scons: Building targets ...
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/main.c -o src/main.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/romfs.c -o src/romfs.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/xmodem.c -o src/xmodem.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/shell.c -o src/shell.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/term.c -o src/term.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/common.c -o src/common.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/buf.c -o src/buf.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/elua_adc.c -o src/elua_adc.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/dlmalloc.c -o src/dlmalloc.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/salloc.c -o src/salloc.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/startup_gcc.c -o src/platform/lm3s/startup_gcc.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/platform.c -o src/platform/lm3s/platform.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/usart.c -o src/platform/lm3s/usart.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/sysctl.c -o src/platform/lm3s/sysctl.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/gpio.c -o src/platform/lm3s/gpio.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/ssi.c -o src/platform/lm3s/ssi.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/timer.c -o src/platform/lm3s/timer.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/pwm.c -o src/platform/lm3s/pwm.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/ethernet.c -o src/platform/lm3s/ethernet.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/systick.c -o src/platform/lm3s/systick.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/flash.c -o src/platform/lm3s/flash.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/interrupt.c -o src/platform/lm3s/interrupt.o
arm-elf-gcc -mcpu=cortex-m3 -mthumb -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/lm3s -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=LM3S8962 -DELUA_BOARD=EK-LM3S8962 -DELUA_PLATFORM=LM3S -D__BUFSIZ__=128 -DLUA_OPTIMIZE_MEMORY=2 -DENABLE_DISP -DFORLM3S8962 -Dgcc -Wall -c src/platform/lm3s/cpu.c -o src/platform/lm3s/cpu.o
/tmp/ccFk0R3v.s: Assembler messages:
/tmp/ccFk0R3v.s:15: Error: syntax error -- `mrs r0,PRIMASK'
/tmp/ccFk0R3v.s:33: Error: syntax error -- `mrs r0,PRIMASK'
scons: *** [src/platform/lm3s/cpu.o] Error 1
scons: building terminated because of errors.
cesar@cesar-laptop:~/elua/trunk$


Can u help me? plz

Best regards

--
César R. Mamani Ch.
Estudante da Mestrado
Pontificia Universidade Catolica
Rio da Janeiro - Gavea

_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev