回文章列表
作者lowvoice.bbs@ptt.cc (i am sam) 看板: linux
標題[問題] uclinux
時間批踢踢實業 (2008/07/17 Thu 22:48:11)
想請問一下編譯glibc的問題
我是照著一本建構嵌入式linux系統去建構我的uclinux
但是在編譯glibc時會出現這樣的狀況

running configure fragment for
../glibc-2.2.3/linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for
../glibc-2.2.3/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in
/usr/include/asm and
/usr/include/linux; make sure these directories use
files from Linux 2.0.10 or later.  This check uses
<linux/version.h>, so
make sure that file was built correctly when
installing the kernel header files.
 To use kernel headers not from /usr/include/linux,
 use the configure option --with-headers.

好像是說我開發環境的linux太舊了
我是用red hat9.0來開發的
不知道大家有沒有遇過這樣的問題
要怎樣處理??

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 218.174.35.118
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻