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: 
Visitor hoanggiamta
Visitor
402 Views
Registered: ‎09-03-2017

Missing /usr/src/linux-headers-3.16.0-4-common/arch/arm on Petalinux 2017.2 for ZynqMP

Dear Xilinx community,

 

I have tried to write and install a simple kernel module on Petalinux 2017.2 for ZynqMP. However, when I compiled the module, I had an error:

 

/usr/src/linux-headers-3.16.0-4-common/arch/arm64/include/asm/xen/interface.h:1:49: fatal error: ../../arm/include/asm/xen/interface.h: No such file or directory
 #include <../../arm/include/asm/xen/interface.h>

 

When I checked, I could not find the directory /usr/src/linux-headers-3.16.0-4-common/arch/arm.

But I could find the directory /usr/src/linux-headers-3.16.0-4-common/arch/arm64.

 

Can you show me how to fix the issue? How can I make the missing directory appear in my machine? Thank you in advance!

0 Kudos