随笔分类 -  Compile faults

摘要:util-linux源码下载: git clone git@github.com:util-linux/util-linux.git 或者 https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/ 执行 git tag 查看有哪些发行版本 阅读全文
posted @ 2023-11-16 16:46 闹闹爸爸 阅读(1584) 评论(0) 推荐(0) 编辑
摘要:系统:ubuntu20.04 在编译util-linux库的时候,执行 ./autogen.sh 时报如下错误: ERROR: You must have autopoint installed to generate the util-linux build system. The autopoi 阅读全文
posted @ 2023-11-16 10:19 闹闹爸爸 阅读(161) 评论(0) 推荐(0) 编辑
摘要:下载了linux无线backports驱动包,在编译成功加载驱动模块时,报如下错误: insmod: ERROR: could not insert module compat/compat.ko: Invalid module format 起初以为是驱动的vermagic不匹配导致的,随即查看驱 阅读全文
posted @ 2023-10-16 16:06 闹闹爸爸 阅读(5857) 评论(0) 推荐(1) 编辑
摘要:在编译cramfs-1.1时报如下错误: /usr/bin/ld: /tmp/ccMb5KDC.o: in function `print_node': /root/cramfs-1.1/mkcramfs.c:446: undefined reference to `minor' /usr/bin/ 阅读全文
posted @ 2023-04-04 18:12 闹闹爸爸 阅读(192) 评论(0) 推荐(0) 编辑
摘要:在本地搭建 Bootlin elixir 查阅内核代码的时候,每当执行到 python3 update.py 这一步骤的时候,终端上总会报“ctags: Unknown option: --kinds-c”这个warning,执行完成以后在浏览器打开bootlin的页面,会发现ident功能不能用( 阅读全文
posted @ 2022-12-16 15:00 闹闹爸爸 阅读(240) 评论(0) 推荐(0) 编辑
摘要:在使用aarch64-linux-gnu-gdb调试kernel的时候,执行 aarch64-linux-gnu-gdb ./vmlinux 时,出现了如下错误: aarch64-linux-gnu-gdb: error while loading shared libraries: libncur 阅读全文
posted @ 2021-07-08 17:13 闹闹爸爸 阅读(5047) 评论(1) 推荐(1) 编辑
摘要:在使用*gcc的 -Wl,-Bstatic 选项链接静态库时,出现 aarch64-linux-gnu/bin/ld: cannot find -lgcc_s 的错误; 解决方法: 加上 -static-libgcc 参数后再编译即可通过。 阅读全文
posted @ 2021-01-08 10:20 闹闹爸爸 阅读(2949) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示