Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2021 19:46:49 +0100
From:      Andrew Mitchell <andy_mitchell_fr@icloud.com>
To:        freebsd-arm@freebsd.org
Subject:   <bsd.kmod.mk> on arm64 aarch64 14-CURRENT 
Message-ID:  <CF798D4B-5389-4948-8989-2F5D94BBD2F4@icloud.com>

next in thread | raw e-mail | index | archive | help
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 begi=
nning 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,=20
Andy


Envoy=C3=A9 de mon iPhone=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF798D4B-5389-4948-8989-2F5D94BBD2F4>