gcc compile led

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can't compile a program to use the led at arm7.
It show this message:

crt0.o: In function `start':
crt0.o(.text+0x2c): undefined reference to `main'
crt0.o(.text+0x30): undefined reference to `exit'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o: In function 
`timer_irq':
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0x18): 
undefined reference to `read_t
imer_status'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o: In function 
`delay':
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0x60): 
undefined reference to `delay_
microsec'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o: In function 
`MainApplication':
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xa8): 
undefined reference to `define
_as_pio'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xb4): 
undefined reference to `define
_as_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xc0): 
undefined reference to `set_pi
o_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xc8): 
undefined reference to `read_t
imer_status'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xcc): 
undefined reference to `init_t
imer_irq'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xd8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xe8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xf8): 
undefined reference to `set_pi
o_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0x108): 
undefined reference to `set_p
io_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xc8): 
undefined reference to `read_t
imer_status'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xcc): 
undefined reference to `init_t
imer_irq'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xd8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xe8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xf8): 
undefined reference to `set_pi
o_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0x108): 
undefined reference to `set_p
io_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xc8): 
undefined reference to `read_t
imer_status'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xcc): 
undefined reference to `init_t
imer_irq'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xd8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xe8): 
undefined reference to `clear_
pio_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0xf8): 
undefined reference to `set_pi
o_output'
/cygdrive/c/WINDOWS2/TEMP/ccYSEtF8.o(.text+0x108): 
undefined reference to `set_p
io_output'
collect2: ld returned 1 exit status


Can somebody explain to me what is happening? please.

 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux