Well, recently I moved my development environment from ubuntu 15.10 to 16.04 LTS.
After installing XSDK and Petalinux 15.2
$ petalinux-build INFO: Checking component... INFO: Generating make files and build linux ... [INFO ] install linux/kernel [ERROR] ERROR: Invalid ELF file '/home/om/labcyte.git/lc-ddring/peta/plnx-ddring/images/linux/vmlinux' [ERROR] make[1]: *** [package-subsystem-FIT] Error 255 ERROR: Failed to build linux Try to install below packages using apt-get install.
$ sudo apt-get install tofrodos iproute tftpd-hpa gawk gcc git-core make net-tools libncurses5-dev zlib1g-dev libssl-dev flex bison lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libselinux1 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package lib32bz2-1.0 E: Couldn't find any package by glob 'lib32bz2-1.0' E: Couldn't find any package by regex 'lib32bz2-1.0' To fix above issue. Execute below commands. root@E6420:~# sudo dpkg --add-architecture i386 root@E6420:~# apt-get update ... apt-get install libbz2-1.0:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libbz2-1.0:i386 ...
$ sudo apt-get install tofrodos iproute tftpd-hpa gawk gcc git-core make net-tools libncurses5-dev zlib1g-dev libssl-dev flex bison lib32z1 lib32ncurses5 lib32stdc++6 libselinux1 Reading package lists... Done Building dependency tree Reading state information... Done bison is already the newest version (2:3.0.4.dfsg-1). flex is already the newest version (2.6.0-11). gawk is already the newest version (1:4.1.3+dfsg-0.1). gcc is already the newest version (4:5.3.1-1ubuntu1). libncurses5-dev is already the newest version (6.0+20160213-1ubuntu1). libselinux1 is already the newest version (2.4-3build2). make is already the newest version (4.1-6). ...
$ petalinux-build ... [INFO ] post-install linux/rootfs/uWeb [INFO ] package zImage [INFO ] zImage linux/kernel [INFO ] install linux/kernel [INFO ] Package HDF bitstream $
- 506 views
Add new comment