Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kernel source for building modules
#1
I'd like to being developing modules for FreeBSD.  I'm somewhat experienced in this on Linux though.  I'm running PC-BSD (should I say TrueOS now???) 10.3.  Here's the output from uname


Quote:[afalanga@fang] ~/devel/kern% uname -a
FreeBSD fang 10.3-RELEASE-p5 FreeBSD 10.3-RELEASE-p5 #0: Thu Jun 30 03:52:15 UTC 2016     root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64


What is the correct method of ensuring that one has the proper build environment for their respective kernel?  I'm rather used to "sudo yum install kernel-devel" or something similar and the package management system takes care of dependencies.  I've found some threads and other things that suggest downloading from http://ftp.freebsd.org/pub/FreeBSD/Releases, but is that a "safe thing" after patch-level n has been applied?  I also read about using sysinstall to install the sources for me.  However, sysinstall isn't on my system.

Thanks,
Andy
[-] The following 1 user says Thank You to recursion for this post:
  • grahamperrin
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help building PBI-Files Rakor 3 893 10-21-2011, 07:03 PM
Last Post: Rakor
  Kernel Source budious 12 4,050 03-08-2007, 02:49 AM
Last Post: dracheflieger
  Making PBI file from source code digiplaya 15 8,087 10-04-2005, 11:57 PM
Last Post: digiplaya

Forum Jump:


Users browsing this thread: 1 Guest(s)