From owner-freebsd-hackers Mon Oct 1 14:59:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 42BCD37B407 for ; Mon, 1 Oct 2001 14:59:46 -0700 (PDT) Received: from onyx (onyx.cs.binghamton.edu [128.226.140.171]) by bingnet2.cc.binghamton.edu (8.11.4/8.11.4) with ESMTP id f91LxjS07729 for ; Mon, 1 Oct 2001 17:59:45 -0400 (EDT) Date: Mon, 1 Oct 2001 17:59:14 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@onyx To: freebsd-hackers@freebsd.org Subject: Make a kernel in a different directory Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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