NPTL 설치 방법좀 가르쳐주세요..
nptl-0.9 를 설치해보려고 하는데요..
알아보니 nptl 은 glibc 에 포함시켜서 설치를 하는거 같더군요..
제가 한 방법은 다음과 같습니다.
배포판은 Redhat 8.0 이고,
kernel-2.6.3 을 설치하고,
binutils-2.14 설치,
glibc-2.3.2 를 다운받고,
nptl-0.9.tar.bz2 압축을 풀어서 생성되는 nptl, nptl_db 디렉토리를
glibc 하위에 복사한후 glibc 의 build 를 시도..
glibc 의 build 를 하는 과정에서 우선
%mkdir glibc-build
%cd glibc-build
%../libc/configure --prefix=/usr/local/lib/glibc-testing --disable-profile --without-cvs --with-tls --with-binutils=/usr/local/bin --with-headers=/usr/src/linux-2.6.3/include --enable-add-ons=nptl --enable-kernel=current
그 후에 'make' 를 하면 에러가 뜹니다. ㅡ.ㅜ
도저히 영문을 알수가 없어요..
에러는 다음과 같아요..
-----------------------------------------------------------------------------
../sysdeps/unix/sysv/linux/init-first.c:67: `argc' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/init-first.c:67: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/init-first.c:67: for each function it appears in.)
../sysdeps/unix/sysv/linux/init-first.c:68: `argv' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/init-first.c:69: `envp' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/init-first.c:108: confused by earlier errors, bailing out
make[2]: *** [/pub/sw/glibc-2.3.2-build/csu/init-first.o] Error 1
make[2]: Leaving directory `/pub/sw/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/pub/sw/glibc-2.3.2'
make: *** [all] Error 2
--------------------------------------------------------------------------------
이미 해보신 분들의 조언을 필요로 합니다.
nptl 아니더라도 glibc 설치해보신분~~
제가 뭔가 잘못했나요?
ㅡ.ㅜ
혹시 성공하셨나요 :roll:
혹시 성공하셨나요 :roll:
네..
저는 이렇게 설치 했어요..
1. binutils-2.15.90.0.1.1 설치
- H J Lu’s binutils
- http://www.kernel.org/pub/linux/devel/binutils/
2. gcc-3.3.3 설치
3. glibc-2.3 (CVS에서 다운)
- ../glibc-2.3/configure –prefix=/pub/sw/glibc-testing/ --enable-add-ons=nptl –disable-profile –enable-kernel=current –with-binutils-2.14.90.0.8-build/bin –with-headers=/usr/src/linux-2.6.3/include –without-gd –with-tls –without-cvs
- make
- make install
절차를 간추려서 적었는데요..
각각을 설치하실때는 README, INSTALL 파일등을 잘 참조하세요...
댓글 달기