Date: Fri, 24 Feb 1995 08:52:06 -0500 From: Wankle Rotary Engine <wpaul@skynet.ctr.columbia.edu> To: bugs@FreeBSD.org, emb@herman.tiac.net Subject: Re: Kernel Compile Error. Message-ID: <199502241352.IAA04611@skynet.ctr.columbia.edu>
next in thread | raw e-mail | index | archive | help
This isn't a bug, it's a minor misfeature. You need to grap /usr/sbin/config from FreeBSD-current and configure your kernel with it. Alternatively, if you're in a rush, you can add the following line to the end of /sys/compile/YOUR_KERNEL_NAME/swapkernel.c: void setconf() {} ; setconf() is only used when confguring a generic kernel (with something like 'config kernel swap generic'). If you configure your kernel this way, config will use /sys/i386/i386/swapgeneric.c instead of creating it's own swap device definition file (swapgernel.c). However, since swapgeneric.c is never used in non-generic kernels, config needs to create a dummy setconf() stub so that the linker won't barf, as it did for you. :) It's always a good idea to upgrade your copy of config when you see things like this. This is actually something of a kludge, but it saves you the trouble of having to define a compile time option to make the reference to setconf() go away when you don't need it. -Bill ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~~~ FreeBSD 2.1.0-Development #0: Tue Feb 7 01:49:07 EST 1995 ~~~~~~~~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502241352.IAA04611>