From owner-freebsd-bugs Thu Jul 25 12:53:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA26601 for bugs-outgoing; Thu, 25 Jul 1996 12:53:05 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA26556 for ; Thu, 25 Jul 1996 12:52:56 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA19856; Thu, 25 Jul 1996 21:52:50 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA23887; Thu, 25 Jul 1996 21:52:50 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id TAA22163; Thu, 25 Jul 1996 19:43:08 +0200 (MET DST) From: J Wunsch Message-Id: <199607251743.TAA22163@uriah.heep.sax.de> Subject: Re: Error during compilation of kernel with worm To: afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen) Date: Thu, 25 Jul 1996 19:43:08 +0200 (MET DST) Cc: freebsd-bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <1.5.4.32.19960725130837.0068f66c@mail.rrz.uni-koeln.de> from Ralf Luettgen at "Jul 25, 96 03:08:37 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Ralf Luettgen wrote: > During the compilation of the kernel of release 2.1.5 with the > following line in the conf file : > > device worm0 at scbus? > > I've got the following message : > > oading kernel > conf.o: Undefined symbol `_wormopen' referenced from data segment > conf.o: Undefined symbol `_wormclose' referenced from data segment > conf.o: Undefined symbol `_wormioctl' referenced from data segment > conf.o: Undefined symbol `_wormstrategy' referenced from data segment > *** Error code 1 Strange. Have you recompiled the entire kernel after reconfiguring? These functions are the cdevsw[]/bdevsw[] functions, they are being generated by a macro expansion inside sys/scsi/worm.c. Is worm.c compiled into your kernel at all (it is supposed to)? Puzzling, i have test-compiled a 2.1.5 kernel before updating the driver in 2.1.5, and the above was supposed to function ever since 2.1. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)