크로스컴파일링 시 ./configure 문제
글쓴이: wildone / 작성시간: 수, 2006/03/08 - 10:19오전
# ./configure --host=powerpc-405-linux CC=powerpc-405-linux-gnu-gcc configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... powerpc-405-linux-gnu checking target system type... powerpc-405-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc-405-linux-strip... no ... checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for memory.h... (cached) yes checking magic.h usability... no checking magic.h presence... no checking for magic.h... no checking for header file containing major(), minor() and makedev()... sys/sysmacros.h checking bits in minor device number... configure: error: cannot run test program while cross compiling See `config.log' for more details.
bbcode 버튼이 없으니까 불편하네요.. 글쓰는 화면 뜨는것도 무지 느리구.. 흠..;;
크로스 컴파일로 특정 패키지를 생성해야 합니다. 그런데 ./configure를 실행하면 위와같은 에러를 내면서 완료가 되지를 않습니다. 빌드하는 시스템에는 크로스컴파일링 시스템이 구축되어 있구요. powerpc가 들어가는 시스템은 로컬의 디렉토리를(/export 아래에 따로 폴더로 존재합니다) NFS를 이용하여 루트로 사용하고 있습니다. 이럴경우 어떻게 하면 크로스컴파일을 안전하게 할 수 있을까요?
Forums:
댓글 달기