linux 驱动入门问题!

tail: cannot open `+43' for reading: No such file or directory

gzip: stdin: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
我按照一般的加上-n和最后一行加上空行以后,依然会有问题

安装到最后的时候提示
./usr/local/bin/genromfs
./usr/local/bin/elf2flt
./usr/local/bin/flthdr

gzip: stdin: invalid compressed data--length error

是我加空行的方法有问题么?
我是按大写G到最后一行然后end,按i,敲回车,再保存。

如果用下面的方式的话,完全没有用还是会报错
tail -n +43 arm-elf-tools-20030314.sh | gunzip | tar xvf -

tail: n: invalid number of lines

gzip: stdin: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

作者: RosemaryYL   发布时间: 2011-05-02