![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Errors
钱德勒宾
玫瑰吸收光芒,大地按捺清香。
展开
-
ERROR: Cannot find Ninja
解决方法:yum install ninja-build原创 2021-01-13 16:56:38 · 13193 阅读 · 0 评论 -
mock init 初始化报错
mock init 初始化报错:# /usr/bin/systemd-nspawn -q -M 5b5a27d894604d53a5869ffa4094a7f3 -D /var/lib/mock/test/troot \-a --console=pipe --setenv=TERM=vt100 \--setenv=SHELL=/bin/bash \--setenv=HOME=/builddir --setenv=HOSTNAME=mock \--setenv=PATH=/usr/bin:/bin:原创 2020-12-30 09:21:51 · 1010 阅读 · 0 评论 -
报错:/usr/include/exiv2/slice.hpp:99:77: error: exception handling disabled, use -fexceptions to enabl
参考链接:https://stackoverflow.com/questions/25025365/cmake-qt-module-disables-exception-handling编译gwenview-4.10.5-3报错:/usr/include/exiv2/slice.hpp:99:77: error: exception handling disabled, use -fexceptions to enable解决方法:--- CMakeLists.txt | 1 + 1 f原创 2020-12-07 10:50:19 · 272 阅读 · 0 评论 -
Error:‘GTimeVal‘ is deprecated: Use ‘GDateTime‘
参考链接:https://tecnocode.co.uk/2019/08/24/gtimeval-deprecation-in-glib-2-61-2/https://developer.gnome.org/glib/stable/glib-Date-and-Time-Functions.html#g-get-real-timehttps://developer.gnome.org/glib/stable/glib-Threads.html#g-cond-wait-untilhttps://peop原创 2020-12-03 15:52:00 · 2045 阅读 · 1 评论 -
报错:/bin/sh: ***: command not found
解决方法:yum install flex.x86_64原创 2020-09-01 09:40:54 · 4792 阅读 · 0 评论 -
报错: make: pdflatex: Command not found
在使用`doxygen`工具时,`make`报错原创 2020-05-30 23:04:48 · 3937 阅读 · 0 评论 -
报错:gnutls_handshake() failed: Decryption has failed.
报错如标题:gnutls_handshake() failed: Decryption has failed.原创 2020-05-02 13:46:37 · 1947 阅读 · 0 评论 -
Qt::-1: error: Unknown module(s) in QT: svg5
报错如标题。查资料很多说是qmake的路径没有配置好。其实,还有可能是没有安装svg的库。deb系列发行版:sudo apt install libqt5svg5-devrpm系列发行版:sudo yum install qt5-qtsvg安装好svg,就不会再报上面的报错了。...原创 2020-03-26 09:33:20 · 2069 阅读 · 0 评论 -
Error:'emit' was not declared in this scope
Qt编译时报错:error: ‘emit’ was not declared in this scope; did you mean ‘exit’? 9 | emit Button->clicked(); | ^~~~ | exit这是因为在pro工程文件中添加了:CONFIG += no_keywords解决该报错,可以使用Q...原创 2020-03-17 14:18:47 · 1300 阅读 · 0 评论 -
Error:make[1]: *** [debian/rules:21:override_dh_autoreconf] 错误 25
使用 dpkg-buildpackage -b生成deb包时,报错如下:dh_autoreconf --as-neededsh: 1: cannot create debian/autoreconf.before: Permission denieddh_autoreconf: find /usr/share/libtool/build-aux/ltmain.sh . ! -ipath "....原创 2020-03-17 11:36:47 · 1004 阅读 · 0 评论 -
Error:ssh连接失败
ssh连接失败:[adams@~]$ ssh adams@192.168.1.123@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...原创 2020-03-17 09:55:18 · 215 阅读 · 0 评论 -
Error:Kit selection :No valid kits found
参考链接:https://blog.csdn.net/TimVan1596/article/details/79049130发行版本:优麒麟19.10在加载QT工程文件时,无法加载编译套件。按照其他帖子方法,找不到qmake所在目录。导致Qt Version无法选择。使用下面方法,安装qt库文件。就可以找到Qt Version,就可以编译运行了。 sudo apt-get instal...原创 2020-03-17 09:02:51 · 561 阅读 · 0 评论 -
Error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by
参考链接:http://www.vuln.cn/9154报错信息: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by上面报错是 libstdc++.so.6 库的问题。libstdc++.so.6是个软连接。一开始libstdc++.so.6指向了libstdc++.so.6.0.20 库。...原创 2019-12-20 18:25:53 · 3839 阅读 · 0 评论 -
Git:push错误: error: failed to push some refs to
参考链接:https://help.github.com/en/articles/dealing-with-non-fast-forward-errors报错: ! [rejected]master -> master (fetch first)error: failed to push some refs to 'https://github.com/rtczza/IPC.gi...原创 2019-08-16 20:28:44 · 313 阅读 · 0 评论 -
报错:error: expected ‘;’, ‘,’ or ‘)’ before ‘mutex’
报错如下: error: expected ‘;’, ‘,’ or ‘)’ before ‘mutex’ int InitMutex(pthread_mutex_t *restrict mutex); ^error: expected ‘;’, ‘,’ or ‘)’ before ‘rwlock’ int InitRwlock(pthread_rwlock_t *restrict r...原创 2019-07-24 19:47:39 · 441 阅读 · 0 评论 -
报错:编译opessh报错:/openbsd-compat/xcrypt.c:78: undefined reference to `crypt'
报错:编译opessh报错:/openbsd-compat/xcrypt.c:78: undefined reference to `crypt'解决方法:修改Makefiel文件中LDFLAGS的值(60行),在其后添加:-lcrypt如下所示:LDFLAGS=-L. -Lopenbsd-compat/ -L/neo/arm/ssh/__install/lib -L/neo/arm/...原创 2019-06-12 22:13:05 · 1299 阅读 · 0 评论 -
报错:libcurl 库使用错误
1、报错如下:curl_easy_perform() failed: SSL peer certificate or SSH remote key was not OK解决方法:在程序中去掉证书校验: //取消证书校验: curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0); curl_easy_setopt(curl, CUR...原创 2019-06-19 20:15:00 · 3330 阅读 · 0 评论 -
Androd:NDK编译报错
NDK编译动态库报错:1报错:Value too large for defined data type详细信息:root@ubuntu:/mnt/hgfs/Ubuntu12.04-share# ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk C_INCLUDE_PATH=$PWD/include Compile ...原创 2019-06-13 20:11:03 · 721 阅读 · 0 评论 -
报错:/usr/lib/x86_64-linux-gnu/libc.so: invalid ELF header
报类似错误:/usr/lib/x86_64-linux-gnu/libc.so: invalid ELF header 一般应该是编译出的库文件或者二进制文件和运行环境不匹配。注意使用 file 命令,查看编译出的库和二进制文件的信息。root@ubuntu:/neo/c# file libs/armeabi/libhelloken.so libs/armeabi/libhel...原创 2019-06-06 13:45:12 · 10044 阅读 · 0 评论 -
报错:lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
在Makefile添加交叉编译链后。uboot编译报错:root@ubuntu:/neo/arm/uboot/u-boot-2015.07# make scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD include/config.h GEN include/au...原创 2019-06-11 22:40:04 · 1812 阅读 · 0 评论 -
报错:ubuntu18.04编译uboot报错:not found dirname: missing operand
报错信息:make: /usr/local/arm/arm-2014.05/bin/arm-none-linux-gnueabi-gcc: Command not found/bin/sh: 1: /usr/local/arm/arm-2014.05/bin/arm-none-linux-gnueabi-gcc: not founddirname: missing operand 出错...原创 2019-04-14 17:28:10 · 1974 阅读 · 0 评论 -
编译-bluez-utils-3.36报错
配置信息①:./configure --prefix=/opt/arm/bluez --host=arm-linux --target=arm-linux CC="arm-linux-gcc -I/opt/arm/bluez/include -L/opt/arm/bluez/lib" 报错①: make all-ammake[3]: Entering directo...原创 2018-11-29 13:50:57 · 627 阅读 · 0 评论 -
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 报错
gcc编译时会报:“error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before”错。 解决方法:添加如下宏定义。#define bool int#define true 1#define false 0然后再编译就没有问题了。参考链接:http://blog.chinaunix.net/uid-2...原创 2018-04-18 23:20:38 · 13296 阅读 · 0 评论 -
stack smashing detected --- 报错
在使用socket通讯传数据时。send函数发送后,会有如下报错。*** stack smashing detected ***: ./client terminatedAborted (core dumped)(其中client为函数名称)之前遇到过,应该是申请空间不够导致。仔细检查程序后。发现使用的数组大小是完全足够的。再仔细检查该函数所有缓存区,发现有保存路径的数组缓存区,初...原创 2018-11-20 11:19:26 · 1713 阅读 · 0 评论 -
报错: 501 Error in parameters.
使用ftp上传文件报错:501 Error in parameters.Remote system type is UNIX.Using binary mode to transfer files.ftp> ftp> ls200 PORT command successful.150 OKdrwxr-xr-x 3 neo ftp 4096 Nov ...原创 2018-12-03 09:48:31 · 2975 阅读 · 0 评论 -
报错:warning: format ‘***’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat]
pri("strlen(dirp->d_name) : %d \n", strlen(dirp->d_name));打印时,提示参数错误。warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat]把%d更换为%zu就可以了。%zu用来输出si...原创 2018-12-27 19:02:57 · 5817 阅读 · 0 评论 -
报错:warning: large integer implicitly truncated to unsigned type [-Woverflow]
函数声明:void pri_hex( const BYTE *buf, BYTE len, const char *pname);按照如下方式调用时,报错。pri_hex(buff,READ_NUM, "buff");报错内容如标题。其中READ_NUM是一个宏定义。#define READ_NUM 1024很明显,是调用函数时,输入的参数,超出函数定义的参数的范围。修改为如...原创 2018-12-29 22:22:58 · 12260 阅读 · 1 评论 -
报错:make: warning: Clock skew detected. Your build may be incomplete
使用gcc编译程序过程中,报错:make: warning: Clock skew detected. Your build may be incomplete根据报错提示,是系统时钟有问题。使用如下命令,调整系统时钟:ntpdate time.windows.comroot@ubuntu:/mnt/hgfs/Ubuntu12.04-share# dateMon Dec 17 ...原创 2018-12-18 09:46:52 · 3053 阅读 · 1 评论 -
报错:qlite3_bind_int bind or column index out of range
报错前的代码: int ID = 5; /* 绑定 ID */ index = sqlite3_bind_parameter_index(stmt, ":ID"); if(( sqlite3_bind_int(stmt, index, ID)) != SQLITE_OK) { fprintf(stderr,"sqlite3_bind_int ID error %s\r\n",sq...原创 2018-12-24 18:33:34 · 790 阅读 · 0 评论 -
报错:multiple definition of 和 first defined here
1、就只有一处定义了全局变量,但还是报错,提示重复定义。2、检查.h头文件,已经避免重复包含了。解决方法:在.c程序中定义全局变量,在.h文件中使用extern 做外部声明,供其他文件调用。参考链接:https://blog.csdn.net/mantis_1984/article/details/53571758...原创 2018-12-25 12:38:10 · 7680 阅读 · 1 评论 -
报错:library routine called out of sequence
在统计数据第一条ID和最后一条ID时。统计第一个表,可以正常获取上述两个ID,再次运行该函数,统计第二个表的ID时,发现报如下错误。library routine called out of sequence检查程序发现,在函数最后把数据库cloed掉了。去掉关闭数据库的语句,就不报错了(很尴尬)。统计函数:...原创 2018-12-25 19:42:34 · 1374 阅读 · 0 评论 -
报错:error: switch quantity not an integer
switch括号内的数据只能是整型(或字符表达式)。参考链接:https://blog.csdn.net/weixin_39788493/article/details/80661433原创 2018-12-25 19:41:49 · 17835 阅读 · 0 评论 -
报错:unrecognized command line option ‘-std=c++11’
使用命令查看g++版本。root@ubuntu:/home/neo# g++ --versiong++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3Copyright (C) 2011 Free Software Foundation, Inc.This is free software; see the source for copying condition...原创 2019-01-06 17:40:30 · 7758 阅读 · 0 评论 -
报错:fatal error: sqlite3.h: No such file or directory
解决办法:apt-get install libsqlite3-dev原创 2019-01-03 19:02:06 · 966 阅读 · 0 评论 -
报错:undefined reference to `OPENSSL_init_ssl'
报错:root@ubuntu:/mnt/hgfs/Ubuntu12.04-share/test/2_file/https# gcc -o test test.c -lcrypto/tmp/ccmg6lsM.o: In function `sslConnect':test.c:(.text+0x134): undefined reference to `OPENSSL_init_ssl't...原创 2019-01-28 12:01:09 · 27170 阅读 · 3 评论 -
报错:error: expected class-name before ‘{’ token
C++编译程序报错如下:error: expected class-name before ‘{’ token在派生类时,需要确认一下是不是包含了基类的头文件。如果包含了基类的头文件,仍然报错如上述,则检查一下基类头文件包含的头文件。比如,报错的全部信息如下:aarch64-himix100-linux-g++ -c ./src/base.cpp ./src/host.cpp ./sr...原创 2019-02-20 21:40:13 · 7552 阅读 · 0 评论 -
报错:warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wli
C++程序编译报错:__文字上的无效后缀; C ++ 11需要文字和标识符之间的空格”__警告信息:./src/../include/base.h:14:32: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #de...原创 2019-02-20 21:40:33 · 15219 阅读 · 0 评论 -
报错: fatal error: check.h: No such file or directory
报错:./src/tests.c:15:19: fatal error: check.h: No such file or directory #include <check.h> ^compilation terminated.make: *** [example.o] Error 1解决方法:sudo apt-get insta...原创 2019-03-04 22:18:06 · 3585 阅读 · 0 评论 -
编译-glib-2.6.1报错
报错信息:You must have either have gettext support in your C library, or use the GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html解决办法:apt-get install gettext参考链接...原创 2018-05-03 20:43:49 · 1274 阅读 · 0 评论