[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Kernel Compilation Error
I try to port uClinx on Spartan IIE.
I've downloaded the auto_uclinux_6_30b from John Web site.
I've modified the design to fit in Spartan IIE LC 600. Mainly it consist in
changing the constrain file (.ucf file in the /data project directory), repalce
ddr RAM by SDRAM and reduce cache mamory to 8k.
Then I've compiled the design using EDK 7.1 SP3 environnement (Generate Netlist
and Bistream).
I've then copied the auto-config.in from my Windows PC to the Linux one ine the
directory :
~/uClinux-dist/linux-2.4.x/arch/microblaze/platform
The from the uClinux-dist I've rune the make menuconfig with the following setting:
--- Kernel is linux-2.4.x
(uClibc) Libc Version
[*] Customize Kernel Settings (NEW)
It comes out with the next option menu
Linux Kernel v2.4.29-uc1 Configuration
from wich I just select Exit and Save.
I've obtain then the followin message:
Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you may run 'make bzImage', 'make bzdisk', or 'make install'.
make[2]: Leaving directory `/home/alayrac/uClinux-2.4.x'
make[1]: Leaving directory `/home/alayrac/uClinux-dist'
So I've trie to run the make bzImage and obtain the followin error
alayrac@debian-labo:~/uClinux-dist$ make bzImage
make: *** Pas de règle pour fabriquer la cible « bzImage ». Arrêt.
Sorry its in french but it says that There is no rools to make the bzImage
target. Stop
Same error withe bzdisk and install
alayrac@debian-labo:~/uClinux-dist$ make bzdisk
make: *** Pas de règle pour fabriquer la cible « bzdisk ». Arrêt.
alayrac@debian-labo:~/uClinux-dist$ make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
So I've try to do the make dep and the the make command but it comes out withe
the next error message:
----> Begin of message
arch/microblaze/kernel/kernel.o:/home/alayrac/uClinux-2.4.x/arch/microblaze/kernel/syscalls.c:164:
more undefined references to `current' follow
fs/fs.o: In function `cmdline_read_proc':
/home/alayrac/uClinux-2.4.x/fs/proc/proc_misc.c:460: undefined reference to
`saved_command_line'
fs/fs.o: In function `open_kcore':
/home/alayrac/uClinux-2.4.x/include/linux/sched.h:813: undefined reference to
`current'
fs/fs.o: In function `elf_kcore_store_hdr':
/home/alayrac/uClinux-2.4.x/fs/proc/kcore.c:216: undefined reference to
`saved_command_line'
/home/alayrac/uClinux-2.4.x/fs/proc/kcore.c:216: undefined reference to `current'
fs/fs.o: In function `ext2_new_block':
/home/alayrac/uClinux-2.4.x/fs/ext2/balloc.c:371: undefined reference to `current'
/home/alayrac/uClinux-2.4.x/fs/ext2/balloc.c:371: undefined reference to `current'
fs/fs.o: In function `ext2_new_inode':
/home/alayrac/uClinux-2.4.x/fs/ext2/ialloc.c:327: undefined reference to `current'
fs/fs.o: In function `ext2_ioctl':
/home/alayrac/uClinux-2.4.x/fs/ext2/ioctl.c:23: undefined reference to
`current'fs/fs.o:/home/alayrac/uClinux-2.4.x/fs/ext2/ioctl.c:23: more undefined
references to `current' follow
make[1]: *** [linux] Erreur 1
make[1]: Leaving directory `/home/alayrac/uClinux-2.4.x'
make: *** [linux] Erreur 1
<---- End of message
Can any one explain me what I'm doing wrong.
Kinds regards
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/