강좌 > 개발환경구축 > 소스패키지를 이용한 크로스 컴파일 환경 구축

위에 나온대로 개발환경을 구축해서 보아 웹 서버를 컴파일시 실행할 때 libc에서 문제가 생겨

libc 버전을 변경해 볼려구 했습니다...

  ( glibc-2.2.4.tar.gz,glibc-linuxthreads-2.2.4.tar.gz  ->  glibc-2.1.2.tar.gz,glibc-linuxthreads-2.1.2.tar.gz )


# CC=arm-linux-gcc ../glibc-2.1.2/configure arm-linux --prefix=/usr/local/arm-linux --enable-add-ons --with-headers=/var/download/linux-2.4.18-rmk7-ez1/include --with-cpu=strongarm110

위의 명령을 실행시키면 다음과 같이 에러가 생깁니다...

        *** You should not compile the GNU libc without the `linuxthreads' and
        *** `crypt' add-on. Not using them risks to be incompatible with the
        *** libraries of other systems. Consider getting the add-ons and restart
        *** the configuration.
        *** If you really mean to avoid those add-ons run configure again, now
        *** using the extra parameter `--disable-sanity-checks'.

glibc-crypt-2.1.tar.gz 다음 파일을 해당 폴더에 넣어 압축을 풀면 에러가 안 생기는 군요...

그 다음에 make실행시키구 make install하면 다음과 같이 에러가 나네요.... 뭐가 잘못됐는지 감이 안오네요...ㅜ.ㅜ

make[2]: 들어감 `/var/download/glibc-2.1.2/manual' 디렉토리
LANGUAGE=C LC_ALL=C makeinfo libc.texinfo
./stdio.texi:2491: First argument to cross-reference may not be empty.
./stdio.texi:2492: First argument to cross-reference may not be empty.
makeinfo: Removing output file `/var/download/glibc-2.1.2/manual/libc.info' due to errors; use --force to preserve.
make[2]: *** [libc.info] 오류 2
make[2]: 나감 `/var/download/glibc-2.1.2/manual' 디렉토리
make[1]: *** [manual/subdir_install] 오류 2
make[1]: 나감 `/var/download/glibc-2.1.2' 디렉토리
make: *** [install] 오류 2