Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PCMCIA Failure
@ 1999-05-04 12:35 Leslie F. Donaldson
  1999-05-04 12:47 ` Christopher C Chimelis
  0 siblings, 1 reply; 4+ messages in thread
From: Leslie F. Donaldson @ 1999-05-04 12:35 UTC (permalink / raw)
  To: axp-list

Hello,
I was trying to compile the latest PCMCIA drivers and got the following
error. Is  anyone working on this?

dump_i365.c(.text+0xb4): undefined reference to `outb_p'
dump_i365.c(.text+0xcc): undefined reference to `outb_p'
dump_i365.c(.text+0xd0): undefined reference to `outb_p'
dump_i365.o: In function `i365_probe':
dump_i365.c(.text+0x360): undefined reference to `outb_p'
dump_i365.o(.text+0x364):dump_i365.c: more undefined references to `outb_p' foll
ow
collect2: ld returned 1 exit status
make[1]: *** [dump_i365] Error 1
make[1]: Leaving directory `/usr/src/pcmcia-cs-3.0.9/debug-tools'


This is the ever classic use intel instruction problem. 

Leslie Donaldson
/----------------------------\ Current Contractor: Onsite Engineering  
|    Leslie F. Donaldson     | Current Customer  : Entergy - Nuclear GGNS
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA Failure
  1999-05-04 12:35 Leslie F. Donaldson
@ 1999-05-04 12:47 ` Christopher C Chimelis
  1999-05-04 15:04   ` Peter Howell Jr
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher C Chimelis @ 1999-05-04 12:47 UTC (permalink / raw)
  To: axp-list


On Tue, 4 May 1999, Leslie F. Donaldson wrote:

> I was trying to compile the latest PCMCIA drivers and got the following
> error. Is  anyone working on this?

I just was working on this...funny someone should mention it.  The
following patch should clear up the undefined references:

diff -ruN pcmcia-cs-3.0.9/debug-tools/dump_i365.c pcmcia-cs-patched/debug-tools/dump_i365.c
--- pcmcia-cs-3.0.9/debug-tools/dump_i365.c	Sun Jul 26 19:10:51 1998
+++ pcmcia-cs-patched/debug-tools/dump_i365.c	Wed May  5 00:20:51 1999
@@ -41,8 +41,13 @@
 #include <asm/io.h>
 #endif
 #include <unistd.h>
+#ifndef __alpha__
 #define INB(a) inb_p(a)
 #define OUTB(d, a) outb_p(d, a)
+#else /* __alpha__ */
+#define INB(a) inb(a)
+#define OUTB(d, a) outb(d, a)
+#endif /* __alpha__ */
 
 #endif /* __MSDOS__ */
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA Failure
@ 1999-05-04 13:14 Leslie F. Donaldson
  0 siblings, 0 replies; 4+ messages in thread
From: Leslie F. Donaldson @ 1999-05-04 13:14 UTC (permalink / raw)
  To: axp-list

Whoooa,
  Talk about timing and quick response.
Thanks a Lot.

Leslie DOnaldson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCMCIA Failure
  1999-05-04 12:47 ` Christopher C Chimelis
@ 1999-05-04 15:04   ` Peter Howell Jr
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Howell Jr @ 1999-05-04 15:04 UTC (permalink / raw)
  To: axp-list; +Cc: Peter Howell Jr

> 
> 
> On Tue, 4 May 1999, Leslie F. Donaldson wrote:
> 
> > I was trying to compile the latest PCMCIA drivers and got the following
> > error. Is  anyone working on this?
> 
> I just was working on this...funny someone should mention it.  The
> following patch should clear up the undefined references:
> 

	Hmmm.  And I was just looking for the drivers so I could get the
pcmcia slot on my AS200/233 up and running.  Where can I download these
drivers?  I've lost my bookmarks.  :-(

Peter


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-05-04 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-04 13:14 PCMCIA Failure Leslie F. Donaldson
  -- strict thread matches above, loose matches on Subject: below --
1999-05-04 12:35 Leslie F. Donaldson
1999-05-04 12:47 ` Christopher C Chimelis
1999-05-04 15:04   ` Peter Howell Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox