|
linux:Fedora Core3
kernel:2.4.27-vrs1
[root@localhost linux-2.4.X]# make dep
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make[1]: Entering directory `/root/linux-2.4.X/arch/arm/tools'
/root/linux-2.4.X/scripts/mkdep -D__KERNEL__ -I/root/linux-2.4.X/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm -- getconstants.c |\
sed s,getconstants.o,constants.h, > .depend
make all
make[2]: Entering directory `/root/linux-2.4.X/arch/arm/tools'
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.X/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm -S -o constants.h.tmp.1 getconstants.c
In file included from /root/linux-2.4.X/include/asm/page.h:98,
from /root/linux-2.4.X/include/asm/user.h:4,
from /root/linux-2.4.X/include/asm/elf.h:9,
from /root/linux-2.4.X/include/asm/processor.h:46,
from /root/linux-2.4.X/include/linux/prefetch.h:13,
from /root/linux-2.4.X/include/linux/list.h:6,
from /root/linux-2.4.X/include/linux/wait.h:14,
from /root/linux-2.4.X/include/linux/fs.h:12,
from /root/linux-2.4.X/include/linux/capability.h:17,
from /root/linux-2.4.X/include/linux/binfmts.h:5,
from /root/linux-2.4.X/include/linux/sched.h:9,
from getconstants.c:11:
/root/linux-2.4.X/include/asm/memory.h: In function `virt_to_phys':
/root/linux-2.4.X/include/asm/memory.h:33: `AT91_SDRAM_BASE' undeclared (first use in this function)
/root/linux-2.4.X/include/asm/memory.h:33: (Each undeclared identifier is reported only once
/root/linux-2.4.X/include/asm/memory.h:33: for each function it appears in.)
/root/linux-2.4.X/include/asm/memory.h:34: warning: control reaches end of non-void function
/root/linux-2.4.X/include/asm/memory.h: In function `phys_to_virt':
/root/linux-2.4.X/include/asm/memory.h:38: `AT91_SDRAM_BASE' undeclared (first use in this function)
/root/linux-2.4.X/include/asm/memory.h:39: warning: control reaches end of non-void function
In file included from /root/linux-2.4.X/include/asm/pgtable.h:137,
from /root/linux-2.4.X/include/linux/mm.h:26,
from getconstants.c:12:
/root/linux-2.4.X/include/asm/proc/pgtable.h: In function `__mk_pmd':
/root/linux-2.4.X/include/asm/proc/pgtable.h:62: `AT91_SDRAM_BASE' undeclared (first use in this function)
/root/linux-2.4.X/include/asm/proc/pgtable.h: In function `pmd_page':
/root/linux-2.4.X/include/asm/proc/pgtable.h:75: `AT91_SDRAM_BASE' undeclared (first use in this function)
/root/linux-2.4.X/include/asm/proc/pgtable.h:76: warning: control reaches end of non-void function
make[2]: *** [constants.h] Error 1
make[2]: Leaving directory `/root/linux-2.4.X/arch/arm/tools'
make[1]: *** [dep] Error 2
make[1]: Leaving directory `/root/linux-2.4.X/arch/arm/tools'
make: *** [archdep] Error 2
[root@localhost linux-2.4.X]#
听说在红帽9不会有问题
请问这两种版本会有差异吗 |
|