[En-Nut-Discussion] troubleshooting with nut/os
francois.passot
francois.passot at laposte.net
Wed Apr 6 16:36:23 CEST 2005
I work with Linux and a Debian distribution, my kernel is 2.4.26.1.386
and KDE 3.3
I cannot configure Nut/os properly.
avr-gcc ver. 3.3
My konsole displays :
poste2:~/ethernut/nut# ./configure
Select a target device:
1) ATmega128
2) ATmega103
Selection -> 1
Which isp programmer are you using?
1) stk200, stk300 or compatible
2) skt500
Selection -> 2
Your system is now configured to build for atmega128.
Type `make` to build the system.
poste2:~/ethernut/nut# make
make -C os
make[1]: Entering directory `/root/ethernut/nut/os'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=init.lst -I../mod/include -I../include init.c -o init.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=nutinit.lst -I../mod/include -I../include nutinit.c -o
nutinit.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=print.lst -I../mod/include -I../include print.c -o print.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=ir.lst -I../mod/include -I../include ir.c -o ir.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devclose.lst -I../mod/include -I../include devclose.c -o
devclose.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devioctl.lst -I../mod/include -I../include devioctl.c -o
devioctl.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devopen.lst -I../mod/include -I../include devopen.c -o
devopen.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devread.lst -I../mod/include -I../include devread.c -o
devread.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devreg.lst -I../mod/include -I../include devreg.c -o
devreg.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devtran.lst -I../mod/include -I../include devtran.c -o
devtran.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=devwrite.lst -I../mod/include -I../include devwrite.c -o
devwrite.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=ifstream.lst -I../mod/include -I../include ifstream.c -o
ifstream.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=timer.lst -I../mod/include -I../include timer.c -o timer.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=event.lst -I../mod/include -I../include event.c -o event.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=thread.lst -I../mod/include -I../include thread.c -o
thread.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=bankmem.lst -I../mod/include -I../include bankmem.c -o
bankmem.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=heap.lst -I../mod/include -I../include heap.c -o heap.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=osdebug.lst -I../mod/include -I../include osdebug.c -o
osdebug.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=confos.lst -I../mod/include -I../include confos.c -o
confos.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=version.lst -I../mod/include -I../include version.c -o
version.o
avr-ar rsv libnutos.a print.o ir.o devclose.o devioctl.o devopen.o
devread.o devreg.o devtran.o devwrite.o ifstream.o timer.o event.o
thread.o bankmem.o heap.oosdebug.o confos.o version.o
avr-ar: création de libnutos.a
a - print.o
a - ir.o
a - devclose.o
a - devioctl.o
a - devopen.o
a - devread.o
a - devreg.o
a - devtran.o
a - devwrite.o
a - ifstream.o
a - timer.o
a - event.o
a - thread.o
a - bankmem.o
a - heap.o
a - osdebug.o
a - confos.o
a - version.o
make[1]: Leaving directory `/root/ethernut/nut/os'
make -C fs
make[1]: Entering directory `/root/ethernut/nut/fs'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=fat.lst -I../mod/include -I../include fat.c -o fat.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=uromfs.lst -I../mod/include -I../include uromfs.c -o
uromfs.o
avr-ar rsv libnutfs.a fat.o uromfs.o
avr-ar: création de libnutfs.a
a - fat.o
a - uromfs.o
make[1]: Leaving directory `/root/ethernut/nut/fs'
make -C dev
make[1]: Entering directory `/root/ethernut/nut/dev'
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=uartavr.lst -I../mod/include -I../include uartavr.c -o
uartavr.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=uart0.lst -I../mod/include -I../include uart0.c -o uart0.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=uart1.lst -I../mod/include -I../include uart1.c -o uart1.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes
-Wa,-ahlms=usart.lst -I../mod/include -I../include usart.c -o usart.o
In file included from usart.c:41:
/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdlib.h:369: error:
parse errorbefore numeric constant
make[1]: *** [usart.o] Erreur 1
make[1]: Leaving directory `/root/ethernut/nut/dev'
make: *** [all] Erreur 2
Can you help me, I'm a totally beginner in Linux's world.
Thanks for your reply.
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)
More information about the En-Nut-Discussion
mailing list