linux编译忽略错误,Linux ubantu下gcc编译出现错误,如何解决?这是两次makefile的结果。...

本文记录了一次软件编译过程中遇到的多个错误提示,包括找不到命令、构建字典失败、链接器未能找到指定库等问题,并涉及了g++编译器、make工具及一些未找到的库文件。

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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值