UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
8,301 Views
Registered: ‎11-13-2014

petalinux-build error: Building Linux - linux kernel: No such file or directory

Jump to solution

Hello,

 

I'm runnung Ubuntu Linux 14.04 LTS.

I have followed the instructions for installing Petalinux and getting started manual. I have downloaded a example BSP and created a new project from that.

 

When I try to execute petalinux-build I got the failure:

 

INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
INFO: Building linux
[ERROR] make: *** linux-kernel: No such file or directory.  Stop.
ERROR: Failed to build linux

 

Do I missing something from the tool-chain?

0 Kudos
1 Solution

Accepted Solutions
13,243 Views
Registered: ‎11-13-2014

Re: petalinux-build error: Building Linux - linux kernel: No such file or directory

Jump to solution

Problem solved.

 

Ubuntu uses dash as standard shell. Petalinux supports bash!

 

You can check by

 

ls -l /bin/sh

 

and change this by:

 

sudo dpkg-reconfigure dash

 

-> select no

 

Have a look at:

 

http://svenand.blogdrive.com/archive/165.html#.VGXPZW-GezA

 

3 Replies
Participant maximilianpohl
Participant
8,292 Views
Registered: ‎09-02-2014

Re: petalinux-build error: Building Linux - linux kernel: No such file or directory

Jump to solution

Hi,

do you installed these libraries?

lib32gomp1
lib32ncursesw5

 

0 Kudos
8,275 Views
Registered: ‎11-13-2014

Re: petalinux-build error: Building Linux - linux kernel: No such file or directory

Jump to solution

Yes, both libraries, lib32gomp1 and lib32ncursesw5 are installed.

 

However I could not install ia32-libs on my Ubuntu 64Bit System.

0 Kudos
13,244 Views
Registered: ‎11-13-2014

Re: petalinux-build error: Building Linux - linux kernel: No such file or directory

Jump to solution

Problem solved.

 

Ubuntu uses dash as standard shell. Petalinux supports bash!

 

You can check by

 

ls -l /bin/sh

 

and change this by:

 

sudo dpkg-reconfigure dash

 

-> select no

 

Have a look at:

 

http://svenand.blogdrive.com/archive/165.html#.VGXPZW-GezA