24小时热门版块排行榜    

查看: 1625  |  回复: 4

真空涨落

木虫 (小有名气)

[求助] Linux ubantu下gcc编译出现错误,如何解决?这是两次makefile的结果。

make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Building Dictionary
make: rootcint: Command not found
make: *** [all] Error 127

make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make[1]: root-config: Command not found
make[1]: Entering directory `/home/lenovo/Desktop/SiSi/libs'
make[1]: root-config: Command not found
make[1]: root-config: Command not found
make[1]: Nothing to be done for `main'.
make[1]: Leaving directory `/home/lenovo/Desktop/SiSi/libs'
g++ -Ilibs/   -o SiSi_main.exe libs//crosstalk.o libs//random.o libs//sipm.o SiSi_main.o  `cernlib packlib,mathlib`  -lEvent -Ldata -lg2c -lm
/bin/sh: cernlib: not found
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
make: *** [main] Error 1
回复此楼
物含妙理总堪寻
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

chineserice

禁虫 (正式写手)

本帖内容被屏蔽

2楼2012-03-06 13:21:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

真空涨落

木虫 (小有名气)

引用回帖:
: Originally posted by chineserice at 2012-03-06 13:21:44:
科学计算,用linux的话,ubantu还是小心一点哇。个人感觉~

是已经写好的程序,需要我编译一下,出现的问题。
物含妙理总堪寻
3楼2012-03-06 14:36:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

chineserice

禁虫 (正式写手)

本帖内容被屏蔽

4楼2012-03-06 15:28:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

sudo

木虫 (正式写手)

目测root-config是个有执行权限的脚本,楼主在工程里面找找
5楼2012-03-07 09:23:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 真空涨落 的主题更新
信息提示
请填处理意见