Hi Kevin,
Kevin Ingwersen wrote,
Hello there!
I am having a bit of a "moment" here, trying to build ucLibC on my VisionFive2.
I have configured most of the things I would like the library to feature, but when I try
to actually build it, it can not find my headers properly.
I have tried /usr, /usr/include and also used find to locate the folders that it was
looking for, but to no avail. It is either linux/errno.h, asm/errno.h or asm/unistd.h that
can not be found.
The kernel is self-built (since the upstream currently lacks two patches required for
full SoC support) off the 6.6.0 branch and headers are installed to their standard
location, including /usr/src/linux-headers-$(uname -r).
What is the expected structure to be found under .config's KERNEL_HEADERS?
You need to install the kernel headers in your Linux source tree via:
make INSTALL_HDR_PATH=/home/wbx/linux headers_install
And then put /home/wbx/linux/include as kernel header path.
Any reason you are not cross-compiling for your board? What distro
is running on your board?
Why you want to use uClibc-ng?
best regards
Waldemar