No clue what was the problem but after having nuked /usr/src, fetching the same 
source again and building everything is fine.-------- Eredeti levél 
--------Feladó: r0ller <r0l...@freemail.hu>Dátum: 2022 november 10 
14:00:51Tárgy: Re: building new kernel on upgraded systemCímzett: 
netbsd-users@NetBSD.org <netbsd-users@NetBSD.org>Hi All,Well, the doc helped 
but the build got stuck 
at:/usr/src/external/mit/epoll-shim/include/sys/unistd.has it tries to#include 
<ssp/unistd.h>but the system does not find it. If I doexport 
CFLAGS=-I/usr/src/includewhich contains an ssp directory (with a unistd.h file) 
and then start to build the kernel then it gets stuck because of some other 
included files from that directory like:/usr/src/include/ssp/ssp.h:55:26: 
error: no previous prototype for '__ssp_real_read'Can someone help me figure 
out what to do?Thanks,r0ller-------- Eredeti levél --------Feladó: r0ller 
<r0l...@freemail.hu>Dátum: 2022 november 10 09:28:22Tárgy: Re: building new 
kernel on upgraded systemCímzett: netbsd-users@NetBSD.org 
<netbsd-users@NetBSD.org>Thanks! That'll help :)-------- Eredeti levél 
--------Feladó: Michael van Elst <mlel...@serpens.de>Dátum: 2022 november 10 
08:54:53Tárgy: Re: building new kernel on upgraded systemCímzett: 
netbsd-users@netbsd.orgr0l...@freemail.hu (r0ller) writes: > Hi All,I've just 
tried to build a custom configured kernel on a > system that was installed 
originally as 9.1 and later upgraded to > 9.2 and 9.3. Executed in 
/usr/srcbuild.sh toolswhich ended successfully > but the (beginning part of 
the) summary looks like:build.sh command: > ./build.sh toolsbuild.sh started: 
Wed Nov 9 21:56:45 CET 2022NetBSD > version: 9.1_STABLEMACHINE: 
amd64MACHINE_ARCH: x86_64Build platform: > NetBSD 9.3 amd64HOST_SH: /bin/shWhat 
does NetBSD version 9.1_STABLE > refer to? Weren't the system sources updated 
during the upgrades? > Honestly, I cannot recall how I upgraded the system 
(sysinst/sysupgrade).In > the end the question is: does that indicate that the 
custom kernel > will be built from a 9.1 source when I issue 'build.sh > 
kernel=MYKERNEL'?Thanks,r0ller The system sources weren't updated. You could 
unpack the source sets to get the release sources, but most people who build 
from sources prefer to track the stable branch. Here is the chapter from the 
guide that describes how you can fetch NetBSD sources: 
https://www.netbsd.org/docs/guide/en/chap-fetch.html 

Reply via email to