找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3376|回复: 5

openwrt toolchain uClibc 编译报错,请教大佬们。。。

[复制链接]
发表于 2018-12-15 00:42 | 显示全部楼层 |阅读模式
make toolchain/compile
make[1] toolchain/compile
make[2] -C toolchain/kernel-headers prepare
make[2] -C toolchain/uClibc prepare
make -r toolchain/compile: build failed. Please re-run make with V=99 to see what's going on
make: *** [toolchain/compile] 错误 1

----------------------------------
make toolchain/compile V=99


if grep -q __NR_ include/bits/sysnum.h; then true; else \
                rm -f include/bits/sysnum.h; \
                echo "ERROR: Could not generate syscalls."; \
                echo "Make sure that you have proper kernel headers."; \
                echo "Your .config in KERNEL_HEADERS=\"\" was set to:"; \
                echo "/home/sheng/ubicom-distro/openwrt/build_dir/toolchain-ubicom32_gcc4.4.0/linux/include/"; \
                exit 1; \
        fi
ERROR: Could not generate syscalls.
Make sure that you have proper kernel headers.
Your .config in KERNEL_HEADERS="" was set to:
/home/sheng/ubicom-distro/openwrt/build_dir/toolchain-ubicom32_gcc4.4.0/linux/include/
make[3]: *** [include/bits/sysnum.h] Error 1
make[3]: Leaving directory `/home/sheng/ubicom-distro/openwrt/build_dir/toolchain-ubicom32_gcc4.4.0/uClibc-0.9.30.1'
make[2]: *** [/home/sheng/ubicom-distro/openwrt/build_dir/toolchain-ubicom32_gcc4.4.0/uClibc-0.9.30.1/.prepared2ca507d81a3cefe960f49822453596f8] Error 2
make[2]: Leaving directory `/home/sheng/ubicom-distro/openwrt/toolchain/uClibc'
make[1]: *** [toolchain/uClibc/prepare] Error 2
make[1]: Leaving directory `/home/sheng/ubicom-distro/openwrt'
make: *** [toolchain/compile] 错误 2


一直提示“KERNEL_HEADERS”这个路径有问题,请问这个是哪里配置不对吗


我的恩山、我的无线 The best wifi forum is right here.
发表于 2018-12-15 01:52 | 显示全部楼层
可以关注下"跟着佐大学OpenWrt开发培训班",lean大神强烈推荐的教程。


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-15 12:35 | 显示全部楼层
佐须之男 发表于 2018-12-15 01:52
可以关注下"跟着佐大学OpenWrt开发培训班",lean大神强烈推荐的教程。

大神能指教一下我这个问题吗,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-12-15 19:35 | 显示全部楼层
没有kernel head包
yum search
apt search
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2018-12-15 22:02 | 显示全部楼层
footlog 发表于 2018-12-15 19:35
没有kernel head包
yum search
apt search

谢谢!

sudo yum install kernel-headers kernel-devel 安装了还是一样的错误

能告诉一下具体要安装的包的名称吗

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-12-16 17:02 | 显示全部楼层
ShengX87 发表于 2018-12-15 22:02
谢谢!

sudo yum install kernel-headers kernel-devel 安装了还是一样的错误

/home/sheng/ubicom-distro/openwrt/build_dir/toolchain-ubicom32_gcc4.4.0/linux/include/

这个目录下有东西吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 08:14

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表