[DragonFlyBSD - Bug #3158] 'make' in /usr/src gives errors
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Mon Nov 19 18:12:45 PST 2018
Issue #3158 has been updated by htse.
hi dosadi,
master is the development branch, so it's possible that at certain points in time it doesn't compile, if your intent is not to do kernel programming but using the system with the latest kernel then you should checkout a stable release branch for your regular dragonflybsd system, these will compile fine. (otherwise identify the origin of the error and inform the devs via IRC maybe?)
for your reference: http://lists.dragonflybsd.org/pipermail/users/2018-April/335721.html
> cd /usr/src
> git fetch origin
> git branch DragonFly_RELEASE_5_2 origin/DragonFly_RELEASE_5_2
> git checkout DragonFly_RELEASE_5_2
> git pull
and then rebuild your kernel and world
dosadi wrote:
> Not too sure what is _supposed_ to happen, but when I execute 'make' in /usr/src after a fresh install, it gives me this:
>
> --------
>
> osiris# make src-create-shallow
> If problems occur you may have to 'rm -rf src' and try again.
>
> git clone --depth 1 --branch master -- git://git.dragonflybsd.org/dragonfly.git /usr/src
> Cloning into '/usr/src'...
> remote: Counting objects: 39582, done.
> remote: Compressing objects: 100% (32281/32281), done.
> remote: Total 39582 (delta 11974), reused 21563 (delta 6231)
> Receiving objects: 100% (39582/39582), 121.73 MiB | 6.84 MiB/s, done.
> Resolving deltas: 100% (11974/11974), done.
> Checking out files: 100% (36536/36536), done.
>
> cd /usr/src
> make
>
> [...]
>
> collect2: error: ld returned 1 exit status
>
> --------
----------------------------------------
Bug #3158: 'make' in /usr/src gives errors
http://bugs.dragonflybsd.org/issues/3158#change-13542
* Author: dosadi
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
Not too sure what is _supposed_ to happen, but when I execute 'make' in /usr/src after a fresh install, it gives me this:
--------
osiris# make src-create-shallow
If problems occur you may have to 'rm -rf src' and try again.
git clone --depth 1 --branch master -- git://git.dragonflybsd.org/dragonfly.git /usr/src
Cloning into '/usr/src'...
remote: Counting objects: 39582, done.
remote: Compressing objects: 100% (32281/32281), done.
remote: Total 39582 (delta 11974), reused 21563 (delta 6231)
Receiving objects: 100% (39582/39582), 121.73 MiB | 6.84 MiB/s, done.
Resolving deltas: 100% (11974/11974), done.
Checking out files: 100% (36536/36536), done.
cd /usr/src
make
[...]
collect2: error: ld returned 1 exit status
--------
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list