Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 14:28:20 -0500 (EST)
From:      nda@nber.org (Net Daemons)
To:        questions@FreeBSD.org
Subject:   Kernel compile problem
Message-ID:  <200003101928.OAA21812@nber4.nberorgyp>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003101928.OAA21812>