When i try to make file i get error:
Linking: main.elf
arm-elf-gcc -mcpu=arm7tdmi -I. -gdwarf-2 -DROM_RUN -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhlns=main.o -std=gnu99 -MD -MP -MF .dep/main.elf.d main.o uart.o
crt0.o --output main.elf -nostartfiles -Wl,-Map=main.map,--cref -lc -lm
-lc -lgcc -TLPC2148-ROM.ld
uart.o: In function `UART_Init':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:10: multiple
definition of `UART_Init'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:10: first
defined here
uart.o: In function `DelayNS':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:32: multiple
definition of `DelayNS'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:32: first
defined here
uart.o: In function `UART_SendByte':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:38: multiple
definition of `UART_SendByte'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:38: first
defined here
uart.o: In function `UART_ReceiveByte':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:51: multiple
definition of `UART_ReceiveByte'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:51: first
defined here
uart.o: In function `UART_SendString':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:64: multiple
definition of `UART_SendString'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:64: first
defined here
uart.o: In function `PLL_Init':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:103: multiple
definition of `PLL_Init'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:103: first
defined here
uart.o: In function `SYSTEM_Init':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:117: multiple
definition of `SYSTEM_Init'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:117: first
defined here
uart.o: In function `Serial_Dec':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:127: multiple
definition of `Serial_Dec'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:127: first
defined here
uart.o: In function `Serial_String_Dec':
c:\documents and settings\es\desktop\uarts_winarm/uart.c:142: multiple
definition of `Serial_String_Dec'
main.o:c:\documents and settings\es\desktop\uarts_winarm/uart.c:142: first
defined here
collect2: ld returned 1 exit status
make.exe: *** [main.elf] Error 1
plz any one can help
thanks & regards,
suresh
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )