![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
Riemann~~
这个作者很懒,什么都没留下…
展开
-
mount的一些报错
1、mount报错mount error(112): Host is down挂载参数添加:vers=2.0sudo mount //xxx.xx.xx.xxx/rte ./ -o soft,username=you,sec=ntlm,uid=1000,gid=1000,vers=2.02、mount 报错mount error(22): Invalid argument我这里报这个错是因为我mount命令写错了,注意检擦一下你是不是也写错了,命令或者参数...原创 2021-12-06 09:49:23 · 4948 阅读 · 0 评论 -
编译动态库,报错undefined symbol
解决:用extern "C"把报错的函数括起来就好了C++交叉编译神坑Undefined Symbol原创 2021-10-08 15:26:51 · 622 阅读 · 0 评论 -
编译报undefined reference to symbol ‘pthread_create@@GLIBC_2.1‘等
编译时报:/usr/bin/ld: /tmp/cc87vPxL.o: undefined reference to symbol 'pthread_create@@GLIBC_2.1'/lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line解决:编译时添加 -pthread编译时报: error: #error This file requires compiler and原创 2021-09-22 10:28:18 · 1607 阅读 · 0 评论 -
编译报 warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
解释:警告:不推荐将字符串常量转换为“char*”解决:将string 转为char* type:char* x = (char*)“hello”;原创 2021-09-17 09:25:32 · 414 阅读 · 0 评论 -
centos下gcc编译出现gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory
原因是在你的fedora/centos中没有安装g++执行下面代码安装g++yum install gcc-c++centos下gcc编译出现gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory原创 2021-08-10 17:23:21 · 218 阅读 · 0 评论 -
报错libudev.so.1: wrong ELF class: ELFCLASS64
报错wrong ELF class: ELFCLASS64我这里是因为机器是32的需要32的位,但是导入的库是64位的所以报错原创 2021-09-06 14:58:49 · 530 阅读 · 0 评论 -
windows目录改在到ubuntu报错:mount:block device *** is write-protected, mounting read-only
解决:运行:yum -y install cifs*原创 2021-09-09 17:17:41 · 306 阅读 · 0 评论 -
[Error] expected primary-expression before ‘catch‘问题
出现报错:[Error] expected primary-expression before ‘catch’网上有的大佬的原因是:因为XXX变量的调用时,前方多加了变量类型关键字,删掉这多于的关键字就没了。我的情况是因为,catch之前缺少了try,所以报错所以类似问题,应该是检查关键字是否出错...原创 2021-07-30 14:49:58 · 3293 阅读 · 0 评论 -
程序编译运行时的一些报错
[Error] variable ‘std::ofstream outin’ has initializer but incomplete type出现这个错误字面意思是变量xxx定义了,但是不完整,解决方法是,没有找到xxx变量的头文件,包含头文件即可解决引入头文件,解决#include <fstream>...原创 2021-07-23 10:25:41 · 607 阅读 · 0 评论