[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] autoplatform prot to SpartanIIE LC problem, make error




I try to port the uClinux on Microblaze on Spartan IIE LC from Insight.
I've donlaoded the auto_uclinux_6_30_b and modify it ro fit in Spartan IIE LC 600.
(mainly it consist in changing pinout constrain, replacing ddr with SDRAM and
reducing cache memory to 8k.)

I've copied the auto_config.in from the Windows PC (EDK6.3 SP2, ISE6.3 SP2) to
the Linux one (Debian Sarge) in the directory ...\arch\mircoblaze\plateform.

I've then run te make menuconfig and select the uClibc 

 [*] Customize Kernel Settings (NEW)

Then I've made no mification in the next screens and the command comes out withe
the following 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'.

Then if I type make bzImage I've got the next error message (in French sorry
about that)

      make: *** Pas de règle pour fabriquer la cible « bzImage ». Arrêt.

same for make bzdisk and install


So I run the make dep succesfully and then the make commande comes out with the
error message:
     arch/microblaze/platform/uclinux-auto/head_ram.o: In function `start':
     arch/microblaze/platform/uclinux-auto/head_ram.o(.text+0x50): undefined       
     reference to `current'
     init/main.o: In function `rest_init':
     /home/alayrac/uClinux-2.4.x/init/main.c(.text+0x2c): undefined reference to
     `current'
     init/main.o: In function `calibrate_delay':
     /home/alayrac/uClinux-2.4.x/init/main.c:175: undefined reference to 
     `current'
     init/main.o: In function `start_kernel':
     /home/alayrac/uClinux-2.4.x/init/main.c:412: undefined reference to      
     `setup_arch'/home/alayrac/uClinux-2.4.x/init/main.c:412: undefined  
     reference to `saved_command_line'
     /home/alayrac/uClinux-2.4.x/init/main.c:412: undefined reference to  
     `trap_init'
     /home/alayrac/uClinux-2.4.x/init/main.c:412: undefined reference to  
     `init_IRQ'
     init/main.o: In function `do_basic_setup':
     /home/alayrac/uClinux-2.4.x/init/main.c:528: undefined reference to 
     `current'
     init/do_mounts.o: In function `mount_block_root':
     /home/alayrac/uClinux-2.4.x/init/do_mounts.c:349: undefined reference to 
     `current'
     arch/microblaze/kernel/kernel.o: In function `init_irq_handlers':
     /home/alayrac/uClinux-2.4.x/arch/microblaze/kernel/irq.c(.text+0x8):   
     undefined reference to `current'
     arch/microblaze/kernel/kernel.o: In function     
     `microblaze_intc_init_irq_types':
/home/alayrac/uClinux-2.4.x/arch/microblaze/kernel/microblaze_intc.c(.text+0x60):
     undefined reference to `current'
     arch/microblaze/kernel/kernel.o: In function `sys_mmap2':
     /home/alayrac/uClinux-2.4.x/arch/microblaze/kernel/syscalls.c:164: 
     undefined reference to `current'
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

Can any one explain me where I've made something wrong?

Chistophe



___________________________
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/