Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Compiler m8535 examples error.(AvrX)

2005-03-24 by Luke.Wei

Dear all,
    I don't fixed examples source code , but always compiler error, 
Please tell me how should i do ? thanks a lot . 
   Luke 

C:\AVRX\avrxx\Examples>C:\WINAVR\UTILS\BIN\MAKE.EXE gcc
avr-gcc -c Timers.c -I. -I../avrx -I/avr/inc -Os -Wall -
mmcu=at90s8535 -g -o Tim
ers.o
Timers.c: In function `__vector_9':
Timers.c:36: warning: implicit declaration of function `outp'
Timers.c: In function `task1':
Timers.c:53: warning: implicit declaration of function `inp'
avr-gcc Timers.o ../avrx/avrx.a -Wl,-Map=Timers.map,--cref,-v -
mmcu=at90s8535 -o
 Timers.elf
GNU ld version 2.15 + coff-avr-patch (20030831)
Timers.o(.text+0xe): In function `__vector_9':
C:\AVRX\avrxx\Examples/Timers.c:36: undefined reference to `outp'
Timers.o(.text+0x28): In function `task1':
C:\AVRX\avrxx\Examples/Timers.c:53: undefined reference to `inp'
Timers.o(.text+0x36):C:\AVRX\avrxx\Examples/Timers.c:53: undefined 
reference to
`outp'
Timers.o(.text+0x4c):C:\AVRX\avrxx\Examples/Timers.c:57: undefined 
reference to
`inp'
Timers.o(.text+0x56):C:\AVRX\avrxx\Examples/Timers.c:57: undefined 
reference to
`outp'
Timers.o(.text+0x68): In function `task2':
C:\AVRX\avrxx\Examples/Timers.c:71: undefined reference to `inp'
Timers.o(.text+0x76):C:\AVRX\avrxx\Examples/Timers.c:71: undefined 
reference to
`outp'
Timers.o(.text+0x90): In function `main':
C:\AVRX\avrxx\Examples/Timers.c:79: undefined reference to `outp'
Timers.o(.text+0x9e):C:\AVRX\avrxx\Examples/Timers.c:80: undefined 
reference to
`outp'
Timers.o(.text+0xa8):C:\AVRX\avrxx\Examples/Timers.c:81: undefined 
reference to
`outp'
Timers.o(.text+0xb2):C:\AVRX\avrxx\Examples/Timers.c:82: undefined 
reference to
`outp'
Timers.o(.text+0xbc):C:\AVRX\avrxx\Examples/Timers.c:84: more 
undefined referenc
es to `outp' follow
C:\WINAVR\UTILS\BIN\MAKE.EXE: *** [Timers.elf] Error 1

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.