[En-Nut-Discussion] charon2 db_demo errors
Aigars Riekstinsh
aigars at apse.cc.rtu.lv
Fri Nov 5 11:20:57 CET 2004
Hello.
Im new to ethernut and nut/os and so please excuse me if this is
answered many times but I didnt find answers in list archives.
I installed an configured nut/os for ethernut v 2.1 on windows. I
succesfully built nutos and sample applications in seperate built trees
but now I need to develop for charon2 moule also. I understand that it
shoud be possible to use the same souce tree ounly make new built tree
and application tree with nutconf. I did it with ethernut13f.conf as
starting point and nut/os builds OK (didnt test it on hw) but make in
db_demo folder gives me:
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=CH_II_DB_demo.lst -D__HARVARD_ARCH__
-IC:/ethernut/charon2_build/include -IC:/ethernut/nut/include
CH_II_DB_demo.c -o CH_II_DB_demo.o
crurom -r -ourom.c html
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=urom.lst -D__HARVARD_ARCH__
-IC:/ethernut/charon2_build/include -IC:/ethernut/nut/include urom.c -o
urom.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=shift.lst -D__HARVARD_ARCH__
-IC:/ethernut/charon2_build/include -IC:/ethernut/nut/include shift.c
-o shift.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=lcd.lst -D__HARVARD_ARCH__
-IC:/ethernut/charon2_build/include -IC:/ethernut/nut/include lcd.c -o
lcd.o
avr-gcc -c -mmcu=atmega128 -Os -Wall -Wstrict-prototypes
-Wa,-ahlms=ds182x.lst -D__HARVARD_ARCH__
-IC:/ethernut/charon2_build/include -IC:/ethernut/nut/include ds182x.c
-o ds182x.o
avr-gcc CH_II_DB_demo.o urom.o shift.o lcd.o ds182x.o -mmcu=atmega128
-Wl,--defsym=main=0,-Map=CH_II_DB_demo.map,--cref
-LC:/ethernut/charon2_build/lib
C:/ethernut/charon2_build/lib/nutinit.o -lnutnet -lnutpro -lnutfs
-lnutos -lnutdev -lnutnet -lnutcrt -o CH_II_DB_demo.elf
CH_II_DB_demo.c: In function `ShowForm':
CH_II_DB_demo.c:723: warning: implicit declaration of function
`NutRomFileOpen'
CH_II_DB_demo.c:723: warning: assignment makes pointer from integer
without a ca
st
CH_II_DB_demo.c:726: warning: implicit declaration of function
`NutRomFileRead'
CH_II_DB_demo.c:766: warning: implicit declaration of function
`NutRomFileClose'
CH_II_DB_demo.o(.text+0xdae): In function `ShowForm':
: undefined reference to `NutRomFileOpen'
CH_II_DB_demo.o(.text+0x100c): In function `ShowForm':
: undefined reference to `NutRomFileRead'
CH_II_DB_demo.o(.text+0x101a): In function `ShowForm':
: undefined reference to `NutRomFileClose'
make: *** [CH_II_DB_demo.elf] Error 1
Do I need to change/install second sw tree or there is something more
than needs for changes in UserConf.mk and makefile for db_demo?
Is it possible to use one development tool/notos tree for both charon2
and ethernut 2?
--
Aigars Riekstinsh <aigars at apse.cc.rtu.lv>
More information about the En-Nut-Discussion
mailing list