Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 12:21:32 +0000
From:      =?iso-8859-1?Q?M=26S_-_Krasznai_Andr=E1s?= <Krasznai.Andras@mands.hu>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   undefined symbol: random_source_register during kernel compilation
Message-ID:  <1563452492662.7098@mands.hu>

next in thread | raw e-mail | index | archive | help
Hi


I have been trying to compile a freebsd-current kernel since the 16th of Ju=
ly, and keep getting the following error during "make buildkernel":


Building /usr/obj/usr/src/amd64.amd64/sys/G13NEW/kernel.full
linking kernel.full
ld: error: undefined symbol: random_source_register
>>> referenced by ivy.c:108 (/usr/src/sys/dev/random/ivy.c:108)
>>>               ivy.o:(rdrand_modevent)

ld: error: undefined symbol: random_source_deregister
>>> referenced by ivy.c:115 (/usr/src/sys/dev/random/ivy.c:115)
>>>               ivy.o:(rdrand_modevent)

ld: error: undefined symbol: random_source_register
>>> referenced by nehemiah.c:124 (/usr/src/sys/dev/random/nehemiah.c:124)
>>>               nehemiah.o:(nehemiah_modevent)

ld: error: undefined symbol: random_source_deregister
>>> referenced by nehemiah.c:133 (/usr/src/sys/dev/random/nehemiah.c:133)
>>>               nehemiah.o:(nehemiah_modevent)
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/G13NEW
.ERROR_TARGET=3D'kernel.full'
.ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/sys/G13NEW/kernel.full.met=
a'
.MAKE.LEVEL=3D'2'
MAKEFILE=3D''
.MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve=
rbose curdirOk=3D
yes'

I deleted and resynchronized the source tree and emptied the /usr/obj direc=
tory, but it did not help.

How could I get kernel compilation work again? I would like to say that the=
 make.conf, src.conf files as well as my kernel configuration file was not =
changed since a couple of months (since I installed freebsd-current).

rgds

?








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1563452492662.7098>