Fwd: Dynamic Kernel Linker compilation issues
Michael B. Eichorn
ike at michaeleichorn.com
Wed Dec 16 16:32:11 UTC 2015
Writing drivers is a bit off-topic for this list. This list focuses on
user questions. As you get more technical the lists freebsd-drivers and
freebsd-hackers will be of greater use to you.
As to this specific problem, make says it cannot find the kernel
sources. Did you install them? They are often optional to install and
would be located at /usr/src. Refer to the PCBSD documentation to get
the version appropriate for your version of PCBSD.
On Wed, 2015-12-16 at 17:19 +0100, Louis NOMINE wrote:
> Hi,
>
> I'm currently working on a project where I need to create a PCI
> device driver that can work on freeBSD. In order to learn how o do so
> I'm using the doccuentation I've found on your website (https://www.f
> reebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/driverbasics-
> kld.html)
>
> I have created both files (source code and the makefile). when I try
> to do a make operation I get the following error :
>
> make: "/usr/share/mk/bsd.kmod.mk" line 12: Unable to locate the
> kernel source tree. Set SYSDIR to override.
>
> I'm using PCBSD 10 and I don't know how to solve my problem.
>
> Do you know how to help me ?
>
> Thanks in advance,
>
> Regards,
>
> Louis Nominé
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freeb
> sd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5729 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20151216/745e0c46/attachment.bin>
More information about the freebsd-questions
mailing list