tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build kernel from source



Hi All,

Help, I am just download the source from CVS using this command `cvs checkout -A -P src`,
so it should be current development version, But I met two issues.

I am new here:) please help.

Tr
y to build kernel from source

Command:
cd /usr/src; ./build.sh -O /usr/obj -U -j 8 tools kernel=NB6 modules distribution sets


Result:
configure: creating ./config.status
config.status: creating host-mkdep
chmod +x host-mkdep
#   install  /tooldir.NetBSD-6.1.4-amd64/bin/nbhost-mkdep
mkdir -p /tooldir.NetBSD-6.1.4-amd64/bin
/usr/src/tools/binstall/xinstall -c  -r -m 555 host-mkdep /tooldir.NetBSD-6.1.4-amd64/bin/nbhost-mkdep
make: exec(/usr/src/tools/binstall/xinstall) failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/src/tools/host-mkdep
*** Error code 1

Actually the xinstall is not in the folder
# find / -name xinstall
/usr/src/usr.bin/xinstall
/usr/obj/tools/binstall/xinstall
# cat ~/build_kernel

Try to build the npfctl command

# cd /usr/src/usr.sbin/npf/npfctl/
# pwd
/usr/src/usr.sbin/npf/npfctl
# make
#       lex  npfctl/npf_scan.c
/usr/src/tooldir.NetBSD-6.1.4-amd64/bin/nblex    -onpf_scan.c npf_scan.l
make: exec(/usr/src/tooldir.NetBSD-6.1.4-amd64/bin/nblex) failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/npf/npfctl
#

How to change the NetBSD6.1.4? I am using the current development version of source!


Home | Main Index | Thread Index | Old Index