Hello!
I'm new on FreeBSD, i'm trying to create the "skeleton" driver and run it.
I just create the "skeleton.c" and the "Makefile". When i run "make" it appear:
But i can't find the source of the 13.0 version, it doesn't seem to be here: https://svn0.eu.freebsd.org/base/releng/
How can I download the sources to compile a kernel module?
Thanks!
Best Regards.
Solution: (thanks to all!)
I'm new on FreeBSD, i'm trying to create the "skeleton" driver and run it.
I just create the "skeleton.c" and the "Makefile". When i run "make" it appear:
After google it, i found this thread: Thread 49779.Unable to locate the kernel source tree. Set SYSDIR to override.
But i can't find the source of the 13.0 version, it doesn't seem to be here: https://svn0.eu.freebsd.org/base/releng/
How can I download the sources to compile a kernel module?
Thanks!
Best Regards.
Solution: (thanks to all!)
- Install git:
pkg install git-lite
- checkout the 13.0 source:
git clone -b releng/13.0 --depth 1 https://git.freebsd.org/src.git /usr/src
Last edited: