lkml.org 
[lkml]   [2000]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: pcmcia in test10pre6
On Fri, Oct 27, 2000 at 11:32:18AM +0000, Jonathan Hudson wrote:
> Previously working in test10pre*, now gives many unresolved symbols: ...

I didn't get nearly that many. In fact, I only got this one:

...
-o vmlinux
drivers/pcmcia/pcmcia.o: In function `CardServices':
drivers/pcmcia/pcmcia.o(.text+0x3b53): undefined reference to `pcmcia_request_irq'
drivers/pcmcia/pcmcia.o(__ksymtab+0x160): undefined reference to `pcmcia_request_irq'
make: *** [vmlinux] Error 1

This seems to be the fatal change:

[diff -u linux-2.4.0-test10pre[56]/drivers/pcmcia/cs.c | grep _request_irq]
-int pcmcia_request_irq(client_handle_t handle, irq_req_t *req)
+static int cs_request_irq(client_handle_t handle, irq_req_t *req)

I see it mentioned in a number of places:

drivers/net/pcmcia/ray_cs.c
drivers/pcmcia/cs.c
include/pcmcia/cs.h

This patch compiles, but I haven't tested it yet (not home with laptop).

--- ./drivers/pcmcia/cs.c.OLD Fri Oct 27 10:14:53 2000
+++ ./drivers/pcmcia/cs.c Fri Oct 27 20:39:55 2000
@@ -1836,7 +1836,7 @@

======================================================================*/

-static int cs_request_irq(client_handle_t handle, irq_req_t *req)
+int pcmcia_request_irq(client_handle_t handle, irq_req_t *req)
{
socket_info_t *s;
config_t *c;
\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.036 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site