[solved] Re: build amd64 kernel fails
That works. Thank you :) Am 11.05.2017 um 10:08 schrieb Theo Buehler: > On Thu, May 11, 2017 at 10:04:42AM +0200, Heiko Zimmermann wrote: >> Hello Theo, >> >> Am 11.05.2017 um 09:58 schrieb Theo Buehler: >>> On Thu, May 11, 2017 at 09:18:05AM +0200, Heiko wrote: Hello List, I get this error: uvm_init.o: In function `uvm_init': /sys/uvm/uvm_init.c:145: undefined reference to `uvm_km_page_lateinit' *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP (Makefile:869 'bsd': @echo ld -T /sys/arch/amd64/conf/ld.script -X --warn-common -nopie -o...) cmp -s bsd /bsd || ln -f /bsd /obsd cp bsd /nbsd cp: bsd: No such file or directory *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP >>> >>> Make sure you have /sys/uvm/uvm_km.c r1.130 before you try again. >>> >> >> There is this file: >> >> /usr/src/sys/uvm/uvm_km.c >> /* $OpenBSD: uvm_km.c,v 1.129 2017/05/11 00:42:05 dlg Exp $ >> >> How can I get r1.130 ? > > Your cvs mirror probably hasn't synced yet (they usually do every hour > or every 2 hours). It's on cvsweb already: > https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/uvm/uvm_km.c >
Re: build amd64 kernel fails
On Thu, May 11, 2017 at 09:18:05AM +0200, Heiko wrote: > Hello List, > > I get this error: > > uvm_init.o: In function `uvm_init': > /sys/uvm/uvm_init.c:145: undefined reference to `uvm_km_page_lateinit' > *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP (Makefile:869 'bsd': > @echo ld -T /sys/arch/amd64/conf/ld.script -X --warn-common -nopie -o...) > cmp -s bsd /bsd || ln -f /bsd /obsd > cp bsd /nbsd > cp: bsd: No such file or directory > *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP > Make sure you have /sys/uvm/uvm_km.c r1.130 before you try again.
build amd64 kernel fails
Hello List, I get this error: uvm_init.o: In function `uvm_init': /sys/uvm/uvm_init.c:145: undefined reference to `uvm_km_page_lateinit' *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP (Makefile:869 'bsd': @echo ld -T /sys/arch/amd64/conf/ld.script -X --warn-common -nopie -o...) cmp -s bsd /bsd || ln -f /bsd /obsd cp bsd /nbsd cp: bsd: No such file or directory *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP I did this before: # also tried new src from today # rm -rf /usr/src/* # cd /usr # cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -P src # rm -rf /usr/obj/* # cd /usr/src/gnu/usr.bin/cc # make obj # make depend # make # make install # rm -rf /usr/obj/* # cp /bsd /bsd.old # cd /sys/arch/$(machine)/compile/GENERIC.MP # make obj # make config # make What I'm doing wrong? Thank you. Heiko