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

[microblaze-uclinux] Kernel Compilation Error (3)



Dear John,

I still not succed to compile the Kernell for my Spartan IIE LC platform.

As you recommand I select Xilinx Vendor and uxlinux-auto from the menuconfig, I
also select the  [*] Customize Kernel Settings (NEW) and kept default setting of
the Linux Kernel v2.4.29-uc1 Configuration.

Then I ran the make dep and make command that comes out withe the following
error message :
    /usr/local/MicroBlaze-elf-tools/bin/mb-ld.real: cannot find -lcrypt_old
    make[2]: *** [ftpd] Erreur 1
    make[2]: Leaving directory `/home/alayrac/uClinux-dist/user/ftpd'
    make[1]: *** [all] Erreur 2
    make[1]: Leaving directory `/home/alayrac/uClinux-dist/user'
    make: *** [subdirs] Erreur 1

I've then tried to run the make dep image as you suggest me and obtain the
following error message:
    make[1]: Leaving directory `/home/alayrac/uClinux-2.4.x'
    [ -d /home/alayrac/uClinux-dist/images ] || mkdir     
    /home/alayrac/uClinux-dist/images
    make ARCH=microblaze CROSS_COMPILE=mb- -C    
    /home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto/. image
    make[1]: execvp: crypt.pl: Permission non accordée
    make[1]: Entering directory  
    `/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
    make[1]: Entering directory 
    `/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
    for i in /home/alayrac/uClinux-dist/romfs/bin/* ; do \
        mb-flthdr -z $i; \
    done
    Cannot open /home/alayrac/uClinux-dist/romfs/bin/*
    genromfs -v -V "ROMdisk" -x *~ -f  
    /home/alayrac/uClinux-dist/images/romfs.img -d    
    /home/alayrac/uClinux-dist/romfs
    make[1]: *** [/home/alayrac/uClinux-dist/images/romfs.img] Erreur de  
    segmentation
    make[1]: Leaving directory    
    `/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
    make: *** [image] Erreur 2

As you recommand in your last email I've run make clean dep all command that
comes with the following error message

    /usr/local/MicroBlaze-elf-tools/bin/mb-ld.real: cannot find -lcrypt_old
    make[2]: *** [ftpd] Erreur 1
    make[2]: Leaving directory `/home/alayrac/uClinux-dist/user/ftpd'
    make[1]: *** [all] Erreur 2
    make[1]: Leaving directory `/home/alayrac/uClinux-dist/user'
    make: *** [subdirs] Erreur 1

I was afraid to have dammage the uClinux-dist and uClinux-2.4.x directories,
I've then decided to remove them both and dowload back from cvs, with update
afterwards.

The results is the same.

I include the auto-config.in to this email in case someone can take a time to
try the compile the kernel with the same configuraion.
I've copied the auto-config.in in the directory :
/uClinux-dist/linux-2.4.x/arch/microblaze/platform/uclinux-auto

For information I've also tried to copy the same file in the directory
/uClinux-dist/vendors/Xilnx/uclinux-auto. 
It gave the same errors.

Thank you in advance for any help.

For information we also have a ML403 board and I plane to port the design on
that board, but I'm still interrested in porting the uClinux on a low cost FPGA.

Kinds regards

Christophe




Attachment: auto-config.in
Description: Binary data