Date: Mon, 1 Oct 2001 17:59:14 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: freebsd-hackers@freebsd.org Subject: Make a kernel in a different directory Message-ID: <Pine.SOL.4.21.0110011751240.1464-100000@onyx>
next in thread | raw e-mail | index | archive | help
I put the whole kernel code under /test by the following command: #cp -R /usr/src/sys /test My configuration file is under /test/sys/i386/conf. Then I follow all the steps as I usually do to make a kernel and install the kernel (config, make depend, make, and make install). But I got the following errors: # make install chflags noschg /kernel mv /kernel /kernel.old install -c -m 555 -o root -g wheel -fschg kernel /kernel if [ -d /modules -a -n "`ls /modules`" ]; then mkdir -p /modules.old; cp -p /modules/* /modules.old; fi; cd ../../modules && env MAKEOBJDIRPREFIX=/test/sys/compile/TRY/modules make install ===> accf_data install -c -o root -g wheel -m 555 accf_data.ko /modules ===> accf_http install -c -o root -g wheel -m 555 accf_http.ko /modules install: accf_http.ko: No such file or directory *** Error code 71 Stop in /test/sys/modules/accf_http. *** Error code 1 I go to the directory and there is nothing except Makefile there: # pwd /test/sys/modules/accf_http # ls -al total 24 drwxr-xr-x 2 root wheel 56 Oct 1 17:49 . drwxr-xr-x 97 root wheel 1848 Oct 1 17:49 .. -rw-r--r-- 1 root wheel 183 Oct 1 17:49 Makefile I must have missed something. Thanks for any help. I am using 4.3-Release on a PC. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0110011751240.1464-100000>