LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1001|回复: 2

请问:uClibc编译问题

[复制链接]
发表于 2006-1-5 19:55:40 | 显示全部楼层 |阅读模式
在编译uClibc时,先make menuconfig,进入Target Architecture Feathere and Options->

选Linux kernel header location, 填上/linux-2.4

然后make clean , make 出现下面错误

The path '/linux-2.4/include/asm' doesn't exist.
I bet you didn't set KERNEL_SOURCE, TARGET_ARCH or UCLIBC_HAS_MMU
correctly when you configured uClibc.  Please fix these settings.

请问选Linux kernel header location时,该怎样填上写路径呀?

PS:我的uclinux-2.4在 /home/uclinux-dist目录下,uClibc在/home/uclinux-dist目录下
 楼主| 发表于 2006-1-6 11:00:33 | 显示全部楼层
已经编译好了,就是要写绝对路径
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-6 11:02:52 | 显示全部楼层
另外,我在编译test目录下的pthread
提示找不到pthead, 我已经编译生成了libpthread.a的呀!应该放到那儿呀?怎么会找不到呢
回复 支持 反对

使用道具 举报

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

本版积分规则

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