Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2000 14:37:53 -0800
From:      Doug Barton <Doug@gorean.org>
To:        Net Daemons <nda@nber.org>
Cc:        questions@FreeBSD.org
Subject:   Re: Kernel compile problem
Message-ID:  <38CACAC1.4736C3AC@gorean.org>
References:  <200003101928.OAA21812@nber4.nberorgyp>

next in thread | previous in thread | raw e-mail | index | archive | help
Net Daemons wrote:
> 
> I am trying to rebuild the kernel on a FreeBSD 3.2 machine, i386.  I have
> not done this before.  I copied the GENERIC file in /usr/src/sys/i386/conf
> and tried a make on it before making any changes to it.  I get the following
> error.
> 
>         # /usr/sbin/config -rg NDA
>         Removing old directory ../../compile/NDA:  Done.
>         Don't forget to do a ``make depend''
>         Kernel build directory is ../../compile/NDA
> 
> I cd into ../../compile/NDA and do a "make depend", which runs successfully.
> I then try a make, which fails with the following message.
> 
>         /usr/local/bin/gcc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimp
> licit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arit
> h -Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi -g -nost
> dinc -I- -I. -I../.. -I/usr/include  -DKERNEL -DVM_STACK -include opt_global.h -
> elf  vers.c
> loading kernel
>         vfs_bio.o: In function `vfs_buf_set_valid':
>         /usr/src/sys/compile/NDA/../../kern/vfs_bio.c:2131: undefined reference
> to `__cmpdi2'

	You have removed too much from your custom kernel. Try just compiling
GENERIC, then if that works gradually remove things, making sure you
understand what you are removing. 

Good luck,

Doug
-- 
"Welcome to the desert of the real." 

    - Laurence Fishburne as Morpheus, "The Matrix"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38CACAC1.4736C3AC>