From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18516 invoked from network); 21 Feb 1999 23:59:02 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 21 Feb 1999 23:59:02 -0000 Received: from lexis-nexis.com (mgate2.lxnx.com [138.12.4.45]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA10275 for ; Sun, 21 Feb 1999 18:43:32 -0500 Received: from ra.lexis-nexis.com by lexis-nexis.com (8.8.8+Sun/8.8.8) with SMTP id SAA24659 for ; Sun, 21 Feb 1999 18:43:00 -0500 (EST) Received: by ra.lexis-nexis.com (SMI-8.6/SMI-SVR4) id SAA11032; Sun, 21 Feb 1999 18:43:00 -0500 From: larrys@lexis-nexis.com (Larry Snyder) Message-Id: <199902212343.SAA11032@ra.lexis-nexis.com> Date: Sun, 21 Feb 1999 18:42:59 -0500 (EST) To: axp-list@redhat.com Subject: AS200 pcmcia success! In-Reply-To: X-Mailer: Ishmail 1.3.2-970721-sol MIME-Version: 1.0 Content-Type: text/plain Thanks, folks, you both pointed me in the right direction. The fix (lifted from a post to the 'beta' discussion group on hyper.stanford.edu from Marc.Zyngier@bull.net): In dump_i365.c add the following right after the first three #includes #ifdef __alpha__ #ifndef outb_p #define outb_p outb #endif #ifndef inb_p #define inb_p inb #endif #endif The header files were being included, the conditional stuff was what shot me. Oh yeah, the other problem was my bad. I brewed up a new kernel w/ monolithic ide support (and parport ide, just in case pcmcia uses any of the same hooks) and my ide_register/unregister problems vanished. Ide as a set of modules didn't work, even if manually insmod'd before plugging the flash card in. Amazing how easy it can become to forget about ide when you get wrapped up in these boxes :-) Thanx again, -ls- "B. James Phillippe" wrote: > On Sat, 20 Feb 1999, Michal Jaegermann wrote: > > > Larry Snyder wrote: > > > dump_i365.c(.text+0x28): undefined reference to `outb_p' > > > dump_i365.c(.text+0x40): undefined reference to `inb_p' > > > ... > > That reveals immediately that outb_p (and inb_p) is a macro defined > > in . Looks like that the header was not included, so > > include it. > > It seems pausing IO functions are only defined #ifdef __KERNEL__ in > . Perhaps he should try adding -D__KERNEL__ to the CFLAGS. > > -bp > -- > B. James Phillippe . bryan@terran.org > Software Engineer, WGT Inc. . http://www.terran.org/~bryan > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com