随笔分类 - linux踩过的坑
摘要:imx6ull的uboot2016.03挑编译器版本,只认4.9.4的,不然,别的版本的编译的,ping就重启。 arm-linux-gnueabihf-gcc -v 查看交叉编译器版本 1 arm-linux-gcc的卸载 sudo apt-get remove gcc-arm-linux-gnu
阅读全文
摘要:static int __init chrdevbase_init(void) { printk(KERN_EMERG"chrdevbase_init\r\n"); return 0; } static void __exit chrdevbase_exit(void) { printk(KERN_
阅读全文
摘要:1 KERNELDIR:=/home/wss/work/linux/develop_imx6ull/linux_6ull_develop/ 2 3 CURRENT_PATH:=$(shell pwd) 4 5 obj-m:=chrdevbase.o 6 7 build:kernel_modules
阅读全文
摘要:根据正点原子的移植教程移植完成并成功运行,这是前提。 但是自己用buildroot做的rootfs,把qt的库放到里边,运行测试程序缺报错 qt.qpa.plugin: Could not load the Qt platform plugin "linuxfb" in "/usr/lib/arm-
阅读全文
摘要:这种错误的原因是shell脚本文件在windown下编辑,然后行尾带/r/n,而linux下的/n。 使用 cat -A xxx.sh 可以看到 解决办法: sed -i 's/\r$//' xxx.sh
阅读全文
摘要:# insmod rgb_led.ko match successedUnable to handle kernel NULL pointer dereference at virtual address 00000000pgd = 88768000[00000000] *pgd=88741831,
阅读全文
摘要:backlight supply power not found, using dummy regulator MIPI DSI driver module loaded MIPI DSI driver module loaded21c8000.lcdif supply lcd not found,
阅读全文
摘要:当时的驱动文件这样写的request_irq(gpio_keys_100ask[i].irq, gpio_key_isr, IRQF_TRIGGER_RISING | IRQF_TRIGGER_HIGH, "100ask_gpio_key", &gpio_keys_100ask[i]);改成这样:r
阅读全文
摘要:执行make的时候,报错:make[1]: *** 没有规则可制作目标“arch/arm/boot/dts/dtb-y”,由“__build” 需求。 停止。 查找了好长时间,最后执行make clean make XXX_defocnifg(一个官方的deconfig),make。输出以上图片。
阅读全文
摘要:Ubunru下配置tslib库 ./configure --host=arm-linux-gnueabihf ac_cv_func_malloc_0_nonnull=yes--cache-file=arm-linux.cache -prefix=/home/wss/tslib/arm-tslib 报
阅读全文
摘要:xcursor是个什么东西。为什么会报错,怎么处理!在qt的autoconfigure.sh中添加下三条命令都不行。提示不认识-no-xcursor或者不认识nomake命令。不认识-skip,-tslib命令。 -no-xcursor -no-xfixes -no-xrandr -no-xrend
阅读全文
摘要:事先有更新过autoconf automake libtool 但是执行./autogen.sh的时候报错看错误信息提示缺少宏,百度后,缺少这些宏,是有些工具没有安装或者不是最新版本 error: possibly undefined macro: AC_MSG_ERROR error: possi
阅读全文
摘要:设置好menuconfig后,sudo make 然后拷到nfs目录,启动后出现错误如图: 此时的bin目录下文件状态 使用sudo chown root * -R后,状态为: 这条命令的意思是更改当前目录下所有的文件的owner(就是所有者)为root,-R意思是循环遍历,如果当前目录下有子目录,
阅读全文
摘要:make_ext4fs: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory 一般出现该错误是由于应用程序是32位导致的,可以使
阅读全文