编译一个测试程序
E:\2410test_203mhz_v1.2>make
armlink -ro-base 0x30000000 -elf -map -xref -list list.txt -first 2410init.o(Ini
t) -o 2410test.axf ./obj/2410init.o ./obj/2410slib.o ./obj/2410swis.o ./obj/spee
d2003.o ./obj/2410test.o ./obj/2410lib.o ./obj/mmu.o ./obj/2410iis.o ./obj/iis_d
ual.o ./obj/timer.o ./obj/2410RTC.o ./obj/2410IIC.o ./obj/2410int.o ./obj/2410sw
i.o ./obj/2410etc.o ./obj/adc.o ./obj/dma.o ./obj/dma2.o ./obj/eint.o ./obj/extd
ma.o ./obj/k9s1208.o ./obj/nwait.o ./obj/sdi.o ./obj/stone.o ./obj/ts_auto.o ./o
bj/ts_sep.o ./obj/lcdlib.o ./obj/lcd.o ./obj/pll.o ./obj/power.o ./obj/idle.o ./
obj/PowerOff.o ./obj/flash.o ./obj/pwr_c.o ./obj/etc.o ./obj/pd6710.o ./obj/glib
.o ./obj/am29f800.o ./obj/palette.o ./obj/IrDA.o ./obj/uart0.o ./obj/uart1.o ./o
bj/uart2.o ./obj/spi.o ./obj/usbfifo.o ./obj/strata32.o ./obj/cache.o ./obj/cpus
peed.o
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `armlink -ro-base 0x30000000 -elf -map -xref -list list.txt
-first 2410init.o(Init) -o 2410test.axf ./obj/2410init.o ./obj/2410slib.o ./obj
/2410swis.o ./obj/speed2003.o ./obj/2410test.o ./obj/2410lib.o ./obj/mmu.o ./obj
/2410iis.o ./obj/iis_dual.o ./obj/timer.o ./obj/2410RTC.o ./obj/2410IIC.o ./obj/
2410int.o ./obj/2410swi.o ./obj/2410etc.o ./obj/adc.o ./obj/dma.o ./obj/dma2.o .
/obj/eint.o ./obj/extdma.o ./obj/k9s1208.o ./obj/nwait.o ./obj/sdi.o ./obj/stone
.o ./obj/ts_auto.o ./obj/ts_sep.o ./obj/lcdlib.o ./obj/lcd.o ./obj/pll.o ./obj/p
ower.o ./obj/idle.o ./obj/PowerOff.o ./obj/flash.o ./obj/pwr_c.o ./obj/etc.o ./o
bj/pd6710.o ./obj/glib.o ./obj/am29f800.o ./obj/palette.o ./obj/IrDA.o ./obj/uar
t0.o ./obj/uart1.o ./obj/uart2.o ./obj/spi.o ./obj/usbfifo.o ./obj/strata32.o ./
obj/cache.o ./obj/cpuspeed.o '
make: *** [2410test.axf] Error 2
知道的朋友,帮小弟解答一下,谢谢!
Init是指明2410init.o中程序开始执行的地方,不能去掉的
引用: 引用 1 楼 linuxguy 的回复:
去掉 (Init)