
도와주세요!!
글 수 15,339
2003.10.24 07:02:25 (*.112.224.254)
8330
"[GCC 3.2 지원] 툴체인 소스패케지 크로스 컴파일 환경 구성하기" 강좌를 보
면서 크로스 컴파일 환경을 구성하고 있습니다.
잘 되다가 glibc 패키지 설치에서 막혔는데요, make clean 이나 glibc 디렉토
리를 날리고 다시 해봐도 진척이 없어 질문 드립니다.
wow linux 7.1을 사용하고 있고,
/home/cross/kernel/linux-2.4.19에 XScale 패치 적용된 리눅스 커널이 있고,
/home/cross/kernel/glibc-2.3.1에 glibc를 깔고 다음과 같이 configure를 했
습니다.
./configure arm-linux --build=i686-pc-linux-gnu --with-
headers=/home/cross/kernel/linux-2.4.19/include --enable-add-ons --enab
le-shared --prefix=/usr/arm-linux --with-cpu=xscale --without-fp --
enable-kernel=2.4.19
configure를 마칠때쯤 다음과 같은 화면이 나오구요
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
creating ./config.status
creating config.make
creating glibcbug
creating config.h
config.h is unchanged
configuring in linuxthreads
running /bin/sh ./configure arm-linux --build=i686-pc-linux-gnu --with-
headers=/home/cross/kernel/linux-2.4.19/include --enable-add-ons --
enable-shared --p
refix=/usr/arm-linux --with-cpu=xscale --without-fp --enable-
kernel=2.4.19 --cache-file=.././config.cache --srcdir=.
[root@localhost glibc-2.3.1]#
그리고 make를 하게 되면 조금 되다가 다음과 같은 에러가 나면서 멈춥니다.
In file included from /home/cross/kernel/linux-
2.4.19/include/linux/param.h:4,
from ../sysdeps/unix/sysv/linux/sys/param.h:24,
from ../sysdeps/unix/sysv/linux/init-first.c:26:
/home/cross/kernel/linux-2.4.19/include/asm/param.h:13:45:
asm/arch/param.h: No such file or directory
/home/cross/kernel/linux-2.4.19/include/asm/param.h:14:57:
asm/proc/page.h: No such file or directory
make[1]: *** [init-first.o] Error 1
make[1]: Leaving directory `/home/cross/kernel/glibc-2.3.1/csu'
make: *** [csu/subdir_lib] Error 2
[root@localhost glibc-2.3.1]#
벌써 몇 시간째 glibc를 못 깔아서 헤매고 있습니다.
고수님들의 답변 부탁드립니다.
면서 크로스 컴파일 환경을 구성하고 있습니다.
잘 되다가 glibc 패키지 설치에서 막혔는데요, make clean 이나 glibc 디렉토
리를 날리고 다시 해봐도 진척이 없어 질문 드립니다.
wow linux 7.1을 사용하고 있고,
/home/cross/kernel/linux-2.4.19에 XScale 패치 적용된 리눅스 커널이 있고,
/home/cross/kernel/glibc-2.3.1에 glibc를 깔고 다음과 같이 configure를 했
습니다.
./configure arm-linux --build=i686-pc-linux-gnu --with-
headers=/home/cross/kernel/linux-2.4.19/include --enable-add-ons --enab
le-shared --prefix=/usr/arm-linux --with-cpu=xscale --without-fp --
enable-kernel=2.4.19
configure를 마칠때쯤 다음과 같은 화면이 나오구요
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
creating ./config.status
creating config.make
creating glibcbug
creating config.h
config.h is unchanged
configuring in linuxthreads
running /bin/sh ./configure arm-linux --build=i686-pc-linux-gnu --with-
headers=/home/cross/kernel/linux-2.4.19/include --enable-add-ons --
enable-shared --p
refix=/usr/arm-linux --with-cpu=xscale --without-fp --enable-
kernel=2.4.19 --cache-file=.././config.cache --srcdir=.
[root@localhost glibc-2.3.1]#
그리고 make를 하게 되면 조금 되다가 다음과 같은 에러가 나면서 멈춥니다.
In file included from /home/cross/kernel/linux-
2.4.19/include/linux/param.h:4,
from ../sysdeps/unix/sysv/linux/sys/param.h:24,
from ../sysdeps/unix/sysv/linux/init-first.c:26:
/home/cross/kernel/linux-2.4.19/include/asm/param.h:13:45:
asm/arch/param.h: No such file or directory
/home/cross/kernel/linux-2.4.19/include/asm/param.h:14:57:
asm/proc/page.h: No such file or directory
make[1]: *** [init-first.o] Error 1
make[1]: Leaving directory `/home/cross/kernel/glibc-2.3.1/csu'
make: *** [csu/subdir_lib] Error 2
[root@localhost glibc-2.3.1]#
벌써 몇 시간째 glibc를 못 깔아서 헤매고 있습니다.
고수님들의 답변 부탁드립니다.