About kernel 4.27 problem

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

renwei
Posts: 2
Joined: Sat Feb 25, 2006 6:08 am

About kernel 4.27 problem

Sat Feb 25, 2006 6:17 am

linux:Fedora Core3
kernel:2.4.27-vrs1

i have some question that i execute the "make dep " command.
what can i do?
[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]# :roll:
armleaner
Posts: 4
Joined: Fri Feb 24, 2006 10:11 am

Tue Feb 28, 2006 3:33 am

There is no such error report when I use red hat 9!!!
renwei
Posts: 2
Joined: Sat Feb 25, 2006 6:08 am

Tue Feb 28, 2006 8:13 am

There are different from the Fedora Core3 and red hat 9.

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 1 guest