<bsd.kmod.mk> on arm64 aarch64 14-CURRENT

Andrew Mitchell via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hello,
<bsd.kmod.mk> is not working as it should on my RPi4 FreeBSD, or so it seems.
.include <bsd.kmod.mk> compiles my file.c into .ko but then sends it to /usr/obj and kldload won't work.

This is what troubles me:
"KLD file.ko: depends on kernel - not available or version mismatch
kldload: can't load ./file.ko: module already loaded or in kernel"

It's all the more troublesome as l'm able to kldload a .ko file on amd64.
I am pretty sure the source code and my FreeBSD version match, but I am beginning to doubt.
On amd64 my .ko files stay in the same directory as file.c and Makefile.
I'm sure that moving to /usr/obj is part of the problem.

Has anyone met with this problem and found a solution?

Cheers, 
Andy


Envoyé de mon iPhone
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.