From owner-freebsd-current Sun Sep 8 14:34:21 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA25679 for current-outgoing; Sun, 8 Sep 1996 14:34:21 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA25671 for ; Sun, 8 Sep 1996 14:34:18 -0700 (PDT) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id OAA02640 for ; Sun, 8 Sep 1996 14:34:10 -0700 (PDT) Received: (from uucp@localhost) by news1.gtn.com (8.7.2/8.7.2) id XAA17844; Sun, 8 Sep 1996 23:15:35 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by klemm.gtn.com (8.7.5/8.7.3) with SMTP id XAA01420; Sun, 8 Sep 1996 23:15:21 +0200 (MET DST) Date: Sun, 8 Sep 1996 23:15:21 +0200 (MET DST) From: Andreas Klemm Reply-To: Andreas Klemm To: Chuck Robey cc: phk@critter.tfs.com, FreeBSD current Subject: Re: Make world In-Reply-To: Message-ID: X-try-apsfilter: ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz X-Fax: +49 2137 2018 X-Phone: +49 2137 2020 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 8 Sep 1996, Chuck Robey wrote: > Seems broke in lkm/wcd. Here's the error message: I think this happened, after Poul changed the struct atapi in i386/isa/atapi.h (atapi.h 1.6 -> 1.7) and changed wcdattach, to have one argument less ... I think a fix could be, to apply the following patch: but it's only a guess ;-) So perhaps wait, if it's mission critical for you ;) RCS file: /local/CVS/src/sys/i386/isa/wcd.c,v retrieving revision 1.38 diff -u -r1.38 wcd.c --- wcd.c 1996/09/06 23:32:40 1.38 +++ wcd.c 1996/09/08 21:11:46 @@ -1131,7 +1131,7 @@ /* Probing controller ata->ctrlr, unit u. */ if (ata->params[u] && ! ata->attached[u] && wcdattach (ata, u, ata->params[u], - ata->debug, ata->parent) >= 0) + ata->debug) >= 0) { /* Drive found. */ ata->attached[u] = 1; It compiles fine after that... root{1101} /usr/src/lkm/wcd make cc -pipe -O2 -nostdinc -I. -DWCD_MODULE -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/wcd/../../sys -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Winline -Wunused -Wpointer-arith -c /usr/src/lkm/wcd/../../sys/i386/isa/wcd.c /usr/src/lkm/wcd/../../sys/i386/isa/wcd.c:1114: warning: `rwcd_load' declared `static' but never defined /usr/src/lkm/wcd/../../sys/i386/isa/wcd.c:1114: warning: `rwcd_unload' declared `static' but never defined ld -r -o tmp.o wcd.o symorder -c symb.tmp tmp.o mv tmp.o wcd_mod.o -- andreas@klemm.gtn.com /\/\___ Wiechers & Partner Datentechnik GmbH Andreas Klemm ___/\/\/ Support Unix -- andreas.klemm@wup.de pgp p-key http://www-swiss.ai.mit.edu/~bal/pks-toplev.html >>> powered by <<< ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz >>> FreeBSD <<<