도와주세요!!
글 수 15,339
2009.01.22 13:42:06 (*.250.32.34)
8148
커널컴파일시.. 에러발생합니다. ㅜㅜ
[root@pc032043 linux-2.4.19-x5-v07]# make zImage
. scripts/mkversion > .tmpversion
arm-linux-gcc -D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -DUTS_MACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/arch/arm/tools'
cmp constants.h /var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include/asm-arm/constants.h >/dev/null 2>&1 || cp -p constants.h /var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include/asm-arm/constants.h
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/arch/arm/tools'
make CFLAGS="-D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm " -C kernel
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make all_targets
make[2]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make[2]: `all_targets'를 위해 할 일이 없습니다
make[2]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make CFLAGS="-D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm " -C drivers
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers'
make -C block
make[2]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make all_targets
make[3]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
arm-linux-gcc -D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -nostdinc -I /usr/lib/gcc-lib/arm-linux/3.3.4/include -DKBUILD_BASENAME=blkpg -DEXPORT_SYMTAB -c blkpg.c
blkpg.c: In function `blk_ioctl':
blkpg.c:252: error: asm-specifier for variable `__r1' conflicts with asm clobber list
blkpg.c:252: confused by earlier errors, bailing out
make[3]: *** [blkpg.o] 오류 1
make[3]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers'
make: *** [_dir_drivers] 오류 2
[root@pc032043 linux-2.4.19-x5-v07]# make zImage
. scripts/mkversion > .tmpversion
arm-linux-gcc -D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -DUTS_MACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/arch/arm/tools'
cmp constants.h /var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include/asm-arm/constants.h >/dev/null 2>&1 || cp -p constants.h /var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include/asm-arm/constants.h
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/arch/arm/tools'
make CFLAGS="-D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm " -C kernel
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make all_targets
make[2]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make[2]: `all_targets'를 위해 할 일이 없습니다
make[2]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/kernel'
make CFLAGS="-D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm " -C drivers
make[1]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers'
make -C block
make[2]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make all_targets
make[3]: Entering directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
arm-linux-gcc -D__KERNEL__ -I/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -nostdinc -I /usr/lib/gcc-lib/arm-linux/3.3.4/include -DKBUILD_BASENAME=blkpg -DEXPORT_SYMTAB -c blkpg.c
blkpg.c: In function `blk_ioctl':
blkpg.c:252: error: asm-specifier for variable `__r1' conflicts with asm clobber list
blkpg.c:252: confused by earlier errors, bailing out
make[3]: *** [blkpg.o] 오류 1
make[3]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/var/data/project/ez-x5/kernel/linux-2.4.19-x5-v07/drivers'
make: *** [_dir_drivers] 오류 2
에러가 나게되어진 경로를 설명해주시면 상황을 파악하는데 더 도움이 될꺼 같습니다
그럼 좋은 하루되세요