도와주세요!!
글 수 15,339
2004.11.29 17:29:35 (*.150.237.75)
6714
ez-x5 board에서 Kernel(2.4.19)을 강좌에서 제공하는
Cross Compiler를 구축하여 Compile하면 다음과 같은
Error가 발생합니다. 이유가 무엇인지 알수가 없네요...
왜그런지 좀 알려주세요..부탁드립니다.
환경은 다음과 같습니다.
gdb-6.1.1
binutils-2.14.90.0.6
gcc-3.3
glibc-2.3.2
make[1]: Entering directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers'
make -C block
make[2]: Entering directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make all_targets
make[3]: Entering directory /project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
armv5l-linux-gcc -D__KERNEL__ -I/project/linux-2.4.19-rmk7-pxa1-ez-
x5/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/armv5l-
linux/3.3/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 /project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers'
make: *** [_dir_drivers] 오류 2
Cross Compiler를 구축하여 Compile하면 다음과 같은
Error가 발생합니다. 이유가 무엇인지 알수가 없네요...
왜그런지 좀 알려주세요..부탁드립니다.
환경은 다음과 같습니다.
gdb-6.1.1
binutils-2.14.90.0.6
gcc-3.3
glibc-2.3.2
make[1]: Entering directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers'
make -C block
make[2]: Entering directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make all_targets
make[3]: Entering directory /project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
armv5l-linux-gcc -D__KERNEL__ -I/project/linux-2.4.19-rmk7-pxa1-ez-
x5/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/armv5l-
linux/3.3/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 /project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/project/linux-2.4.19-rmk7-pxa1-ez-
x5/drivers'
make: *** [_dir_drivers] 오류 2