|
本帖最后由 yidehui 于 2013-5-3 14:42 编辑
book@book-desktop:/work/system/u-boot-1.1.6/common$ vi Makefile
回车enter
E325: ATTENTION
Found a swap file by the name ".Makefile.swp"
owned by: book dated: Fri May 3 13:28:50 2013
file name: /work/system/u-boot-1.1.6/common/Makefile
modified: YES
user name: book host name: book-desktop
process ID: 2177 (still running)
While opening file "Makefile"
dated: Fri May 3 13:48:55 2013
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r Makefile"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".Makefile.swp"
to avoid this message.
Swap file ".Makefile.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:
选择E(.Makefile.swp文件我后来删除了,再次打开makefile文件,就没有这个提示。但是问题还没有完!)
以下是Makefile一部分,但是用键盘无法添加一些.o文件,也就是无法编辑,我试了6次,印象里只有1次能编辑,这是怎么回事!?
有时候按下键盘的字母,发现光标跳来跳去,有时无缘无故就把一行代码给删了!
还有一次,想在这行virtex2.o xilinx.o crc16.o xyzModem.o cmd_mac.o 后面加上cmd_hello.o,用键盘敲上去后,整行代码被删了!
COBJS = main.o ACEX1K.o altera.o bedbug.o circbuf.o \
env_nvram.o env_nowhere.o \
exports.o \
flash.o fpga.o ft_build.o \
hush.o kgdb.o lcd.o lists.o lynxkdi.o \
memsize.o miiphybb.o miiphyutil.o \
s_record.o serial.o soft_i2c.o soft_spi.o spartan2.o spartan3.o \
usb.o usb_kbd.o usb_storage.o \
virtex2.o xilinx.o crc16.o xyzModem.o cmd_mac.o
|
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|