도와주세요!!
글 수 15,339
2006.03.30 11:02:48 (*.49.88.26)
6908
안녕하세요.
mk712.c 소스상에서 뭔가 문제가 있는것 같네요..
현재 저희 최신 커널은 linux-2.4.19-x5-v07.tar.gz 입니다. 이 커널을 다운받으셨어 압축을 풀고..
# make clean
# make dep
# make zImage
그럼 수고하세요..
>[root@localhost linux]# make zImage
>. scripts/mkversion > .tmpversion
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -DUTS_MACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/arch/arm/tools'
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -S -o constants.h.tmp.1 getconstants.c
>In file included from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/config.h:4,
> from getconstants.c:10:
>/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/autoconf.h:119:15: warning: extra tokens at end of #undef directive
>sed 's/^(#define .* )[#$](.*)/12/;/^#define/!d' constants.h.tmp.1 > constants.h.tmp.2
>cat constants-hdr constants.h.tmp.2 > constants.h
>rm -f constants.h.tmp*
>cmp constants.h /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/asm-arm/constants.h >/dev/null 2>&1 || cp -p constants.h /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/asm-arm/constants.h
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/arch/arm/tools'
>make CFLAGS="-D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm " -C kernel
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make all_targets
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make[2]: `all_targets'를 위해 할 일이 없습니다
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make CFLAGS="-D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm " -C drivers
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers'
>make -C block
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make[3]: `all_targets'를 위해 할 일이 없습니다
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make -C cdrom
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make[3]: `all_targets'를 위해 할 일이 없습니다
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make -C char
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -nostdinc -I /usr/lib/gcc-lib/armv5l-linux/3.2.1/include -DKBUILD_BASENAME=mk712 -c -o mk712.o mk712.c
>In file included from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/config.h:4,
> from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/module.h:10,
> from mk712.c:36:
>/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/autoconf.h:119:15: warning: extra tokens at end of #undef directive
>mk712.c:60:1: unterminated #if
>make[3]: *** [mk712.o] 오류 1
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make[2]: *** [first_rule] 오류 2
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make[1]: *** [_subdir_char] 오류 2
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers'
>make: *** [_dir_drivers] 오류 2
>[root@localhost linux]#ㅠ
>
>
>뭔가 쓸모 없는 token이 있다고 하는것 같기도 하고요...
>#if가 안 지워졌다고도 하네요
>어디를 어떻게 손대야 하나요;;
mk712.c 소스상에서 뭔가 문제가 있는것 같네요..
현재 저희 최신 커널은 linux-2.4.19-x5-v07.tar.gz 입니다. 이 커널을 다운받으셨어 압축을 풀고..
# make clean
# make dep
# make zImage
그럼 수고하세요..
>[root@localhost linux]# make zImage
>. scripts/mkversion > .tmpversion
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -DUTS_MACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/arch/arm/tools'
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -S -o constants.h.tmp.1 getconstants.c
>In file included from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/config.h:4,
> from getconstants.c:10:
>/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/autoconf.h:119:15: warning: extra tokens at end of #undef directive
>sed 's/^(#define .* )[#$](.*)/12/;/^#define/!d' constants.h.tmp.1 > constants.h.tmp.2
>cat constants-hdr constants.h.tmp.2 > constants.h
>rm -f constants.h.tmp*
>cmp constants.h /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/asm-arm/constants.h >/dev/null 2>&1 || cp -p constants.h /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/asm-arm/constants.h
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/arch/arm/tools'
>make CFLAGS="-D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm " -C kernel
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make all_targets
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make[2]: `all_targets'를 위해 할 일이 없습니다
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/kernel'
>make CFLAGS="-D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm " -C drivers
>make[1]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers'
>make -C block
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make[3]: `all_targets'를 위해 할 일이 없습니다
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/block'
>make -C cdrom
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make[3]: `all_targets'를 위해 할 일이 없습니다
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/cdrom'
>make -C char
>make[2]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make all_targets
>make[3]: Entering directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>armv5l-linux-gcc -D__KERNEL__ -I/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -Wa,-mcpu=xscale -msoft-float -Uarm -nostdinc -I /usr/lib/gcc-lib/armv5l-linux/3.2.1/include -DKBUILD_BASENAME=mk712 -c -o mk712.o mk712.c
>In file included from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/config.h:4,
> from /project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/module.h:10,
> from mk712.c:36:
>/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/include/linux/autoconf.h:119:15: warning: extra tokens at end of #undef directive
>mk712.c:60:1: unterminated #if
>make[3]: *** [mk712.o] 오류 1
>make[3]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make[2]: *** [first_rule] 오류 2
>make[2]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers/char'
>make[1]: *** [_subdir_char] 오류 2
>make[1]: Leaving directory `/project/ez-x5/test/kernel/linux-2.4.19-x5-v05/drivers'
>make: *** [_dir_drivers] 오류 2
>[root@localhost linux]#ㅠ
>
>
>뭔가 쓸모 없는 token이 있다고 하는것 같기도 하고요...
>#if가 안 지워졌다고도 하네요
>어디를 어떻게 손대야 하나요;;