Freescale / libimxdmabuffer

Library for allocating and managing physically contiguous memory ("DMA memory" or "DMA buffers") on i.MX devices
GNU Lesser General Public License v2.1
19 stars 12 forks source link

[Support] Issue with Linux headers #4

Closed Talkless closed 2 years ago

Talkless commented 2 years ago

if I run ./waf configure --prefix=/usr/local/ I get:

--imx-linux-headers-path is not set

Since machine (NXP i.MX 8M Mini 4xCortex-A53) runs on non-upstream kernel image ( 4.14.98-2.3.0+ #1 SMP PREEMPT Mon Nov 8 02:36:19 UTC 2021 aarch64 GNU/Linux), i.e. not Debian's one, I need to get NXP kernel headers for that version to build this library?

Are these headers freely available from "somewhere"?

Thanks!

Talkless commented 2 years ago

Device developers sent me fsl-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.sh that created toolchain with sysroot, and there I've found /usr/include/imx headers, and library built successfully!