LinuxSir.cn,穿越时空的Linuxsir!

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

Linux-2.6.22.2 API Headers

[复制链接]
发表于 2007-10-29 11:31:08 | 显示全部楼层 |阅读模式
安装gcc后 安装Linux-2.6.22.2 API Headers 时候提示

make: *** No rule to make target `mrproper'.  Stop.

我是把所有的gcc-built 和Binutils-2.17所有编译目录都删除了
另外 我按手册上说的编译安装完成之后删除目录 那我执行这个make命令 make的是哪里的文件呢?
在线等
发表于 2007-10-29 11:38:25 | 显示全部楼层
在不在内核源代码目录下?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-29 12:08:18 | 显示全部楼层
那我是不是要解压缩内核代码然后configure呢?
The Linux kernel needs to expose an Application Programming Interface (API) for the system's C library (Glibc in LFS) to utilize. This is done by way of sanitizing various C header files that are shipped in the Linux kernel source tarball.

Install the header files:

make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /tools/include
这个是它的手册上的说明
回复 支持 反对

使用道具 举报

发表于 2007-10-29 13:04:16 | 显示全部楼层
巧妇难为无米之垂,没内核源代码怎么编译呢~
回复 支持 反对

使用道具 举报

发表于 2007-10-29 19:29:02 | 显示全部楼层
Post by asusarhai
那我是不是要解压缩内核代码然后configure呢?
The Linux kernel needs to expose an Application Programming Interface (API) for the system's C library (Glibc in LFS) to utilize. This is done by way of sanitizing various C header files that are shipped in the Linux kernel source tarball.

Install the header files:

make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /tools/include
这个是它的手册上的说明
裝內核的 API headers 無需去 configure!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-30 11:00:56 | 显示全部楼层
已经解决!谢谢
回复 支持 反对

使用道具 举报

发表于 2008-8-4 17:23:32 | 显示全部楼层
请问下怎么解决的
回复 支持 反对

使用道具 举报

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

本版积分规则

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