亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 4643 | 回復: 3
打印 上一主題 下一主題

執(zhí)行程序時出現(xiàn)cannot execute binary file錯誤,求助 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2005-05-12 10:41 |只看該作者 |倒序瀏覽
編譯沒什么問題(gcc -c pipe-test.c),但執(zhí)行時出現(xiàn)問題:

[root@cick pipe]# ./pipe-test.o
bash: ./pipe-test.o: cannot execute binary file

百度搜索也沒有什么解答,所以發(fā)到版上看有沒有兄弟幫我解答下!

論壇徽章:
0
2 [報告]
發(fā)表于 2005-05-12 10:46 |只看該作者

執(zhí)行程序時出現(xiàn)cannot execute binary file錯誤,求助

為什么要加-c呢??

論壇徽章:
0
3 [報告]
發(fā)表于 2005-05-12 11:10 |只看該作者

執(zhí)行程序時出現(xiàn)cannot execute binary file錯誤,求助

呵呵,似乎是這個原因。
改成
root@cick pipe]# gcc -o pipe-test pipe-test.c
[root@cick pipe]# ls
pipe-test  pipe-test.c  pipe-test.o
[root@cick pipe]# ./pipe-test
Message sent by parent:[Start the test of pipe file]
Message received by child:[Start the test of pipe file]
Message sent by parent:[Test is going]
Message received by child:[Test is going]
Message sent by parent:[Test ends]
Message received by child:[Test ends]

就沒有什么問題了?墒瞧婀郑乙郧坝 -c選項編譯一些程序執(zhí)行都沒什么問題阿?

論壇徽章:
0
4 [報告]
發(fā)表于 2005-05-12 11:15 |只看該作者
提示: 作者被禁止或刪除 內容自動屏蔽
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP