Next-in-Thread Next Message

Sad Modules not compiling properly with 2.3.47 kernel and pcmcia-cs-3.1.11 . 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Feb 22
From: Steven J. Hill <sjhill@cotw.com>

Greetings.

I have spent a good 1-2 hours trying to get the 'pcmcia-cs' stuff to
compile and am pretty frustrated at this point. I have read all the
documentation including the 'README' and 'PCMCIA-HOWTO' supplied with
the source code. I am running version 2.3.47 of the kernel. I am
using version 3.1.11 of the 'pcmcia-cs' source code.

1) I do the standard 'Configure' and use the following options:

     Linux source directory [/usr/src/linux]: 

     The kernel source tree is version 2.3.47.
     The current kernel build date is Mon Feb 21 17:05:08 2000.

     Alternate target install directory []: 
       Module install directory [/lib/modules/2.3.47]: 
     Build 'trusting' versions of card utilities (y/n) [n]: 
     Include 32-bit (CardBus) card support (y/n) [y]: 

     Kernel configuration options:
         Kernel-tree PCMCIA support is enabled.
         Symmetric multiprocessing support is disabled.
         PCI BIOS support is enabled.
         Advanced Power Management (APM) support is enabled.
         SCSI support is disabled.
         Networking support is enabled.
          Radio network interface support is disabled.
          Token Ring device support is disabled.
          Fast switching is disabled.
         Module version checking is enabled.
         /proc filesystem support is enabled.

     It looks like you have a System V init file setup.

2) I then do a make and everything builds just fine. Only
   problem is that I have PCMCIA supported in the kernel which
   the Configure script told me I had to have using a 2.3.x
   kernel. Because PCMCIA is selected, the make does not enter
   the modules, clients and wireless subdirectories.

3) I do a 'make install' and it installs the new card utilities
   but of course no new drivers. I reboot and of course none
   of my devices are detected because no pcmcia modules were
   built and installed in my '/lib/modules/2.3.47/pcmcia'
   directory.

4) I decided to edit the top level Makefile and force it to
   go into the modules, clients and wireless subdirectories.
   As soon as it goes into the 'modules' subdirectory I get
   the following mess:

    make[1]: Entering directory `/data/pcmcia-cs-3.1.11/modules'
    cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux/include -I../include  -D__KERNEL__ -DMODULE -c i82365.c
    i82365.c: In function `cb_get_state':
    i82365.c:972: structure has no member named `cardbus'
    i82365.c: In function `cb_set_state':
    i82365.c:999: structure has no member named `cardbus'
    i82365.c: In function `cb_set_opts':
    i82365.c:1040: structure has no member named `cardbus'
    i82365.c: In function `add_cb_bridge':
    i82365.c:1640: structure has no member named `cb_bus'
    i82365.c: At top level:
    i82365.c:1810: parse error before `ss_callback_t'
    i82365.c:1811: warning: function declaration isn't a prototype
    i82365.c: In function `pcic_register_callback':
    i82365.c:1812: `call' undeclared (first use in this function)
    i82365.c:1812: (Each undeclared identifier is reported only once
    i82365.c:1812: for each function it appears in.)
    i82365.c:1813: `s' undeclared (first use in this function)
    i82365.c: In function `proc_read_info':
    i82365.c:2384: structure has no member named `cardbus'
    i82365.c: In function `pcic_service':
    i82365.c:2542: `SS_GetStatus' undeclared (first use in this function)
    i82365.c:2553: `SS_GetSocket' undeclared (first use in this function)
    i82365.c:2555: `SS_SetSocket' undeclared (first use in this function)
    i82365.c: In function `init_i82365':
    i82365.c:2620: warning: passing arg 2 of `register_ss_entry_R63d4edac' from incompatible pointer type
    i82365.c: In function `exit_i82365':
    i82365.c:2639: warning: passing arg 1 of `unregister_ss_entry_R7c9ae117' from incompatible pointer type
    make[1]: *** [i82365.o] Error 1
    make[1]: Leaving directory `/data/pcmcia-cs-3.1.11/modules'
    make: *** [all] Error 2

   I get similar errors when I try to go into the 'clients' and
   'wireless' directories.

I would like to point out that I am not an idiot. I followed the
directions, hacked at the makefiles, tried version '3.0.14' with
the same results and have yet to get anything to install modules
so that my PCMCIA cards are recognized. What the heck am I doing
wrong? Thank you in advance. I am booting back to my 2.2.14 kernel
where things work, but I am doing some advanced wireless stuff
and such and really need to be working with the 2.3.x kernel.
Cheers.

-Steve

P.S. I also tried downloading beta stuff from the 'NEW' directory and that did not work either.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None You can't build those modules on a 2.3.* kernel by David Hinds, 2000, Feb 22

Add Message to: "Modules not compiling properly with 2.3.47 kernel and pcmcia-cs-3.1.11 ."

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10