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

[microblaze-uclinux] [Q] petalinux-v030 make error



I use the ML403 board.
I'm adding New Platform(ML403) for petalinux.
   ex)
      $cd $PETALINUX/software/petalinux-dist
      $petalinux-new-platform -v Xilinx -p ML403 -k 2.6

and I'm selecting the new vendor platform.
(The new vendor and platform is selected in the Vendor/Product Selection kernel configuration menu.)

I'm Synchronise Hardware Configuration using AutoConfig After System Settings Configuration Menu( http://developer.petalogix.com/wiki/UserGuide/Customising/SystemConfigMenu).

[root@XILINX Jsw-Project-edk91]#petalinux-copy-autoconfig
INFO: Attempting vendor/platform auto-detect
INFO: Auto-detected Xilinx/ML403 combination.
Auto-config file successfully updated for Xilinx ML403

I'm change into the $PETALINUX/software/petalinux-dist directory.

$ cd $PETALINUX/software/petalinux-dist

Execute the following command to start the build process.

Change into the $PETALINUX/software/petalinux-dist directory.

[root@XILINX petalinux-dist]# cd $PETALINUX/software/petalinux-dist

I'm execute the following command to start the build process.

 [root@XILINX petalinux-dist]# yes "" | make oldconfig dep all
make -C tools/ucfront
make[1]: Entering directory `/root/petalinux-v0.30-rc1/software/petalinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/petalinux-v0.30-rc1/software/petalinux-dist/tools/ucfront'
ln -sf /root/petalinux-v0.30-rc1/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /root/petalinux-v0.30-rc1/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /root/petalinux-v0.30-rc1/software/petalinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=microblaze CROSS_COMPILE=microblaze-uclinux- -j4 -C linux-2.6.x  || exit 1
make[1]: Entering directory `/root/petalinux-v0.30-rc1/software/linux-2.6.x-petalogix'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  GEN     usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  LD      arch/microblaze/platform/built-in.o
/root/petalinux-v0.30-rc1/tools/linux-i386/microblaze-uclinux-tools/bin/microblaze- uclinux-ld.real: cannot open arch/microblaze/platform/common/built-in.o: No such file or directory
make[2]: *** [arch/microblaze/platform/built-in.o] Error 1
make[1]: *** [arch/microblaze/platform] Error 2
make[1]: Leaving directory `/root/petalinux-v0.30-rc1/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1
[root@XILINX petalinux-dist]#