[En-Nut-Discussion] Building SVN Trunk

Harald Kipp harald.kipp at egnite.de
Fri Sep 25 14:44:58 CEST 2009


If someone got some spare time during the weekend, may be he/she can
help and look into the following problems.

While my cross platform script isn't complete, it reports the following
errors:

1. Building Nut/OS libs for AT91R40008 fails with compiler error,
because this CPU has no DBGU device. I fixed this already and will
commit the changes ASAP.

2. Building the caltime app for AT91EB40A, SAM7S(E)-Generic and
AT91SAM7SE-EK fails with
caltime.c: In function 'main':
caltime.c:340: error: 'devUart0' undeclared (first use in this function)

3. Building the ftpd app fails for SAM7S(E)-Generic and STK501 fails with
ftpserv.c: In function 'InitEthernetDevice':
ftpserv.c:359: error: 'devEth0' undeclared (first use in this function)

4. Building Nut/OS libs for GBA fails with
../.././nut/arch/arm/dev/at91_reset.c: In function 'At91Reset':
../.././nut/arch/arm/dev/at91_reset.c:61: error: implicit declaration of
function 'At91WatchDogStart'

5. Building Nut/OS libs for AT91SAM9260-EK fails with
../.././nut/arch/arm/dev/usartat91.c: In function 'At91UsartInit':
../.././nut/arch/arm/dev/usartat91.c:1409: error: 'SYSC_ID' undeclared
(first use in this function)
../.././nut/arch/arm/dev/usartat91.c:1409: error: (Each undeclared
identifier is reported only once
../.././nut/arch/arm/dev/usartat91.c:1409: error: for each function it
appears in.)
../.././nut/arch/arm/dev/usartat91.c: In function 'At91UsartDeinit':
../.././nut/arch/arm/dev/usartat91.c:1459: error: 'SYSC_ID' undeclared
(first use in this function)
make[1]: *** [arm/dev/usartDat91.o] Error 1

I assumed I fixed that one by adding the missing defines in irqreg.h.
Unfortunately it doesn't work. I'll investigate this further.

6. Building a debug version of the httpd app fails on all ATmega128
boards with
httpserv.elf section .text will not fit in region text
region text overflowed by 3848 bytes

7. Building nutpiper app for Arthernet fails with

../../arthernet1-avr-gcc-bld/lib\libnutarch.a(ih_int4.o): In function
`__vector_5':
ih_int4.c:(.text+0x108): multiple definition of `__vector_5'
../../arthernet1-avr-gcc-bld/lib\libnutarch.a(irsony.o):irsony.c:(.text+0x40):
first defined here

8. Building Nut/OS libs for AVR using ImageCraft fails with
!E C:\ethernut\ethernut-4.9.7\nut\dev\led.c(285): operands of = have
illegal types `pointer to LEDEventT' and `int'

Note, that 1-7 are GCC, 8 is ICCAVR.

Harald




More information about the En-Nut-Discussion mailing list