Date: Mon, 1 Oct 2001 18:21:25 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Song Li <sli@cs.umass.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: Make a kernel in a different directory Message-ID: <Pine.SOL.4.21.0110011820590.2813-100000@onyx> In-Reply-To: <Pine.OSF.4.31.0110011803240.18613-100000@opine.cs.umass.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
The Makefile contains the following: # $FreeBSD: src/sys/modules/accf_http/Makefile,v 1.1.2.1 2000/07/28 04:03:48 alfred Exp $ .PATH: ${.CURDIR}/../../netinet KMOD = accf_http SRCS = accf_http.c .include <bsd.kmod.mk> On Mon, 1 Oct 2001, Song Li wrote: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0110011820590.2813-100000>