[En-Nut-Discussion] 'devDebug0' undeclared error
Ernst Stippl
ernst at stippl.org
Sat May 26 11:22:10 CEST 2007
Hi!
I just tried compiling inetq.c 4.3.2 with avr-gcc 3.4.6 and all worked ok:
I:\ethernut_4.3.2\nutapp_avr_3.4.6>cd inetq
I:\ethernut_4.3.2\nutapp_avr_3.4.6\inetq>make
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall
-Wstrict-prototypes -Wa,-ahlms=inetq.lst -DETHERNUT2 -D__HARVARD_ARCH__
-I../.././nutbld_avr_3.4.6/include -I../.././nut/include inetq.c -o
inetq.o
avr-gcc inetq.o -mmcu=atmega128 -Wl,--defsym=main=0,-Map=inetq.map,--cref
-L../.././nutbld_avr_3.4.6/lib -Wl,--start-group
../.././nutbld_avr_3.4.6/lib/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev
-lnutarch -lnutnet -lnutfs -lnutcrt -Wl,--end-group -o inetq.elf
avr-objcopy -R .eeprom -O ihex inetq.elf inetq.hex
avr-objcopy -O binary inetq.elf inetq.bin
I:\ethernut_4.3.2\nutapp_avr_3.4.6\inetq>
Did you use another Ethernut / compiler version?
Did you configure/build Ethernut with the configurator before compiling the
example?
regards
Ernst
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von FONOAGE
MIHAI-GCD467
Gesendet: Freitag, 25. Mai 2007 17:11
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] 'devDebug0' undeclared error
Hello,
I am trying to build the inetq application and I get the following error
when calling "NutRegisterDevice(&DEV_DEBUG, 0, 0);" : "inetq.c:135:
error: 'devDebug0' undeclared (first use in this function)". This variable
is declared in the board.h header file: "#define DEV_DEBUG devDebug0".
Please advice what can I do to fix this?
Thank you,
Mihai Fonoage
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.0/818 - Release Date: 25.05.2007
12:32
More information about the En-Nut-Discussion
mailing list