From owner-freebsd-current Wed Mar 10 21:18: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from WWW.meridianksi.com (meridianksi.com [207.86.113.200]) by hub.freebsd.org (Postfix) with ESMTP id 875CA15171 for ; Wed, 10 Mar 1999 21:17:34 -0800 (PST) (envelope-from tet@nova.org) Received: from mg-20425420-73.ricochet.net ([204.254.20.73]) by WWW.meridianksi.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-57398U100L2S100V35) with ESMTP id AAA199; Thu, 11 Mar 1999 00:30:05 -0500 Date: Thu, 11 Mar 1999 00:17:26 +0000 (GMT) From: "Tet \"PansyAss\" Solfire" X-Sender: tet@localhost To: =?ISO-2022-JP?B?GyRCOzNLXBsoQg==?= =?ISO-2022-JP?B?GyRCTFAbKEI=?= Cc: freebsd-current@FreeBSD.ORG Subject: Re: problem with pccard.c cvsup'ed 3-10-99 15:00:54 In-Reply-To: <199903110309.MAA26576@ns.iij.ad.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I went and removed "static" from both lines in pcic.c as noted below, did a make clean, make depend all, and recieved the same error. Unfortunately, I'm running out of ideas. I've tried commenting out the whole sections, replacing the register_pcic.init with "return(10);" (what my pcmcia was using for IRQ before) it compiles clean, however, my NIC does not work.. (which I assumed) Running out of ideas, coffee, and sleep... I'd rather not have to downgrade my source tree if necessary... -Ryan On Thu, 11 Mar 1999, [ISO-2022-JP] 山本[ISO-2022-JP] 茂 wrote: > > >>>>> "Ryan" == Ryan Dewalt writes: > Ryan> re-compiling the kernel, I recieved this error. (after the > Ryan> original make all failed, I re-ran this to regenerate the error) > Ryan> porta# make all > Ryan> loading kernel > Ryan> pccard.o: In function `unregister_device_interrupt': > Ryan> pccard.o(.text+0x31c): undefined reference to `unregister_pcic_intr' > Ryan> pccard.o: In function `pccard_alloc_intr': > Ryan> pccard.o(.text+0x691): undefined reference to `register_pcic_intr' > Ryan> *** Error code 1 > Ryan> porta# > > unregister_pcic_intr() and register_pcic_intr() are described in > @sys/pccard/pcic.c > but they are described as 'static' functions when APIC_IO is not > defined ;-( > > I think it is better to delete 'static' at line 189 and line 194 in > @sys/pccard/pcic.c than to chnage > unregister_pcic_intr()/register_pcic_intr() to > unregister_intr()/register_intr() in @sys/pccard/pccard.c. > > I fixed @sys/pccard/pcic.c and recompiled. > and now I'm using new kernel on a VAIO 818. > > Thanks, > ------- > YAMAMOTO Shigeru Internet Initiative Japan Inc. > Network Engineering Div. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message