cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
herrmannxilinx
Visitor
Visitor
8,713 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
herrmannxilinx
Visitor
Visitor
13,655 Views
Registered: ‎11-13-2014

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

 

View solution in original post

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

Hi,

do you installed these libraries?

lib32gomp1
lib32ncursesw5

 

0 Kudos
herrmannxilinx
Visitor
Visitor
8,687 Views
Registered: ‎11-13-2014

Yes, both libraries, lib32gomp1 and lib32ncursesw5 are installed.

 

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

0 Kudos
herrmannxilinx
Visitor
Visitor
13,656 Views
Registered: ‎11-13-2014

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

 

View solution in original post