Hi, thanks for the advice. Now I emptied the /usr/src and /usr/obj directories, downloaded the CURRENT sources again, and removed the /etc/src.conf file. I compile the GENERIC kernel now, /etc/make.conf contains KERNCONF=GENERIC MK_PROFILE=NO DEFAULT_VERSIONS+=linux=c6 MALLOC_PRODUCTION=YES INSTALL_NODEBUG=YES WITH_FAST_DEPEND=YES Compilation takes a few hours usually, I will tell you the result. best regards Andras Krasznai -----Eredeti üzenet----- Feladó: Pete Wright [mailto:pete_at_nomadlogic.org] Küldve: 2019. július 18. 19:10 Címzett: M&S - Krasznai András; freebsd-current_at_freebsd.org Tárgy: Re: undefined symbol: random_source_register during kernel compilation On 7/18/19 5:21 AM, M&S - Krasznai András wrote: > Hi > > > I have been trying to compile a freebsd-current kernel since the 16th of July, 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='kernel.full' > .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/sys/G13NEW/kernel.full.meta' > .MAKE.LEVEL='2' > MAKEFILE='' > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose curdirOk= > yes' > > I deleted and resynchronized the source tree and emptied the /usr/obj directory, 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). are you able to build GENERIC? if so might be worth looking at the delta's b/w GENERIC and your custom configuration and trying to zero in on what may be causing this to fail. -p -- Pete Wright pete_at_nomadlogic.org _at_nomadlogicLAReceived on Fri Jul 19 2019 - 04:51:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC