From owner-freebsd-questions@freebsd.org Wed Dec 16 16:19:20 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 947A3A491FF for ; Wed, 16 Dec 2015 16:19:20 +0000 (UTC) (envelope-from lnomine@sii.fr) Received: from sn-mailhub.sii.fr (sn-mailhub.sii.fr [85.233.202.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3B92A1482 for ; Wed, 16 Dec 2015 16:19:19 +0000 (UTC) (envelope-from lnomine@sii.fr) Received: from zimbra.sii.fr ([10.0.100.76]) by sn-mailhub.sii.fr (Lotus Domino Release 8.5.2FP2) with ESMTP id 2015121617191760-926064 ; Wed, 16 Dec 2015 17:19:17 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.sii.fr (Postfix) with ESMTP id 341202FEB42 for ; Wed, 16 Dec 2015 17:19:13 +0100 (CET) Received: from zimbra.sii.fr ([127.0.0.1]) by localhost (zimbra.sii.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id EofJ7Uw8_Cge for ; Wed, 16 Dec 2015 17:19:12 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.sii.fr (Postfix) with ESMTP id CC12D2FEB4D for ; Wed, 16 Dec 2015 17:19:12 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.sii.fr Received: from zimbra.sii.fr ([127.0.0.1]) by localhost (zimbra.sii.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id H4vzy4rHdYRx for ; Wed, 16 Dec 2015 17:19:12 +0100 (CET) Received: from zimbra.sii.fr (localhost.localdomain [127.0.0.1]) by zimbra.sii.fr (Postfix) with ESMTP id B591F2FEB42 for ; Wed, 16 Dec 2015 17:19:12 +0100 (CET) Date: Wed, 16 Dec 2015 17:19:12 +0100 (CET) From: Louis NOMINE To: freebsd-questions@FreeBSD.org Message-ID: <259014141.5852675.1450282752701.JavaMail.zimbra@toulouse.sii.fr> In-Reply-To: <1670418152.5783766.1450276354056.JavaMail.zimbra@toulouse.sii.fr> References: <1670418152.5783766.1450276354056.JavaMail.zimbra@toulouse.sii.fr> Subject: Fwd: Dynamic Kernel Linker compilation issues MIME-Version: 1.0 X-Originating-IP: [10.0.100.11] X-Mailer: Zimbra 8.6.0_GA_1182 (ZimbraWebClient - GC47 (Win)/8.6.0_GA_1182) Thread-Topic: Dynamic Kernel Linker compilation issues Thread-Index: LTlg+ELmtAajV7hkWD+XExL52CcPouFHZCum X-MIMETrack: Itemize by SMTP Server on MailHub/Paris/SII/FR(Release 8.5.2FP2|March 22, 2011) at 16/12/2015 17:19:17, Serialize by Router on MailHub/Paris/SII/FR(Release 8.5.2FP2|March 22, 2011) at 16/12/2015 17:19:20, Serialize complete at 16/12/2015 17:19:20 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 16:19:20 -0000 Hi,=20 I'm currently working on a project where I need to create a PCI device driv= er that can work on freeBSD. In order to learn how o do so I'm using the do= ccuentation I've found on your website (https://www.freebsd.org/doc/en_US.I= SO8859-1/books/arch-handbook/driverbasics-kld.html)=20 I have created both files (source code and the makefile). when I try to do = a make operation I get the following error :=20 make: "/usr/share/mk/bsd.kmod.mk" line 12: Unable to locate the kernel sour= ce tree. Set SYSDIR to override.=20 I'm using PCBSD 10 and I don't know how to solve my problem.=20 Do you know how to help me ?=20 Thanks in advance,=20 Regards,=20 Louis Nomin=C3=A9=20