how to get kernel source (ie which ver to get?)

Post your general questions or comments about GhostBSD here!

how to get kernel source (ie which ver to get?)

Postby debguy » Sun Oct 15, 2017 10:51 pm

so kernel source was not part of install (i think it is for freeBSD, no big deal), and i wanna compile something which is telling me i need kernel source installed

i'm running GhostBSD11.1-ALPHA1-20170808-063724-xfce-i386.iso

$ freebsd-version -k
11.1-RC3

if i use

$ git clone https://github.com/freebsd/freebsd.git /usr/src

will that get 11.1-RC3 or no, i have to add something special to the git command or even git from a different github ?
debguy
 
Posts: 2
Joined: Sun Oct 15, 2017 10:03 pm
Has thanked: 0 time
Been thanked: 0 time

how to get kernel source (ie which ver to get?)


Re: how to get kernel source (ie which ver to get?)

Postby NevilleGoddard » Mon Oct 16, 2017 1:08 am

You can get the source code from this GhostBSD wiki page:

http://wiki.ghostbsd.org/wiki/index.php/Nvidia_driver_installation

Select the image you want
NevilleGoddard
Developer
 
Posts: 363
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 76 times
Been thanked: 48 times

Re: how to get kernel source (ie which ver to get?)

Postby NevilleGoddard » Mon Oct 16, 2017 1:11 am

NevilleGoddard
Developer
 
Posts: 363
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 76 times
Been thanked: 48 times

Re: how to get kernel source (ie which ver to get?)

Postby ASX » Mon Oct 16, 2017 1:59 am

NevilleGoddard wrote:Your image is this one I think:


ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/11.1-RELEASE/src.txz


Yes, that is the src tarball, however keep in mind two things:

1) you should spend some amount of time learning about GhostBSD/FreeBSD before to adventure into software building, FreeBSD/GhostBSD are quite different from a Linux distro.

2) We might drop i386 support any time, ideally within hours.
ASX
 
Posts: 988
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 132 times

Re: how to get kernel source (ie which ver to get?)

Postby NevilleGoddard » Mon Oct 16, 2017 2:48 am

Thanks, ASX.
Don't you ever sleep? :)
NevilleGoddard
Developer
 
Posts: 363
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 76 times
Been thanked: 48 times

Re: how to get kernel source (ie which ver to get?)

Postby ASX » Mon Oct 16, 2017 3:00 am

NevilleGoddard wrote:Thanks, ASX.
Don't you ever sleep? :)


Sleeping make me feel like a "rechargeable battery" and we all know batteries allow for a limited amount of discharge/recharge cycles :lol: :mrgreen:
ASX
 
Posts: 988
Joined: Wed May 06, 2015 11:46 am
Has thanked: 58 times
Been thanked: 132 times

Re: how to get kernel source (ie which ver to get?)

Postby NevilleGoddard » Mon Oct 16, 2017 3:02 am

:D
NevilleGoddard
Developer
 
Posts: 363
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 76 times
Been thanked: 48 times


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest