도와주세요!!
글 수 15,339
2007.03.13 18:50:42 (*.244.148.63)
6667
본사이트 게사판에 올라온 문서를 참조하여 logitech Quickcam pro 400 캠을 올리려는중....
문서에 있는것과 같이 커널을 수정하여 zimage와 모듈을 생성하려는데 오류가 납니다.
운영체제는 페도라 4이구요 툴체인은 ARM GCC 3.2.1 사용중입니다.
make[1]: Entering directory `/linux-2.4.19-x5-v07/kernel'
make all_targets
make[2]: Entering directory `/linux-2.4.19-x5-v07/kernel'
make[2]: `all_targets'를 위해 할 일이 없습니다
make[2]: Leaving directory `/linux-2.4.19-x5-v07/kernel'
make[1]: Leaving directory `/linux-2.4.19-x5-v07/kernel'
make CFLAGS="-D__KERNEL__ -I/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototyp es -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 -m soft-float -Uarm " -C drivers
make[1]: Entering directory `/linux-2.4.19-x5-v07/drivers'
make -C block
make[2]: Entering directory `/linux-2.4.19-x5-v07/drivers/block'
make all_targets
make[3]: Entering directory `/linux-2.4.19-x5-v07/drivers/block'
arm-linux-gcc -D__KERNEL__ -I/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototy pes -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 -DKBUI LD_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 `/linux-2.4.19-x5-v07/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/linux-2.4.19-x5-v07/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/linux-2.4.19-x5-v07/drivers'
make: *** [_dir_drivers] 오류 2
매번 번거로우시겠지만..죄송합니다..몃번이고 다시 해보지만..번번이 이러는데..
이거 왜이럴까요?;;
우문 이지만 현답 부탁드립니다^^;;;
문서에 있는것과 같이 커널을 수정하여 zimage와 모듈을 생성하려는데 오류가 납니다.
운영체제는 페도라 4이구요 툴체인은 ARM GCC 3.2.1 사용중입니다.
make[1]: Entering directory `/linux-2.4.19-x5-v07/kernel'
make all_targets
make[2]: Entering directory `/linux-2.4.19-x5-v07/kernel'
make[2]: `all_targets'를 위해 할 일이 없습니다
make[2]: Leaving directory `/linux-2.4.19-x5-v07/kernel'
make[1]: Leaving directory `/linux-2.4.19-x5-v07/kernel'
make CFLAGS="-D__KERNEL__ -I/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototyp es -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 -m soft-float -Uarm " -C drivers
make[1]: Entering directory `/linux-2.4.19-x5-v07/drivers'
make -C block
make[2]: Entering directory `/linux-2.4.19-x5-v07/drivers/block'
make all_targets
make[3]: Entering directory `/linux-2.4.19-x5-v07/drivers/block'
arm-linux-gcc -D__KERNEL__ -I/linux-2.4.19-x5-v07/include -Wall -Wstrict-prototy pes -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 -DKBUI LD_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 `/linux-2.4.19-x5-v07/drivers/block'
make[2]: *** [first_rule] 오류 2
make[2]: Leaving directory `/linux-2.4.19-x5-v07/drivers/block'
make[1]: *** [_subdir_block] 오류 2
make[1]: Leaving directory `/linux-2.4.19-x5-v07/drivers'
make: *** [_dir_drivers] 오류 2
매번 번거로우시겠지만..죄송합니다..몃번이고 다시 해보지만..번번이 이러는데..
이거 왜이럴까요?;;
우문 이지만 현답 부탁드립니다^^;;;