From owner-freebsd-questions Fri Mar 10 11:28:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.nber.org (ns2.nber.org [207.113.108.2]) by hub.freebsd.org (Postfix) with ESMTP id 06D7737BBAD for ; Fri, 10 Mar 2000 11:28:24 -0800 (PST) (envelope-from nda@ns2.nber.org) Received: from nber4.nberorgyp (nber4.nber.org [207.113.108.117]) by ns2.nber.org (8.9.3/8.9.3) with SMTP id OAA29733 for ; Fri, 10 Mar 2000 14:27:17 -0500 (EST) Received: by nber4.nberorgyp (SMI-8.6/SMI-SVR4) id OAA21812; Fri, 10 Mar 2000 14:28:20 -0500 From: nda@nber.org (Net Daemons) Message-Id: <200003101928.OAA21812@nber4.nberorgyp> Subject: Kernel compile problem To: questions@FreeBSD.org Date: Fri, 10 Mar 2000 14:28:20 -0500 (EST) X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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' msdosfs_vnops.o: In function `msdosfs_readdir': /usr/src/sys/compile/NDA/../../msdosfs/msdosfs_vnops.c:1712: undefined r eference to `__cmpdi2' ffs_vnops.o: In function `ffs_getpages': /usr/src/sys/compile/NDA/../../ufs/ufs/ufs_readwrite.c:632: undefined re ference to `__cmpdi2' *** Error code 1 Stop. # In "The Complete FreeBSD" book, 3rd edition, it says to send email to questions@FreeBSD.ORG if I am unable to resolve the problem, so here is my email. TIA -Peter Peter Psyhos nda@nber.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message