- 博客(36)
- 资源 (1)
- 收藏
- 关注
原创 编译错误:e2fsprogs-1.43.4
/usr/bin/ld: ../lib/libblkid.a(devname.o): in function `probe_all':devname.c:(.text+0x888): undefined reference to `makedev'/usr/bin/ld: devname.c:(.text+0xb7e): undefined reference to `makedev'/usr/bin/ld: devname.c:(.text+0xc5b): undefined reference .
2022-01-11 13:27:10
1817
原创 编译出错:populatefs-95cc98b
src/mod_path.c: In function 'addPath':src/mod_path.c:175:19: error: called object 'major' is not a function or function pointer 175 | major = (long)major(st.st_rdev); | ^~~~~src/mod_path.c:172:18: note: declared here 172 .
2022-01-11 12:54:27
475
原创 编译错误:libcap-2.25
./_caps_output.gperf:71:80: error: unknown type name 'size_t' 71 | gperf_case_strncmp (register const char *s1, register const char *s2, register size_t n) | ^~~~~~./.
2022-01-11 12:43:42
740
原创 编译错误:libgpg-error-1.25
libgpg-error-1.25/src/errnos.in >errnos-sym.hgawk: fatal: cannot use gawk builtin `namespace' as variable namemake[3]: *** [Makefile:1314: errnos-sym.h] Error 2//修改 libgpg-error-1.25/src/mkstrtable.awk 105c105< print "static const char.
2022-01-07 14:33:00
3231
原创 编译错误:kodi-a9a7a20
/tools/depends/native/TexturePacker/src/decoder/GifHelper.herror: declaration of 'void* reallocarray(void*, size_t, size_t) throw ()' has a different exception specifier 559 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)//修.
2022-01-07 13:14:03
526
原创 编译错误:gcc-6.2.0
mparison between pointer and integer [-fpermissive] 1472 | || xloc.file == '\0' || xloc.file[0] == '\xff' | ^~~~make[3]: *** [Makefile:1085: ubsan.o] Error //gcc-6.2.0/gcc/ubscan.cxloc.file 修改为xloc.file[0]...
2022-01-05 15:06:20
273
原创 编译错误:m4-1.4.17 或者 bison-3.0.4
m4-1.4.17/lib/freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." 91 | #error "Please port gnulib freadahead.c to your pla.
2022-01-05 14:05:56
1693
原创 编译错误:pkg-config-0.29.1
pkg-config-0.29.1/glib/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] 2497 | tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); | ^~~~~~cc1: some warnings bei.
2022-01-05 13:43:15
531
原创 编译出错:make-4.2.1
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob_in_dir':glob.c:(.text+0x2a2): undefined reference to `__alloca'/usr/bin/ld: glob.c:(.text+0x3d9): undefined reference to `__alloca'/usr/bin/ld: glob.c:(.text+0x588): undefined reference to `__alloc.
2022-01-05 13:11:55
2092
原创 Shell 学习脚本
i=1while [ $i -le 60 ]do let i++ echo "wait next ..."$i sleep 1 done echo "next..."
2021-12-30 15:34:13
258
原创 2012linux ramdisk cpio 解压和打包
详细资料参考源码txt此处仅显示正确打包和解压备注:正常包解压再打包异常的时候,有可能是权限问题,修改owner或解压的时候直接sudo执行mkdir tmpcd tmpcpio -i -d -H newc -F ../initramfs.cpio --no-absolute-filenamesfind . | cpio -o -H newc | gzip> ../initramfs.cpio...
2021-10-12 16:49:26
555
原创 electron入门(一)
Log启动,js中分主线程和渲染线程,electron js启动main主线后,再启动浏览器盒子线程注释掉的Devtool开启,console.log就能在preload中shi
2021-06-19 15:50:24
194
原创 【Ubuntu系统】No init found. Try passing init= bootarg && bad magic number in super-block
1、制作U盘启动盘,下载对应版本iso镜像,下载UltraISO,感谢水亦心博主的注册码(注册名:Guanjiu注册码:A06C-83A7-701D-6CFC),选择iso和U盘,写入镜像2、AUSA华硕BIOS,Del键进入,boot选项,Hardware BSS硬盘启动选择U盘,option#1最低优先级最高,F10保存重启3、fdisk -l 检查4、fsck -y /dev/sdb 修复总结:服务器坏区,恢复后一些文件已被删除,请平时注意备份参考-制作U盘启动卡...
2021-04-25 17:13:06
1458
原创 【安装】服务器postgresql安装流程
yum install postgresql93-serverservice postgresql initdbservice postgresql startfind ./ -name "pg_hba.conf"vi /var/lib/pgsql/data/pg_hba.conf local all trust local all 127.0.0.1 trustservice postgresql restart su postgrescreatedb centerdb.
2020-08-02 12:57:20
356
原创 【angluar8】【为了在ie11上显示】
【angluar8】【支持ie11的方法】问题源头:解决方法:问题本质:问题源头:使用ng serve时,angluar8应用页面并为显示在ie浏览器上解决方法:在目录下的browslist文件修改以下内容IE 9-11 # For IE 9-11 support, remove 'not'.在src目录下polyfills.ts文件修改以下内容import 'classlist....
2019-07-12 12:05:31
764
原创 nodejs库【Webpack Hot Server Middleware】
介绍Webpack热服务器中间件设计为与Webpack Dev中间件(以及可选的Webpack热中间件)一起使用,以在服务器上热更新Webpack捆绑包。为什么?创建通用Web应用程序时,通常使用Webpack构建两个捆绑包,一个客户端捆绑包针对“web”,另一个服务器捆绑包针对“node”。客户端包的入口点呈现到DOM注意:服务器包本身就是中间件,允许您将其安装到现有节点服务器...
2019-04-11 15:22:20
293
原创 nodejs库【webpack-dev-middleware】
介绍一种与Webpack捆绑包一起使用的快速风格开发中间件,允许提供从Webpack发出的文件。这只能用于开发。使用此中间件的一些好处包括:1、没有文件写入磁盘,而是处理内存中的文件2、如果文件在监视模式下发生更改,中间件将延迟请求,直到编译完成。3、支持热模块重新加载(HMR)。用法const webpack = require('webpack');cons...
2019-04-11 15:09:41
449
原创 nodejs库【connect-history-api-fallback】
介绍单页应用程序(SPA)通常只使用Web浏览器可访问的一个索引文件:通常是index.html。然后,在HTML5历史API的帮助下,通常使用JavaScript处理应用程序中的导航。当用户点击刷新按钮或直接访问登录页面以外的页面时,这会导致问题,例如/help或/help/online,因为Web服务器会绕过索引文件来定位此位置的文件。由于您的应用程序是SPA,Web服务器在尝试检索文件时...
2019-04-11 14:55:29
1361
原创 【LINUX】【常用库】【iptable】【分析】
Usage:iptables -[AD] chain rule-specification [options]iptables -I chain [rulenum] rule-specification [options]iptables -R chain rulenum rule-specification [options]iptables -D chain rulenum [op...
2018-07-24 10:44:45
256
原创 【Linux命令小技巧】【IP】【7z】【httpd】【grep】
1、设置ip、掩码和网关ifconfig eth0 192.168.1.5 netmask 255.255.255.0route add default gw 192.168.1.1 dev eth02、解压.7z文件apt-get install p7zip-full7za x filename.7z3、路由表允许所有IP访问iptables -I INPUT -p ...
2018-07-17 10:58:22
285
原创 【LINUX】【常用库】【uuid】【编译】
编译环境配置1、获取源代码,下载地址http://nchc.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz2、解压文件,创建build文件夹3、进入源代码文件下,(交叉编译才需要补充参数)./configure --prefix=/绝对路径/file_curl/ CC=/绝对路径/bin/arm-linux-gcc --host=ar...
2018-07-12 18:54:17
2517
原创 openssl交叉编译后文件不可以用(针对性开发)
1、在原操作基础上:修改Makefile指定platform为ARM修改CC =/绝对路径/bin/arm-linux-gcc2、再次编译前,make cleanmake & make install3、修改为动态库,静态库太大,./config之前把no-shared改为shared即可*小技巧 readef -h 文件名 (可查看文件类型)getconf LONG_BIT (可查看操作...
2018-07-12 12:01:55
543
转载 快速交叉编译openssl库
1、从openssl官网下载openssl-1.0.2e 下载地址:http://www.openssl.org/source/2、解压openssl源码,进入目录,修改编译器执行:CC=arm-none-linux-gnueabi-gcc3、配置,--prefix为安装目录./config no-asm -static --prefix=/usr/local/ssl-1.0.2/, 4、配置完成...
2018-07-12 11:15:36
478
原创 备忘录
1虚拟机-》编辑-》虚拟网络编辑器-》更改设置-》VMnet0-》桥接模式Realtek PCIe GBE Family Contoller-》Ethernet connection 1编辑-》IPv4Settings-》Manual-》169.254.31.224 255.255.255.0 169.254.31.224重新配置可恢复网络export打印出所有生命,设置全局变量p
2018-01-04 16:30:00
235
原创 cmd下ftp传送文件显示553Permission denied.
解决方法:在开发板中对路径给予写权限,chmod 777 /home/plg (例如我的文件在plg下)
2017-10-14 11:54:25
1444
1
原创 cmd下ftp登陆成功却ls显示Can't build data connection: Connection timed out
解决方法:关闭公共网路的防火墙
2017-10-14 11:38:50
3514
原创 HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
安装 libv4l-dev 若没有效果,需要重新编译源文件 ,解决方法:重新make ,make install
2017-10-09 11:49:06
591
原创 ubuntu64位下交叉编译opencv3.3遇到的make[error]error: call of overloaded 'abs(long long int&)' is ambiguous
关于drawing.cpp:1031行中的abs()函数报错,与那stdlib.h和math.h和cmath和cstdlib剪不断理还乱的关系,原因:歧义解决方法:修改abs()为fabs()
2017-09-08 19:59:15
3028
原创 QFontDatabase: Cannot find font directory home/qt/lib/fonts - is Qt installed correctly?
解决方法:vi /etc/profile 添加export QT_QPA_FONTDIR=你对应的路径/lib/fonts/经典错误:最后的斜杆千万不要漏!!!表示该目录下的文件
2017-09-06 22:53:10
8961
原创 Tftp32连接开发板遇到的问题
使用Tftp32,一直显示127.0.0.1和其它ip,怎么设置开发板都不行,原因:ping不同->电脑和开发板没有连接!!!如果遇到无法访问目标主机 请关闭防火墙!我做过的尝试:试用手机网络分享的局域网Ip,失败.........原因不详后来发现使用本地连接,一开始我的本地连接被禁用了,开启后就有ip,设置开发板ip为该网段下随意值(没网也能互连的当然是本地连接!)(1)看你需不
2017-09-05 22:07:00
2241
4
原创 python测试opencv时imread导致的错误
import cv2import numpy as npimg = cv2.imread("1.jpg")//图片和代码在同个目录,改为相对路径,解决由imread引起的打不开图片或找不到图片的路径问题cv2.imshow("1",img)cv2.waitKey(10000)D:\>my.pyOpenCV Error: Assertion failed (size.width>0
2017-08-31 11:13:52
8544
1
原创 Window下python 2.73安装pip
(1)安装pip https://bootstrap.pypa.io/ez_setup.py下载.gz文件,解压后在其目录下执行cmd 命令:pyhton setup.py install安装完成后将pip.exe所在的目录添加到系统路径便于调用发现【ImportError: No module named setuptools】提示先要安装se
2017-08-31 10:41:45
821
原创 request.getParameter与Bean的错误
HTTP Status 500 – Internal Server ErrorType Exception ReportMessage java.lang.reflect.InvocationTargetExceptionDescription The server encountered an unexpected condition that prevented it from
2017-08-13 10:05:14
618
原创 Android stdio 找不到add as library....选项的解决
Android stdio 找不到add as library....选项的解决检查是否jar包是否正确?有可能是包的问题,在文件夹下检查包的类型是否为Excutable jar File
2017-06-14 15:22:09
1526
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人