求助:编译能通过但不能执行 出现下面的错误

编译打包和其他
回复
sky345824266
帖子: 11
注册时间: 2008-12-07 15:08

求助:编译能通过但不能执行 出现下面的错误

#1

帖子 sky345824266 » 2008-12-17 11:09

程序肯定没问题 是自带的 hello word
EXECUTING:
/home/cbc/test/src/main.cc
----------------------------------------------
/home/cbc/test/src/main.cc: 1: /bin: Permission denied
/home/cbc/test/src/main.cc: 1: indent-tabs-mode:: not found
/home/cbc/test/src/main.cc: 1: c-basic-offset:: not found
/home/cbc/test/src/main.cc: 1: tab-width:: not found
/home/cbc/test/src/main.cc: 2: /bin: Permission denied
/home/cbc/test/src/main.cc: 3: Makefile: not found
/home/cbc/test/src/main.cc: 4: Syntax error: "(" unexpected

----------------------------------------------
Program exited successfully with errcode (2)
Press the Enter key to close this terminal ...
EricFisher
帖子: 13
注册时间: 2008-12-17 15:55

Re: 求助:编译能通过但不能执行 出现下面的错误

#2

帖子 EricFisher » 2008-12-18 13:05

>Permission denied

权限问题?
sky345824266
帖子: 11
注册时间: 2008-12-07 15:08

Re: 求助:编译能通过但不能执行 出现下面的错误

#3

帖子 sky345824266 » 2008-12-25 19:03

EricFisher 写了:>Permission denied

权限问题?
说下权限问题怎么回事 ,创建者创建的文件不没有执行权限 ,还要用chmod 来修改 :em20 :em20 :em20 :em20
回复