도와주세요!!
글 수 15,339
2005.10.13 02:15:48 (*.236.232.154)
7103
make zImage를 하면 아래와 같은 오류를 발생합니다.
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -msoft-float -Uarm -nostdinc -I /usr/lib/gcc/arm-linux/3.4.3/include -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c
arm-linux-gcc -D__KERNEL__ -I/kernel/linux-2.4.19-x5-v07-128M/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 -msoft-float -Uarm -nostdinc -I /usr/lib/gcc/arm-linux/3.4.3/include -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c cpufreq.c
cpufreq.c: In function `cpufreq_setup':
cpufreq.c:97: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:98: warning: use of compound expressions as lvalues is deprecated
cpufreq.c: In function `cpufreq_set':
cpufreq.c:284: warning: use of compound expressions as lvalues is deprecated
cpufreq.c: At top level:
cpufreq.c:413: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:413: error: initializer element is not constant
cpufreq.c:413: error: (near initialization for `ctl_cpu_vars[0].data')
cpufreq.c:417: error: initializer element is not constant
cpufreq.c:417: error: (near initialization for `ctl_cpu_vars[0]')
cpufreq.c:421: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:421: error: initializer element is not constant
cpufreq.c:421: error: (near initialization for `ctl_cpu_vars[1].data')
cpufreq.c:425: error: initializer element is not constant
cpufreq.c:425: error: (near initialization for `ctl_cpu_vars[1]')
cpufreq.c:432: error: initializer element is not constant
cpufreq.c:432: error: (near initialization for `ctl_cpu_vars[2]')
cpufreq.c:435: error: initializer element is not constant
cpufreq.c:435: error: (near initialization for `ctl_cpu_vars[3]')
cpufreq.c: In function `cpufreq_init':
cpufreq.c:514: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:516: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:519: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:528: warning: use of compound expressions as lvalues is deprecated
make[2]: *** [cpufreq.o] 오류 1
make[2]: Leaving directory `/kernel/linux-2.4.19-x5-v07-128M/kernel'
make[1]: *** [first_rule] 오류 2
make[1]: Leaving directory `/kernel/linux-2.4.19-x5-v07-128M/kernel'
make: *** [_dir_kernel] 오류 2
크로스 컴파일은 falinux에서 제공하는
페도라 코어 2, 코어 3 ARM GCC 3.4.3
-- Fedora Core 2 또는 Fedora Core 3
-- linux-2.6.8-rc2
-- GLIBC-2.3.3
-- BINUTILS-2.15.91.0.1
-- GCC-3.4.3
입니다.
그리고 커널 버전은 PI용 커널 linux-2.4.9-x5-v07 입니다.
쓰는 리눅스는 페도라 4입니다.
아시는분 답변 부탁드립니다.
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -msoft-float -Uarm -nostdinc -I /usr/lib/gcc/arm-linux/3.4.3/include -DKBUILD_BASENAME=ksyms -DEXPORT_SYMTAB -c ksyms.c
arm-linux-gcc -D__KERNEL__ -I/kernel/linux-2.4.19-x5-v07-128M/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 -msoft-float -Uarm -nostdinc -I /usr/lib/gcc/arm-linux/3.4.3/include -DKBUILD_BASENAME=cpufreq -DEXPORT_SYMTAB -c cpufreq.c
cpufreq.c: In function `cpufreq_setup':
cpufreq.c:97: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:98: warning: use of compound expressions as lvalues is deprecated
cpufreq.c: In function `cpufreq_set':
cpufreq.c:284: warning: use of compound expressions as lvalues is deprecated
cpufreq.c: At top level:
cpufreq.c:413: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:413: error: initializer element is not constant
cpufreq.c:413: error: (near initialization for `ctl_cpu_vars[0].data')
cpufreq.c:417: error: initializer element is not constant
cpufreq.c:417: error: (near initialization for `ctl_cpu_vars[0]')
cpufreq.c:421: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:421: error: initializer element is not constant
cpufreq.c:421: error: (near initialization for `ctl_cpu_vars[1].data')
cpufreq.c:425: error: initializer element is not constant
cpufreq.c:425: error: (near initialization for `ctl_cpu_vars[1]')
cpufreq.c:432: error: initializer element is not constant
cpufreq.c:432: error: (near initialization for `ctl_cpu_vars[2]')
cpufreq.c:435: error: initializer element is not constant
cpufreq.c:435: error: (near initialization for `ctl_cpu_vars[3]')
cpufreq.c: In function `cpufreq_init':
cpufreq.c:514: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:516: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:519: warning: use of compound expressions as lvalues is deprecated
cpufreq.c:528: warning: use of compound expressions as lvalues is deprecated
make[2]: *** [cpufreq.o] 오류 1
make[2]: Leaving directory `/kernel/linux-2.4.19-x5-v07-128M/kernel'
make[1]: *** [first_rule] 오류 2
make[1]: Leaving directory `/kernel/linux-2.4.19-x5-v07-128M/kernel'
make: *** [_dir_kernel] 오류 2
크로스 컴파일은 falinux에서 제공하는
페도라 코어 2, 코어 3 ARM GCC 3.4.3
-- Fedora Core 2 또는 Fedora Core 3
-- linux-2.6.8-rc2
-- GLIBC-2.3.3
-- BINUTILS-2.15.91.0.1
-- GCC-3.4.3
입니다.
그리고 커널 버전은 PI용 커널 linux-2.4.9-x5-v07 입니다.
쓰는 리눅스는 페도라 4입니다.
아시는분 답변 부탁드립니다.