generic won't make depend
Jim McIver
jmciver at lmtribune.com
Mon Mar 1 15:30:10 PST 2004
> On Mon, Mar 01, 2004 at 02:32:44PM +0000, Jim McIver wrote:
> > I did a minimal install of a Freebsd 4.9(small hard drive) on a 486
> > and wanted to customize my kernal, so I cvsup'ed only the src-sys
> > directory.
> >
> > After several attempts at a new kernel with no success, I thought
> > I'd try to just run 'make depend' on the GENERIC after doing the
> > 'config GENERIC' and it won't even complete the make depend.
> >
> > What am I missing?
>
> For starters, you forgot to show us your cvsup file and the kernel
> build errors.
>
> Kris
Sorry, here's the stable-supfile
# $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.19.2.6
2002/08/06 08:24:46 blackend Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-stable source tree.
#
# CVSup (CVS Update Protocol) allows you to download the latest
CVS
# tree (or any branch of development therefrom) to your system
easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing). If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as
follows
# to keep your CVS tree up-to-date:
#
# cvsup stable-supfile
#
# If not running X, or invoking cvsup from a non-interactive script,
then
# run it as follows:
#
# cvsup -g -L 2 stable-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=CHANGE_THIS.FreeBSD.org
# This specifies the server host which will supply the
# file updates. You must change it to one of the CVSup
# mirror sites listed in the FreeBSD Handbook at
# http://www.freebsd.org/doc/handbook/mirrors.html.
# You can override this setting on the command line
# with cvsup's "-h host" option.
#
# base=/usr
# This specifies the root where CVSup will store information
# about the collections you have transferred to your system.
# A setting of "/usr" will generate this information in
# /usr/sup. Even if you are CVSupping a large number of
# collections, you will be hard pressed to generate more than
# ~1MB of data in this directory. You can override the
# "base" setting on the command line with cvsup's "-b base"
# option. This directory must exist in order to run CVSup.
#
# prefix=/usr
# This specifies where to place the requested files. A
# setting of "/usr" will place all of the files requested
# in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib").
# The prefix directory must exist in order to run CVSup.
#
#####################################################
##########################
#
# DANGER! WARNING! LOOK OUT! VORSICHT!
#
# If you add any of the ports or doc collections to this file, be sure to
# specify them with a "tag" value set to ".", like this:
#
# ports-all tag=.
# doc-all tag=.
#
# If you leave out the "tag=." portion, CVSup will delete all of
# the files in your ports or doc tree. That is because the ports and doc
# collections do not use the same tags as the main part of the
FreeBSD
# source tree.
#
#####################################################
##########################
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror
sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
# The following line is for 4-stable. If you want 3-stable or 2.2-
stable,
# change "RELENG_4" to "RELENG_3" or "RELENG_2_2"
respectively.
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
# If your network link is a T1 or faster, comment out the following
line.
*default compress
## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
# Please note: If you want to track -STABLE, leave this
uncommented.
# src-all
# These are the individual collections that make up "src-all". If you
# use these, be sure to comment out "src-all" above.
#src-base
#src-bin
#src-contrib
#src-etc
#src-games
#src-gnu
#src-include
#src-kerberos5
#src-kerberosIV
#src-lib
#src-libexec
#src-release
#src-sbin
#src-share
src-sys
#src-tools
#src-usrbin
#src-usrsbin
# These are the individual collections that make up FreeBSD's crypto
# collection. They are no longer export-restricted and are a part of
# src-all
#src-crypto
#src-eBones
#src-secure
#src-sys-crypto
and here's what 'make depend' sayes.
perl5 ../../kern/vnode_if.pl -c ../../kern/vnode_if.src
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extens
ions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2
make -V SFILES -V SYSTEM_SFILES | xargs env MKDEP_CPP="cc -E" mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit
h -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2
rm -f .depend
mv -f .newdep .depend
cd ../../modules ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/GENERIC/modules COPTS="-include /usr/src/sys/compile/GENERIC/opt_global.h" MACHINE=i386 make obj ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/GENERIC/modules CO
PTS="-include /usr/src/sys/compile/GENERIC/opt_global.h" MACHINE=i386 make depend
===> accf_data
/usr/src/sys/compile/GENERIC/modules/usr/src/sys/modules/accf_data created for /usr/src/sys/modules/accf_data
===> accf_http
/usr/src/sys/compile/GENERIC/modules/usr/src/sys/modules/accf_ht
tp created for /usr/src/sys/modules/accf_http
===> agp
/usr/src/sys/compile/GENERIC/modules/usr/src/sys/modules/agp
created for /usr/src/sys/modules/agp
etc......
and finally
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
echo "#define NVCODA 4" > vcoda.h
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include -I/usr/include /usr/src/sys/modules/coda/../../coda/coda_fbsd.c /usr/src/sys/modules/coda/../../coda/coda_namecache.c /usr/src/sys/modules
/coda/../../coda/coda_psdev.c
/usr/src/sys/modules/coda/../../coda/coda_subr.c
/usr/src/sys/modules/coda/../../coda/coda_venus.c
/usr/src/sys/modules/coda/../../coda/coda_vfsops.c
/usr/src/sys/modules/coda/../../coda/coda_vnops.c
===> crypto
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
*** Error code 2
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/src/sys/compile/GENERIC.
-Jim McIver
More information about the freebsd-questions
mailing list