Hello all !
I'm trying to build eLua for AVR32, I've been told to install some packages of the AVR GNU toolchain: avr32-binutils_2.17.atmel.1.2.6-2_i386.deb avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb avr32headers_1.9.11-1_all.deb I couldn't manage to find these exact versions so I got some newer ones from Atmel site (http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): avr32-binutils_2.18.atmel.1.0.1-1_i386.deb avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb avr32headers_2.0.5-1_all.deb After installing these and setting the enviroment path, I get the following error messages (annexed file), I'm using ubuntu 8.04. Anyone got success using AVR32 toolchain ? Thanks in advance, -- Fernando Araujo -------------- next part -------------- An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090217/114461ba/attachment-0001.html -------------- next part -------------- scons: Reading SConscript files ... ********************************* Compiling eLua ... CPU: AT32UC3A0512 Board: ATEVK1100 Platform: avr32 Allocator: multiple Target: lua ********************************* Building filesystem... Encoded file bisect.lua (646 bytes) Encoded file hangman.lua (3750 bytes) Encoded file led.lua (947 bytes) Encoded file hello.lua (23 bytes) Encoded file info.lua (134 bytes) Done, total size is 5561 bytes scons: done reading SConscript files. scons: Building targets ... avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/main.c -o src/main.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/romfs.c -o src/romfs.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/xmodem.c -o src/xmodem.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/shell.c -o src/shell.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/term.c -o src/term.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/common.c -o src/common.o In file included from src/common.c:12: inc/elua_adc.h:35:7: warning: no newline at end of file src/common.c:349:2: warning: no newline at end of file avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/buf.c -o src/buf.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/elua_adc.c -o src/elua_adc.o src/elua_adc.c:159:7: warning: no newline at end of file avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/dlmalloc.c -o src/dlmalloc.o src/dlmalloc.c: In function 'sys_trim': src/dlmalloc.c:2436: warning: unused variable 'newsize' avr32-gcc -x assembler-with-cpp -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -mpart=uc3a0512 -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/platform/avr32/crt0.s -o src/platform/avr32/crt0.o avr32-gcc -x assembler-with-cpp -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -mpart=uc3a0512 -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/platform/avr32/trampoline.s -o src/platform/avr32/trampoline.o avr32-gcc -mpart=uc3a0512 -Os -fomit-frame-pointer -Iinc -Iinc/newlib -Isrc/lua -Isrc/modules -Isrc/platform/avr32 -Isrc/uip -ffunction-sections -fdata-sections -DELUA_CPU=AT32UC3A0512 -DELUA_BOARD=ATEVK1100 -DELUA_PLATFORM=AVR32 -D__BUFSIZ__=128 -DUSE_MULTIPLE_ALLOCATOR -DLUA_OPTIMIZE_MEMORY=2 -DFORAVR32 -DBOARD=1 -Wall -c src/platform/avr32/platform.c -o src/platform/avr32/platform.o src/platform/avr32/platform.c: In function 'platform_init': src/platform/avr32/platform.c:98: error: 'AVR32_TC_TCCLKS_TIMER_DIV1_CLOCK' undeclared (first use in this function) src/platform/avr32/platform.c:98: error: (Each undeclared identifier is reported only once src/platform/avr32/platform.c:98: error: for each function it appears in.) src/platform/avr32/platform.c: In function 'platform_pio_op': src/platform/avr32/platform.c:323: error: 'PLATFORM_PIO_READ_IN_MASK' undeclared (first use in this function) scons: *** [src/platform/avr32/platform.o] Error 1 scons: building terminated because of errors. |
Hi,
I checked in the fix for the PLATFORM_PIO_ version. However, the other error seems to come because of an API change in the AVR32 toolchain. I'll investigate this and come back to you. Best, Bogdan On Tue, Feb 17, 2009 at 8:52 PM, Fernando Ara?jo <freecky at gmail.com> wrote: > Hello all ! > I'm trying to build eLua for AVR32, I've been told to install some > packages of the AVR GNU toolchain: > > avr32-binutils_2.17.atmel.1.2.6-2_i386.deb > avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb > avr32headers_1.9.11-1_all.deb > > I couldn't manage to find these exact versions so I got some newer ones > from Atmel site ( > http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): > > avr32-binutils_2.18.atmel.1.0.1-1_i386.deb > avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb > avr32headers_2.0.5-1_all.deb > > After installing these and setting the enviroment path, I get the following > error messages (annexed file), I'm using ubuntu 8.04. Anyone got success > using AVR32 toolchain ? > > > Thanks in advance, > > -- > Fernando Araujo > > _______________________________________________ > Elua-dev mailing list > Elua-dev at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/elua-dev > > An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090217/ef30e753/attachment.html |
Hi,
I solved the problem. It was just some library dependency issues. =) The toolchain depends on: - libdwarf - libxerces27 - libelf Regards, -- Fernando Araujo On Tue, Feb 17, 2009 at 15:58, Bogdan Marinescu <bogdan.marinescu at gmail.com>wrote: > Hi, > > I checked in the fix for the PLATFORM_PIO_ version. However, the other > error seems to come because of an API change in the AVR32 toolchain. I'll > investigate this and come back to you. > > Best, > Bogdan > > > On Tue, Feb 17, 2009 at 8:52 PM, Fernando Ara?jo <freecky at gmail.com>wrote: > >> Hello all ! >> I'm trying to build eLua for AVR32, I've been told to install some >> packages of the AVR GNU toolchain: >> >> avr32-binutils_2.17.atmel.1.2.6-2_i386.deb >> avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb >> avr32headers_1.9.11-1_all.deb >> >> I couldn't manage to find these exact versions so I got some newer ones >> from Atmel site ( >> http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): >> >> avr32-binutils_2.18.atmel.1.0.1-1_i386.deb >> avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb >> avr32headers_2.0.5-1_all.deb >> >> After installing these and setting the enviroment path, I get the >> following error messages (annexed file), I'm using ubuntu 8.04. Anyone got >> success using AVR32 toolchain ? >> >> >> Thanks in advance, >> >> -- >> Fernando Araujo >> >> _______________________________________________ >> Elua-dev mailing list >> Elua-dev at lists.berlios.de >> https://lists.berlios.de/mailman/listinfo/elua-dev >> >> > > _______________________________________________ > Elua-dev mailing list > Elua-dev at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/elua-dev > > An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090218/dd4f72cb/attachment.html |
Great !
Now I can write a receipe for the AVR32 toolchain building (actually just installing) for our site soon. Thanks ! Dado On Wed, Feb 18, 2009 at 01:56, Fernando Ara?jo <freecky at gmail.com> wrote: > Hi, > I solved the problem. It was just some library dependency issues. =) > > The toolchain depends on: > - libdwarf > - libxerces27 > - libelf > > Regards, > -- > Fernando Araujo > > > > On Tue, Feb 17, 2009 at 15:58, Bogdan Marinescu < > bogdan.marinescu at gmail.com> wrote: > >> Hi, >> >> I checked in the fix for the PLATFORM_PIO_ version. However, the other >> error seems to come because of an API change in the AVR32 toolchain. I'll >> investigate this and come back to you. >> >> Best, >> Bogdan >> >> >> On Tue, Feb 17, 2009 at 8:52 PM, Fernando Ara?jo <freecky at gmail.com>wrote: >> >>> Hello all ! >>> I'm trying to build eLua for AVR32, I've been told to install some >>> packages of the AVR GNU toolchain: >>> >>> avr32-binutils_2.17.atmel.1.2.6-2_i386.deb >>> avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb >>> avr32headers_1.9.11-1_all.deb >>> >>> I couldn't manage to find these exact versions so I got some newer ones >>> from Atmel site ( >>> http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): >>> >>> avr32-binutils_2.18.atmel.1.0.1-1_i386.deb >>> avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb >>> avr32headers_2.0.5-1_all.deb >>> >>> After installing these and setting the enviroment path, I get the >>> following error messages (annexed file), I'm using ubuntu 8.04. Anyone got >>> success using AVR32 toolchain ? >>> >>> >>> Thanks in advance, >>> >>> -- >>> Fernando Araujo >>> >>> _______________________________________________ >>> Elua-dev mailing list >>> Elua-dev at lists.berlios.de >>> https://lists.berlios.de/mailman/listinfo/elua-dev >>> >>> >> >> _______________________________________________ >> Elua-dev mailing list >> Elua-dev at lists.berlios.de >> https://lists.berlios.de/mailman/listinfo/elua-dev >> >> > > _______________________________________________ > Elua-dev mailing list > Elua-dev at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/elua-dev > > An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090218/9af19533/attachment.html |
Dado,
In fact I got it running, but with the old libs. When I realized what was wrong, I tried the newer libs (from Atmel site) and got the same errors again. Later on I'll remake all the process and write a recipe. Best, -- Fernando Araujo On Wed, Feb 18, 2009 at 07:02, Dado Sutter <dadosutter at gmail.com> wrote: > Great ! > Now I can write a receipe for the AVR32 toolchain building (actually > just installing) for our site soon. > > Thanks ! > Dado > > > > > > On Wed, Feb 18, 2009 at 01:56, Fernando Ara?jo <freecky at gmail.com> wrote: > >> Hi, >> I solved the problem. It was just some library dependency issues. =) >> >> The toolchain depends on: >> - libdwarf >> - libxerces27 >> - libelf >> >> Regards, >> -- >> Fernando Araujo >> >> >> >> On Tue, Feb 17, 2009 at 15:58, Bogdan Marinescu < >> bogdan.marinescu at gmail.com> wrote: >> >>> Hi, >>> >>> I checked in the fix for the PLATFORM_PIO_ version. However, the other >>> error seems to come because of an API change in the AVR32 toolchain. I'll >>> investigate this and come back to you. >>> >>> Best, >>> Bogdan >>> >>> >>> On Tue, Feb 17, 2009 at 8:52 PM, Fernando Ara?jo <freecky at gmail.com>wrote: >>> >>>> Hello all ! >>>> I'm trying to build eLua for AVR32, I've been told to install some >>>> packages of the AVR GNU toolchain: >>>> >>>> avr32-binutils_2.17.atmel.1.2.6-2_i386.deb >>>> avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb >>>> avr32headers_1.9.11-1_all.deb >>>> >>>> I couldn't manage to find these exact versions so I got some newer ones >>>> from Atmel site ( >>>> http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): >>>> >>>> avr32-binutils_2.18.atmel.1.0.1-1_i386.deb >>>> avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb >>>> avr32headers_2.0.5-1_all.deb >>>> >>>> After installing these and setting the enviroment path, I get the >>>> following error messages (annexed file), I'm using ubuntu 8.04. Anyone got >>>> success using AVR32 toolchain ? >>>> >>>> >>>> Thanks in advance, >>>> >>>> -- >>>> Fernando Araujo >>>> >>>> _______________________________________________ >>>> Elua-dev mailing list >>>> Elua-dev at lists.berlios.de >>>> https://lists.berlios.de/mailman/listinfo/elua-dev >>>> >>>> >>> >>> _______________________________________________ >>> Elua-dev mailing list >>> Elua-dev at lists.berlios.de >>> https://lists.berlios.de/mailman/listinfo/elua-dev >>> >>> >> >> _______________________________________________ >> Elua-dev mailing list >> Elua-dev at lists.berlios.de >> https://lists.berlios.de/mailman/listinfo/elua-dev >> >> > > _______________________________________________ > Elua-dev mailing list > Elua-dev at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/elua-dev > > An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090218/b0b782dc/attachment-0001.html |
On Wed, Feb 18, 2009 at 11:13, Fernando Ara?jo <freecky at gmail.com> wrote:
> Dado, > In fact I got it running, but with the old libs. When I realized what > was wrong, I tried the newer libs (from Atmel site) and got the same errors > again. Later on I'll remake all the process and write a recipe. > > Best, Thank you Fernando Dado > > -- > Fernando Araujo > > > > On Wed, Feb 18, 2009 at 07:02, Dado Sutter <dadosutter at gmail.com> wrote: > >> Great ! >> Now I can write a receipe for the AVR32 toolchain building (actually >> just installing) for our site soon. >> >> Thanks ! >> Dado >> >> >> >> >> >> On Wed, Feb 18, 2009 at 01:56, Fernando Ara?jo <freecky at gmail.com> wrote: >> >>> Hi, >>> I solved the problem. It was just some library dependency issues. =) >>> >>> The toolchain depends on: >>> - libdwarf >>> - libxerces27 >>> - libelf >>> >>> Regards, >>> -- >>> Fernando Araujo >>> >>> >>> >>> On Tue, Feb 17, 2009 at 15:58, Bogdan Marinescu < >>> bogdan.marinescu at gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I checked in the fix for the PLATFORM_PIO_ version. However, the other >>>> error seems to come because of an API change in the AVR32 toolchain. I'll >>>> investigate this and come back to you. >>>> >>>> Best, >>>> Bogdan >>>> >>>> >>>> On Tue, Feb 17, 2009 at 8:52 PM, Fernando Ara?jo <freecky at gmail.com>wrote: >>>> >>>>> Hello all ! >>>>> I'm trying to build eLua for AVR32, I've been told to install some >>>>> packages of the AVR GNU toolchain: >>>>> >>>>> avr32-binutils_2.17.atmel.1.2.6-2_i386.deb >>>>> avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb >>>>> avr32headers_1.9.11-1_all.deb >>>>> >>>>> I couldn't manage to find these exact versions so I got some newer ones >>>>> from Atmel site ( >>>>> http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=4118): >>>>> >>>>> avr32-binutils_2.18.atmel.1.0.1-1_i386.deb >>>>> avr32-gcc-newlib_4.2.2-atmel.1.1.3-1_i386.deb >>>>> avr32headers_2.0.5-1_all.deb >>>>> >>>>> After installing these and setting the enviroment path, I get the >>>>> following error messages (annexed file), I'm using ubuntu 8.04. Anyone got >>>>> success using AVR32 toolchain ? >>>>> >>>>> >>>>> Thanks in advance, >>>>> >>>>> -- >>>>> Fernando Araujo >>>>> >>>>> _______________________________________________ >>>>> Elua-dev mailing list >>>>> Elua-dev at lists.berlios.de >>>>> https://lists.berlios.de/mailman/listinfo/elua-dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Elua-dev mailing list >>>> Elua-dev at lists.berlios.de >>>> https://lists.berlios.de/mailman/listinfo/elua-dev >>>> >>>> >>> >>> _______________________________________________ >>> Elua-dev mailing list >>> Elua-dev at lists.berlios.de >>> https://lists.berlios.de/mailman/listinfo/elua-dev >>> >>> >> >> _______________________________________________ >> Elua-dev mailing list >> Elua-dev at lists.berlios.de >> https://lists.berlios.de/mailman/listinfo/elua-dev >> >> > > _______________________________________________ > Elua-dev mailing list > Elua-dev at lists.berlios.de > https://lists.berlios.de/mailman/listinfo/elua-dev > > An HTML attachment was scrubbed... URL: https://lists.berlios.de/pipermail/elua-dev/attachments/20090218/2c756fb6/attachment-0001.html |
Free forum by Nabble | Edit this page |