[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-www
Subject: Re: Dynamic Kernel Linker compilation issues
From: Possnfiffer <possnfiffer () snowboard ! com>
Date: 2015-12-17 0:20:26
Message-ID: CAHAPrjBU8VBAVBtgtcYLzKMgZZT8YD04AyD5Q-HdbarUF2seug () mail ! gmail ! com
[Download RAW message or body]
Also, I'm sure you'll find this useful to read through to get a better
understanding of your system. http://www.bsdnow.tv/tutorials/stable-current
On Wed, Dec 16, 2015 at 10:15 AM, Russell Haley <russ.haley@gmail.com>
wrote:
> Hi There,
>
> This is just my personal opinion, but I find these kinds of questions are
> better answered on the forums or in one of the mailing lists available at
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources-mail.html
> .
> Searching information like this out can be frustrating, you will wind up
> doing the dance of google, manpages (https://www.freebsd.org/cgi/man.cgi)
> and the handbooks (https://www.freebsd.org/docs.html).
>
> disclaimer: I'm only a little further ahead than you are, but I worked
> through this problem too.
>
> Anyway, your project will need to link to kernel source (as stated in the
> error) to build your pseudo (sudo?) driver. You will need to fetch the
> source code using subversion. This is in the handbook but it's a little
> scattered:
>
> https://www.freebsd.org/doc/handbook/updating-upgrading.html
> https://www.freebsd.org/doc/handbook/svn.html
> https://www.freebsd.org/doc/handbook/kernelconfig.html
>
> Again, the dance goes:
>
> 1) google: "Build freebsd from source". If nothing found: go to 2.
> 2) Search the FreeBSD website. The search isn't great so sometimes you just
> have to grab a coffee and sit down and read the handbook (which isn't a bad
> thing really).
> 3) Then manpages for specifics about each command.
>
> Good luck,
>
> Russ
>
> On Wed, Dec 16, 2015 at 6:32 AM, Louis NOMINE <lnomine@sii.fr> 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.freebsd.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-doc@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-doc
> > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-doc@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
>
_______________________________________________
freebsd-doc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic