dmshwu\y 发表于 2015-6-14 17:39:39

gcc编译通过,链接出这样的错误,求大神帮助

gcc编译能通过,连接出现问题。用的是国嵌的第一个LED例程,哪位大神能帮我看看啊?D:\Document\Desktop\123.png

dmshwu\y 发表于 2015-6-14 17:41:01

上面的图片没有显示,我复制给大家看
root@admin:/mnt/hgfs/Shared/ARMOK6410/NO_OS/Lesson1# arm-linux-gcc -g -c led.sroot@admin:/mnt/hgfs/Shared/ARMOK6410/NO_OS/Lesson1# arm-linux-ld -Tled.lds -o led.elf led.o
led.o: In function `light_led':
/mnt/hgfs/Shared/ARMOK6410/NO_OS/Lesson1/led.s:75: undefined reference to `VIC0_INT'
/mnt/hgfs/Shared/ARMOK6410/NO_OS/Lesson1/led.s:75: undefined reference to `VIC1_INT'
页: [1]
查看完整版本: gcc编译通过,链接出这样的错误,求大神帮助