toolchain 설치중....glibc...configure error....
toolchain 설치시에 glibc를 컴파일하다가 다음과 같은 오류가 발생했습니다.
[greenday@infoncom build-glibc-header]$ ../glibc-2.3.2/configure --host=$TARGET
--prefix="/usr" --enable-add-ons --with-headers=/home/server7/greenday/CAMP/kjhp
roject/kjhtoolchain/tools/i586-pc-linux/include
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... i586-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i3
86 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pth
read linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysde
ps/i386/i586 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix
/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/
posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/
wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-3
2 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking for i586-pc-linux-gcc... no
checking for i586-pc-linux-cc... no
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.
[greenday@infoncom build-glibc-header]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[greenday@infoncom build-glibc-header]$
glibc 의 INSTALL문서를 보면 gcc는 3.2이상의 버젼이면 컴파일이 가능하다고 나와 있는데요....현재 host의 gcc 버전이 3.2.2인데 왜 이러한 오류가 나오는것인지....
3일째 삽질중입니다....허리휩니다...고수님들의 충고 부탁드립니다...
같은 문제인거 같아 구글링을 하던중 kldp글이 보여서 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking for arm-linux-gcc... gcc
checking version of gcc... 4.3.3, bad
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.
우분투 9.04입니다.
아주 오래된 글타래였군요.
4.3.3 버전 gcc가 bad라고 나오니
하나씩 해결해가다가 막혔습니다.
댓글 달기