This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc compile led
- From: "frostflare" <frostflare at bol dot com dot br>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 30 Mar 2004 16:44:41 -0300
- Subject: gcc compile led
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/