From owner-freebsd-hackers Mon Oct 1 15: 4:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from opine.cs.umass.edu (opine.cs.umass.edu [128.119.240.42]) by hub.freebsd.org (Postfix) with ESMTP id E101C37B40E for ; Mon, 1 Oct 2001 15:04:18 -0700 (PDT) Received: from localhost (sli@localhost) by opine.cs.umass.edu (8.8.7/8.8.8) with ESMTP id SAA18702; Mon, 1 Oct 2001 18:04:17 -0400 (EDT) Date: Mon, 1 Oct 2001 18:04:16 -0400 (EDT) From: Song Li To: Zhihui Zhang Cc: Subject: Re: Make a kernel in a different directory In-Reply-To: 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 So what's the contents of the Makefile in the accf_http directory? On Mon, 1 Oct 2001, Zhihui Zhang wrote: > > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message