PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Kernel headers for kernel 4.14.0-xilinx-v2018.3 cannot be found

Hi,

I’m following the following guide to install the USB Wifi Dongle driver with fixes. However, it fired the following problem. I use PYNQ-Z1 with v2.4 image. Is there anyone know how to resolve the issue ?

root@pynq:/home/xilinx# dkms add ./rtl8192cu-fixes

Creating symlink /var/lib/dkms/8192cu/1.11/source ->
/usr/src/8192cu-1.11

DKMS: add completed.
root@pynq:/home/xilinx# dkms install 8192cu/1.11
Error! echo
Your kernel headers for kernel 4.14.0-xilinx-v2018.3 cannot be found at
/lib/modules/4.14.0-xilinx-v2018.3/build or /lib/modules/4.14.0-xilinx-v2018.3/source.
root@pynq:/home/xilinx# ls /lib/modules/4.14.0-xilinx-v2018.3/

Thank you

There should be a tarball ‘kernel.tar.gz’ in the path /. Uncompressing it will give you all the linux header files.