[En-Nut-Discussion] Fwd: Error on timeout

Harald Kipp harald.kipp at egnite.de
Tue Nov 11 19:41:07 CET 2003


>Delivered-To: web2p2 at p15095813.pureserver.info
>From: "William Basser"
>To: <en-nut-discussion at egnite.de>
>Subject: Error on timeout
>Date: Fri, 31 Oct 2003 20:30:33 -0500
>X-Mailer: Microsoft Outlook, Build 10.0.2627
>Importance: Normal
>
>Harald,
>
>Found the problem,  had a NutSleep( 5 ) in another thread.  Traced it down 
>to this call, tried NutDelay(5) but other problems arose.  The intent was 
>to introduce a small delay between messages.  Added NutSleep( 65 ) and all 
>problems including the non timeout on wait event has cleared up.
>
>All software working.
>
>On another note, though&
>I am implementing an interrupt handler  and used the NutRegisterInterrupt( 
>) function.
>When I include <dev\irqreg.h> the file compiles OK but I get a number of 
>link errors. ( See Below! )
>
>avr-gcc gtcmain.o cmdhand.o crchand.o dathand.o dbghand.o dsphand.o 
>gathand.o ledhand.o rdrhand.o tkthand.o verhand.o  -mmcu=atmega128 
>-Wl,--defsym=main=0,-Map=GateControl.map,--cref 
>-Lc:/ethernut/nut/lib/gcc/atmega128 
>c:/ethernut/nut/lib/gcc/atmega128/nutinit.o  -lnutdev -lnutnet -lnutpro 
>-lnutnet -lnutfs -lnutos -lnutdev -lnutcrt -lnutos -o GateControl.elf
>
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect06.o)(.text+0x0): In 
>function `__vector_6':
>: multiple definition of `__vector_6'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x17c): 
>first defined here
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect18.o)(.text+0x0): In 
>function `__vector_20':
>: multiple definition of `__vector_20'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x50c): 
>first defined here
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect20.o)(.text+0x0): In 
>function `__vector_18':
>: multiple definition of `__vector_18'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x5a4): 
>first defined here
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect30.o)(.text+0x0): In 
>function `__vector_30':
>: multiple definition of `__vector_30'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x89c): 
>first defined here
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect32.o)(.text+0x0): In 
>function `__vector_32':
>: multiple definition of `__vector_32'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x934): 
>first defined here
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(ivect16.o)(.text+0x0): In 
>function `__vector_16':
>: multiple definition of `__vector_16'
>c:/ethernut/nut/lib/gcc/atmega128\libnutdev.a(irqreg.o)(.text+0x474): 
>first defined here
>make: *** [GateControl.elf] Error 1




More information about the En-Nut-Discussion mailing list