Hello,
Snyder, I'm afraid you forgot to upload your can.c module to trunk, or maybe we need to tell scons not to build it for LM3S yet. Trunk is not building, for board=LM3S8962: ....................... 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/modules/adc.c -o src/modules/adc.o src/modules/adc.c: In function ‘adc_insertsamples’: src/modules/adc.c:196: warning: unused variable ‘zcount’ scons: *** [src/modules/can.o] Source `src/modules/can.c' not found, needed by target `src/modules/can.o'. scons: building terminated because of errors. Best Dado _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Oops... it is in there now.
Sorry about that :-) -jsnyder On Jul 4, 2009, at 10:24 AM, Dado Sutter wrote: > Hello, > Snyder, I'm afraid you forgot to upload your can.c module to > trunk, or maybe we need to tell scons not to build it for LM3S yet. > Trunk is not building, for board=LM3S8962: > > ....................... > 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/modules/adc.c -o src/modules/adc.o > src/modules/adc.c: In function ‘adc_insertsamples’: > src/modules/adc.c:196: warning: unused variable ‘zcount’ > scons: *** [src/modules/can.o] Source `src/modules/can.c' not found, > needed by target `src/modules/can.o'. > scons: building terminated because of errors. > > > Best > Dado > > _______________________________________________ > Elua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev James Snyder Biomedical Engineering Northwestern University [hidden email] http://fanplastic.org/key.txt ph: 847.448.0386 _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev smime.p7s (5K) Download Attachment |
César Raúl Mamani Choquehuanca |
Hello,
Im trying to building in trunk for board=EK-LM3S8962 too, i have similar problem, check this plz cesar@cesar-laptop:~/elua/trunk$ sudo scons board=EK-LM3S8962 prog -c scons: Reading SConscript files ... scons: done reading SConscript files. scons: Cleaning targets ... scons: done cleaning targets. cesar@cesar-laptop:~/elua/trunk$ sudo 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 (2104 bytes) Encoded file adcpoll.lua (1473 bytes) Done, total size is 34552 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 sh: arm-elf-gcc: not found scons: *** [src/main.o] Error 127 scons: building terminated because of errors. cesar@cesar-laptop:~/elua/trunk$ and my PATH is : cesar@cesar-laptop:~/elua/trunk$ $PATH bash: /usr/local/cross-cortex/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory cesar@cesar-laptop:~/elua/trunk$ So i always write with SUDO, is normally that? If i not doing that then : 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... Unable to create output file mv: cannot stat `romfiles.h': No such file or directory 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 Assembler messages: Fatal error: can't create src/main.o: Permission denied scons: *** [src/main.o] Error 1 scons: building terminated because of errors. IOError: [Errno 13] Permission denied: '.sconsign.tmp': File "/usr/lib/scons/SCons/Script/Main.py", line 1171: _exec_main(parser, values) File "/usr/lib/scons/SCons/Script/Main.py", line 1144: _main(parser) File "/usr/lib/scons/SCons/Script/Main.py", line 1105: SCons.SConsign.write() File "/usr/lib/scons/SCons/SConsign.py", line 109: syncmethod() File "/usr/lib/scons/SCons/dblite.py", line 78: f = _open(self._tmp_name, "wb", self._mode) Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method dblite.__del__ of <SCons.dblite.dblite instance at 0x8580f0c>> ignored cesar@cesar-laptop:~/elua/trunk$ Best Cesar 2009/7/4 James Snyder <[hidden email]> Oops... it is in there now. _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi -
Have you updated your subversion checkout? svn up It should be present in the currently checked in version. -jsnyder On Jul 7, 2009, at 2:57 AM, César Raúl Mamani Choquehuanca wrote: > Hello, > > Im trying to building in trunk for board=EK-LM3S8962 too, i have > similar problem, check this plz > > cesar@cesar-laptop:~/elua/trunk$ sudo scons board=EK-LM3S8962 prog -c > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Cleaning targets ... > scons: done cleaning targets. > cesar@cesar-laptop:~/elua/trunk$ sudo 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 (2104 bytes) > Encoded file adcpoll.lua (1473 bytes) > Done, total size is 34552 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 > sh: arm-elf-gcc: not found > scons: *** [src/main.o] Error 127 > scons: building terminated because of errors. > cesar@cesar-laptop:~/elua/trunk$ > > > and my PATH is : > > cesar@cesar-laptop:~/elua/trunk$ $PATH > bash: /usr/local/cross-cortex/bin:/usr/local/sbin:/usr/local/bin:/ > usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory > cesar@cesar-laptop:~/elua/trunk$ > > So i always write with SUDO, is normally that? If i not doing that > then : > > 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... > Unable to create output file > > mv: cannot stat `romfiles.h': No such file or directory > 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 > Assembler messages: > Fatal error: can't create src/main.o: Permission denied > scons: *** [src/main.o] Error 1 > scons: building terminated because of errors. > IOError: [Errno 13] Permission denied: '.sconsign.tmp': > File "/usr/lib/scons/SCons/Script/Main.py", line 1171: > _exec_main(parser, values) > File "/usr/lib/scons/SCons/Script/Main.py", line 1144: > _main(parser) > File "/usr/lib/scons/SCons/Script/Main.py", line 1105: > SCons.SConsign.write() > File "/usr/lib/scons/SCons/SConsign.py", line 109: > syncmethod() > File "/usr/lib/scons/SCons/dblite.py", line 78: > f = _open(self._tmp_name, "wb", self._mode) > Exception exceptions.TypeError: "'NoneType' object is not callable" > in <bound method dblite.__del__ of <SCons.dblite.dblite instance at > 0x8580f0c>> ignored > cesar@cesar-laptop:~/elua/trunk$ > > > > Best > > Cesar > > > > 2009/7/4 James Snyder <[hidden email]> > Oops... it is in there now. > > Sorry about that :-) > > -jsnyder > > > On Jul 4, 2009, at 10:24 AM, Dado Sutter wrote: > > Hello, > Snyder, I'm afraid you forgot to upload your can.c module to > trunk, or maybe we need to tell scons not to build it for LM3S yet. > Trunk is not building, for board=LM3S8962: > > ....................... > 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/modules/adc.c -o src/modules/adc.o > src/modules/adc.c: In function ‘adc_insertsamples’: > src/modules/adc.c:196: warning: unused variable ‘zcount’ > scons: *** [src/modules/can.o] Source `src/modules/can.c' not found, > needed by target `src/modules/can.o'. > scons: building terminated because of errors. > > > Best > Dado > > _______________________________________________ > Elua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > > -- > James Snyder > Biomedical Engineering > Northwestern University > [hidden email] > http://fanplastic.org/key.txt > ph: 847.448.0386 > > > > > > _______________________________________________ > Elua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > > > > > _______________________________________________ > Elua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev James Snyder Biomedical Engineering Northwestern University [hidden email] http://fanplastic.org/key.txt ph: 847.448.0386 _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev smime.p7s (5K) Download Attachment |
César Raúl Mamani Choquehuanca |
Hi,
I maked a mistake with download with svn, i dowload as root, Dado found the problem and now all thats ok, i can building elua right!
-- César R. Mamani Ch. 2009/7/7 James Snyder <[hidden email]> Hi - _______________________________________________ Elua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |