[En-Nut-Discussion] newbie question
Jadjad
jadp at jadeja.biz
Thu Jul 26 04:42:22 CEST 2007
Hi
I have just installed ethernut-4.3.3 and the Yagarto ide and toolset. I am trying to compile link some of the sample application for the Atmel SAM7x256> When trying to compile and link the httpd project I am getting the following message:
make all
arm-elf-gcc httpserv.o httpserv.o -mcpu=arm7tdmi -nostartfiles -T../../nut/arch/arm/ldscripts/at91sam7x256_rom.ld -Wl,-Map=httpserv.map,--cref,--no-warn-mismatch -L../../nutbld/lib -Wl,--start-group ../../nutbld/lib/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev -lnutarch -lnutnet -lnutfs -lnutcrt -Wl,--end-group -o httpserv.elf
httpserv.o: In function `main':
httpserv.c:(.text+0x0): multiple definition of `main'
httpserv.o:httpserv.c:(.text+0x0): first defined here
httpserv.o: In function `ShowForm':
httpserv.c:(.text+0x950): multiple definition of `ShowForm'
httpserv.o:httpserv.c:(.text+0x950): first defined here
httpserv.o: In function `Service':
httpserv.c:(.text+0x884): multiple definition of `Service'
httpserv.o:httpserv.c:(.text+0x884): first defined here
../../nutbld/lib\libnutfs.a(uromfs.o): In function `UromOpen':
uromfs.c:(.text+0x164): undefined reference to `romEntryList'
collect2: ld returned 1 exit status
make: *** [httpserv.elf] Error 1
I am not sure why I am getting this error can some one please point me in the right direction.
Many thanks.
Jad
More information about the En-Nut-Discussion
mailing list