找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2345|回复: 4

tomato编译出错请教

[复制链接]
发表于 2013-7-12 15:31 | 显示全部楼层 |阅读模式
我是根据Sady的教程进行的:https://www.right.com.cn/forum/thread-53623-1-1.html
编译时出现了错误:
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# git checkout origin/Toastman-RT

Checking out files: 100% (91800/91800), done.
Note: checking out 'origin/Toastman-RT'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 9ae63fc... Little tidy-ups
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# git checkout -b origin/Toastman-RT
Switched to a new branch 'origin/Toastman-RT'
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# sudo rm -rf ~/tomato_git/tomato
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# tar zxvf ~/tomato_git/tomato.tar.gz .
tar (child): /home/zhangkai/tomato_git/tomato.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# cd ~/tomato_git/tomato/release/src-rt/linux-2.6
bash: cd: /home/zhangkai/tomato_git/tomato/release/src-rt/linux-2.6: 没有那个文件或目录
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato# cd ~/tomato_git/tomato/release/src
bash: cd: /home/zhangkai/tomato_git/tomato/release/src: 没有那个文件或目录
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#     sudo rm -rf ~/tomato_git/tomato
root@zhangkai-Lenovo-IdeaPad-Y471A:~/tomato_git/tomato#     tar zxvf ~/tomato_git/tomato.tar.gz .
tar (child): /home/zhangkai/tomato_git/tomato.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
之后我又看了网上有位仁兄出现了类似的问题似乎https://www.right.com.cn/forum/thread-78363-1-1.html
但又和我的问题不完全一样,请懂的大神指导一下,谢谢啦
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2013-7-12 20:47 | 显示全部楼层
你没有认真看教程吗  都sudo rm -rf 了  还怎么编译
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2013-7-12 20:50 | 显示全部楼层
  这两行命令你自己网上搜下意思

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
 楼主| 发表于 2013-7-14 09:28 | 显示全部楼层
rwzsycwan 发表于 2013-7-12 20:50
这两行命令你自己网上搜下意思

你的意思是我这两行代码不用执行 是吗
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2013-7-15 02:53 | 显示全部楼层
12erzhanz 发表于 2013-7-14 09:28
你的意思是我这两行代码不用执行 是吗

是的
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-9-27 17:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

快速回复 返回顶部 返回列表