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;

Reply via email to