主题 : LCD控制器问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2937
精华: 0
发帖: 35
金钱: 330 两
威望: 299 点
综合积分: 70 分
注册时间: 2008-12-17
最后登录: 2013-01-30
楼主  发表于: 2009-04-17 11:20

 LCD控制器问题

在编译一个LCD的测试程序(裸机程序)时,make不成功,提示如下:
cd lib; make; cd ..
make[1]: Entering directory `/home/fcj/hardware/lcd/lib'
ar -r -o libc.a div64.o lib1funcs.o ctype.o muldi3.o printf.o string.o vsprintf.o
ar: libc.a: 没有那个文件或目录
make[1]: *** [libc.a] Error 1
make[1]: Leaving directory `/home/fcj/hardware/lcd/lib'
arm-linux-ld -Tlcd.lds -o lcd_elf head.o init.o nand.o interrupt.o serial.o lcddrv.o framebuffer.o lcdlib.o main.o lib/libc.a
arm-linux-ld: lib/libc.a: No such file: 没有那个文件或目录
make: *** [lcd.bin] Error 1

不知该怎么解决,望高手指点,谢谢!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-04-17 13:36
如果你是在交叉编译,至少应该用arm-linux-ar吧
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."