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: 
Explorer
Explorer
4,386 Views
Registered: ‎01-13-2016

Building Linux kernel fails, but I see the tool in the correct location

Following the instructions given here: http://www.wiki.xilinx.com/Build+kernel

 

I get the following output when running make ARCH=arm UIMAGE_LOADER=0x8000 uImage:

make: arm-xilinx-linux-gnueabi-gcc: Command not found

 

So I run 'which arm-xilinx-linux-gnueabi-gcc'

and get '/opt/Xilinx/SDK/2015.2/gnu/arm/lin/bin/arm-xilinx/linux-gnueabi-gcc'

 

So I try 'ls /opt/Xilinx/SDK/2015.2/gnu/arm/lin/bin/'

 

and sure enough, I see arm-xilinx-linux-gnueabi-gcc.

 

Why is the make command failing?

0 Kudos
2 Replies
Explorer
Explorer
4,376 Views
Registered: ‎01-13-2016

Re: Building Linux kernel fails, but I see the tool in the correct location

Might have found the problem, but not the solution.

 

I am running this on 64-bit Debian, and when I run 'file /opt/Xilinx/SDK/2015.2/gnu/arm/lin/bin/arm-xilinx-gnueabi-gcc' it returns ELF 32-bit. So maybe I can't use this and need to sue the 64-bit. The problem is that I dont see anything indicating a 64 bit version of this tool. Is there a 64-bit arm-xilinx-gnueabi-gcc, and if so where would I find it if not the /gnu/arm/lin/bin directory?

 

I know for certain I have 64-bit Xilinx installed, so it should be here somewhere.

0 Kudos
Explorer
Explorer
4,373 Views
Registered: ‎01-13-2016

Re: Building Linux kernel fails, but I see the tool in the correct location

Issue resolved. Install the following before attempting anything with Xilinx tools:

 

libncurses5-dev

lib32z1

lib32ncurses5

lib32bz2-1.0

0 Kudos