From owner-freebsd-bugs Fri Feb 24 05:55:04 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA16421 for bugs-outgoing; Fri, 24 Feb 1995 05:55:04 -0800 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA16411 for ; Fri, 24 Feb 1995 05:54:58 -0800 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.8/8.6.6) id IAA04611; Fri, 24 Feb 1995 08:52:06 -0500 Date: Fri, 24 Feb 1995 08:52:06 -0500 From: Wankle Rotary Engine Message-Id: <199502241352.IAA04611@skynet.ctr.columbia.edu> To: bugs@FreeBSD.org, emb@herman.tiac.net Subject: Re: Kernel Compile Error. Sender: bugs-owner@FreeBSD.org Precedence: bulk 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 ~~~~~~~~~