[En-Nut-Discussion] nutmmc from usbdip avr-gcc problem

andrzej skaradzinski ask at k-d-s.dk
Wed Jun 8 19:22:28 CEST 2005


hello all,
I trying to get some fun connecting ethernut and mmc memory card ;-).
I used project from usbdip (http://usbdip.de/en/nutmmc/index.html). It 
compiles well under image craft. It works well after compiling and 
flashing device.

Next I tried to compile the same project using win-avr. Unfortunately 
compilation fails and I get some messages as bellow. Can someone help me??
What have I do to compile it under avr gcc??
Of course I compiled nut os and prepared it to work with AVR GCC. I'm 
newbie to ethernut and I don't know how to solve this problem.
best regards, andrzej
______________________________________________________________________
avr-gcc httpserv.o fat.o mmcdrv.o -mmcu=atmega128 
-Wl,--defsym=main=0,-Map=httpserv.map,--cref -LC:/ethernut/charon/lib 
C:/ethernut/charon/lib/nutinit.o -lnutos -lnutdev  -o httpserv.elf
httpserv.o(.text+0x3a): In function `ShowForm':
: undefined reference to `NutHttpSendHeaderTop'
httpserv.o(.text+0x50): In function `ShowForm':
: undefined reference to `NutHttpSendHeaderBot'
httpserv.o(.text+0x136): In function `ShowForm':
: undefined reference to `fflush'
httpserv.o(.text+0x16c): In function `Service':
: undefined reference to `NutTcpCreateSocket'
httpserv.o(.text+0x19c): In function `Service':
: undefined reference to `NutTcpAccept'
httpserv.o(.text+0x1fe): In function `Service':
: undefined reference to `_fdopen'
httpserv.o(.text+0x226): In function `Service':
: undefined reference to `NutHttpProcessRequest'
httpserv.o(.text+0x232): In function `Service':
: undefined reference to `NutTcpCloseSocket'
httpserv.o(.text+0x29e): In function `NutAppMain':
: undefined reference to `inet_addr'
httpserv.o(.text+0x2aa): In function `NutAppMain':
: undefined reference to `inet_addr'
httpserv.o(.text+0x2d0): In function `NutAppMain':
: undefined reference to `freopen'
httpserv.o(.text+0x2dc): In function `NutAppMain':
: undefined reference to `_fileno'
httpserv.o(.text+0x2ea): In function `NutAppMain':
: undefined reference to `_ioctl'
httpserv.o(.text+0x33e): In function `NutAppMain':
: undefined reference to `NutNetIfConfig'
httpserv.o(.text+0x3a6): In function `NutAppMain':
: undefined reference to `NutRegisterHttpRoot'
C:/ethernut/charon/lib\libnutdev.a(eth0rtl.o)(.data+0x3c): undefined 
reference to `NutEtherInput'
C:/ethernut/charon/lib\libnutdev.a(eth0rtl.o)(.data+0x40): undefined 
reference to `NutEtherOutput'
C:/ethernut/charon/lib\libnutdev.a(nicrtl.o)(.text+0x642): In function 
`NicInit':
: undefined reference to `confnet'
C:/ethernut/charon/lib\libnutdev.a(nicrtl.o)(.text+0x64c): In function 
`NicInit':
: undefined reference to `NutNetLoadConfig'
C:/ethernut/charon/lib\libnutdev.a(nicrtl.o)(.text+0x660): In function 
`NicInit':
: undefined reference to `confnet'
C:/ethernut/charon/lib\libnutdev.a(nicrtl.o)(.text+0x662): In function 
`NicInit':
: undefined reference to `confnet'
make.exe: *** [httpserv.elf] Error 1
______________________________________________________________________




More information about the En-Nut-Discussion mailing list