2.6.0-test7 my cardbus card works (after a manual modprobe), but cardmgr never notices the insertion

Tim Shepard shep at alum.mit.edu
Thu Oct 30 09:20:45 GMT 2003


> This is not a cardmgr problem; cardmgr is working as designed.  With
> this kernel, CardBus cards are managed by the hotplug system.  Verify
> that your kernel has CONFIG_HOTPLUG enabled and that you have a
> current version of the linux-hotplug package.

Thanks for correcting my lack of clue!

Indeed, when I insert a non-cardbus card, cardmgr notices and does the
right thing.   I'll get the hotplug stuff.


> > Then I got sources for cardmgr and tried to compile them, and
> > discovered that I don't know how to get the cardmgr from
> > pcmcia-cs-3.2.5, pcmcia-cs.09-Oct-03, or pcmcia-cs.29-Oct-03 to
> > compile with a linux-2.6.0-test7 kernel tree.  So my cardmgr is still
> > from the Debian pcmcia-cs 3.1.33-6 package.
> 
> Care to report what problem you had, specifically?
> 

Probably further cluelessness on my part.

Well, I guess I don't need to compile cardmgr from sources now, but
stuff below my .sig shows what I was doing and not succeeding.  It
looks like it doesn't like the linux-2.6.0-test7 kernel tree, even if
I just want to compile cardmgr.

			-Tim Shepard
			 shep at alum.mit.edu

 - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - -  - - 


<2>$ tar xfz pcmcia-cs-3.2.5.tar.gz 
<3>$ cd pcmcia-cs-3.2.5
<4>$ make config

    -------- Linux PCMCIA Configuration Script --------

The default responses for each question are correct for most users.
Consult the PCMCIA-HOWTO for additional info about each option.

Linux kernel source directory [/usr/src/linux]: /old/usr/src/linux-2.6.0-test7

The kernel source tree is version 2.6.0-test7.
The current kernel build date is Wed Oct 29 20:14:15 2003.

Build 'trusting' versions of card utilities (y/n) [n]: 
Include 32-bit (CardBus) card support (y/n) [y]: 
Include PnP BIOS resource checking (y/n) [n]: 
Module install directory [/lib/modules/2.6.0-test7]: 

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is enabled.
    High memory support is disabled.
    PCI BIOS support is enabled.
    Power management (APM) support is enabled.
    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is enabled.
    Kernel debugging support is enabled.
     Memory leak detection support is disabled.
     Spinlock debugging is disabled.
    Preemptive kernel patch is enabled.
    /proc filesystem support is enabled.
    PAE support is disabled.

/old/usr/src/linux-2.6.0-test7/include/linux/modversions.h does not exist!
    To fix, run 'make dep' in /old/usr/src/linux-2.6.0-test7.

Configuration failed.

make: *** [config] Error 1
<5>$ cd cardmgr/
<6>$ make
cc  -MD -O3 -Wall -Wstrict-prototypes -pipe  -I../modules -c cardmgr.c
cardmgr.c:52:28: pcmcia/version.h: No such file or directory
cardmgr.c:53:27: pcmcia/config.h: No such file or directory
cardmgr.c:54:29: pcmcia/cs_types.h: No such file or directory
cardmgr.c:55:23: pcmcia/cs.h: No such file or directory
cardmgr.c:56:27: pcmcia/cistpl.h: No such file or directory
cardmgr.c:57:23: pcmcia/ds.h: No such file or directory
In file included from cardmgr.c:59:
cardmgr.h:35: error: parse error before "adjust_t"
cardmgr.h:35: warning: no semicolon at end of struct or union
cardmgr.h:37: error: parse error before '}' token
cardmgr.h:37: warning: type defaults to `int' in declaration of `adjust_list_t'
cardmgr.h:37: warning: data definition has no type or storage class
cardmgr.h:54: error: parse error before "cisdata_t"
cardmgr.h:54: warning: no semicolon at end of struct or union
cardmgr.h:57: error: parse error before '}' token
cardmgr.h:57: warning: type defaults to `int' in declaration of `tuple_ident_t'
cardmgr.h:57: warning: data definition has no type or storage class
cardmgr.h:60: error: parse error before "dev_info_t"
cardmgr.h:60: warning: no semicolon at end of struct or union
cardmgr.h:67: error: conflicting types for `next'
cardmgr.h:36: error: previous declaration of `next'
cardmgr.h:68: error: parse error before '}' token
cardmgr.h:68: warning: type defaults to `int' in declaration of `device_info_t'
cardmgr.h:68: warning: data definition has no type or storage class
cardmgr.h:83: error: parse error before "tuple_ident_t"
cardmgr.h:83: warning: no semicolon at end of struct or union
cardmgr.h:83: warning: no semicolon at end of struct or union
cardmgr.h:85: error: parse error before '}' token
cardmgr.h:85: warning: type defaults to `int' in declaration of `id'
cardmgr.h:85: warning: data definition has no type or storage class
cardmgr.h:88: error: parse error before '*' token
cardmgr.h:88: warning: type defaults to `int' in declaration of `device'
cardmgr.h:88: warning: data definition has no type or storage class
cardmgr.h:90: error: conflicting types for `class'
cardmgr.h:65: error: previous declaration of `class'
cardmgr.h:93: error: conflicting types for `next'
cardmgr.h:67: error: previous declaration of `next'
cardmgr.h:94: error: parse error before '}' token
cardmgr.h:94: warning: type defaults to `int' in declaration of `card_info_t'
cardmgr.h:94: warning: data definition has no type or storage class
cardmgr.h:107: error: parse error before '*' token
cardmgr.h:107: warning: type defaults to `int' in declaration of `root_adjust'
cardmgr.h:107: warning: data definition has no type or storage class
cardmgr.h:108: error: parse error before '*' token
cardmgr.h:108: warning: type defaults to `int' in declaration of `root_device'
cardmgr.h:108: warning: data definition has no type or storage class
cardmgr.h:109: error: parse error before '*' token
cardmgr.h:109: warning: type defaults to `int' in declaration of `blank_card'
cardmgr.h:109: warning: data definition has no type or storage class
cardmgr.h:110: error: parse error before '*' token
cardmgr.h:110: warning: type defaults to `int' in declaration of `root_card'
cardmgr.h:110: warning: type defaults to `int' in declaration of `root_func'
cardmgr.h:110: warning: data definition has no type or storage class
cardmgr.c:66: error: parse error before "card_info_t"
cardmgr.c:66: warning: no semicolon at end of struct or union
cardmgr.c:67: warning: type defaults to `int' in declaration of `bind'
cardmgr.c:67: warning: data definition has no type or storage class
cardmgr.c:68: error: `CISTPL_MAX_DEVICES' undeclared here (not in a function)
cardmgr.c:69: error: parse error before "funcid"
cardmgr.c:69: warning: type defaults to `int' in declaration of `funcid'
cardmgr.c:69: warning: data definition has no type or storage class
cardmgr.c:70: error: parse error before "manfid"
cardmgr.c:70: warning: type defaults to `int' in declaration of `manfid'
cardmgr.c:70: error: conflicting types for `manfid'
cardmgr.h:86: error: previous declaration of `manfid'
cardmgr.c:70: warning: data definition has no type or storage class
cardmgr.c:71: error: parse error before "prodid"
cardmgr.c:71: warning: type defaults to `int' in declaration of `prodid'
cardmgr.c:71: warning: data definition has no type or storage class
cardmgr.c:72: warning: type defaults to `int' in declaration of `socket_info_t'
cardmgr.c:72: warning: data definition has no type or storage class
cardmgr.c:79: error: conflicting types for `root_adjust'
cardmgr.h:107: error: previous declaration of `root_adjust'
cardmgr.c:82: error: conflicting types for `root_device'
cardmgr.h:108: error: previous declaration of `root_device'
cardmgr.c:85: error: conflicting types for `blank_card'
cardmgr.h:109: error: previous declaration of `blank_card'
cardmgr.c:88: error: conflicting types for `root_card'
cardmgr.h:110: error: previous declaration of `root_card'
cardmgr.c:91: error: conflicting types for `root_func'
cardmgr.h:110: error: previous declaration of `root_func'
cardmgr.c:205: error: parse error before '*' token
cardmgr.c:206: warning: function declaration isn't a prototype
cardmgr.c: In function `xlate_scsi_name':
cardmgr.c:210: error: request for member `name' in something not a structure or union
cardmgr.c:211: error: request for member `major' in something not a structure or union
cardmgr.c:212: error: request for member `major' in something not a structure or union
cardmgr.c:218: error: request for member `major' in something not a structure or union
cardmgr.c:219: error: request for member `major' in something not a structure or union
cardmgr.c:227: error: request for member `major' in something not a structure or union
cardmgr.c:230: error: request for member `name' in something not a structure or union
cardmgr.c:232: error: request for member `name' in something not a structure or union
cardmgr.c:234: error: request for member `name' in something not a structure or union
cardmgr.c:236: error: request for member `minor' in something not a structure or union
cardmgr.c: In function `write_stab':
cardmgr.c:287: error: `s' undeclared (first use in this function)
cardmgr.c:287: error: (Each undeclared identifier is reported only once
cardmgr.c:287: error: for each function it appears in.)
cardmgr.c:288: error: `bind_info_t' undeclared (first use in this function)
cardmgr.c:300: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:313: error: request for member `next' in something not a structure or union
cardmgr.c:318: error: request for member `dev_info' in something not a structure or union
cardmgr.c:318: error: request for member `name' in something not a structure or union
cardmgr.c:319: error: request for member `major' in something not a structure or union
cardmgr.c:321: error: request for member `major' in something not a structure or union
cardmgr.c:321: error: request for member `minor' in something not a structure or union
cardmgr.c:311: warning: value computed is not used
cardmgr.c:311: warning: value computed is not used
cardmgr.c: At top level:
cardmgr.c:334: error: parse error before "cisdata_t"
cardmgr.c:335: warning: function declaration isn't a prototype
cardmgr.c: In function `get_tuple':
cardmgr.c:336: error: `s' undeclared (first use in this function)
cardmgr.c:336: error: `ns' undeclared (first use in this function)
cardmgr.c:338: error: `arg' undeclared (first use in this function)
cardmgr.c:338: error: `code' undeclared (first use in this function)
cardmgr.c:340: error: `DS_GET_FIRST_TUPLE' undeclared (first use in this function)
cardmgr.c:343: error: `DS_GET_TUPLE_DATA' undeclared (first use in this function)
cardmgr.c:347: error: `DS_PARSE_TUPLE' undeclared (first use in this function)
cardmgr.c: In function `get_pci_id':
cardmgr.c:368: error: `s' undeclared (first use in this function)
cardmgr.c:368: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:369: error: `config_info_t' undeclared (first use in this function)
cardmgr.c:369: error: parse error before "config"
cardmgr.c:371: error: `config' undeclared (first use in this function)
cardmgr.c:372: error: `DS_GET_CONFIGURATION_INFO' undeclared (first use in this function)
cardmgr.c:373: error: `INT_CARDBUS' undeclared (first use in this function)
cardmgr.c: At top level:
cardmgr.c:382: error: parse error before '*' token
cardmgr.c:383: warning: function declaration isn't a prototype
cardmgr.c: In function `log_card_info':
cardmgr.c:391: error: `s' undeclared (first use in this function)
cardmgr.c:407: error: `pci_id' undeclared (first use in this function)
cardmgr.c: At top level:
cardmgr.c:412: error: parse error before '*' token
cardmgr.c:413: warning: return type defaults to `int'
cardmgr.c: In function `lookup_card':
cardmgr.c:414: error: `s' undeclared (first use in this function)
cardmgr.c:414: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:415: error: `card' undeclared (first use in this function)
cardmgr.c:416: error: `ds_ioctl_arg_t' undeclared (first use in this function)
cardmgr.c:416: error: parse error before "arg"
cardmgr.c:418: error: `cs_status_t' undeclared (first use in this function)
cardmgr.c:418: error: parse error before "status"
cardmgr.c:421: error: `cistpl_manfid_t' undeclared (first use in this function)
cardmgr.c:421: error: parse error before '{' token
cardmgr.c:422: error: `cistpl_funcid_t' undeclared (first use in this function)
cardmgr.c:422: error: parse error before '{' token
cardmgr.c:423: error: `cistpl_vers_1_t' undeclared (first use in this function)
cardmgr.c:423: error: parse error before '{' token
cardmgr.c:426: error: `DS_VALIDATE_CIS' undeclared (first use in this function)
cardmgr.c:426: error: `arg' undeclared (first use in this function)
cardmgr.c:433: error: `CISTPL_FUNCID' undeclared (first use in this function)
cardmgr.c:435: error: `CISTPL_DEVICE_GEO' undeclared (first use in this function)
cardmgr.c:436: error: `CISTPL_FUNCID_MEMORY' undeclared (first use in this function)
cardmgr.c:437: error: `CISTPL_MANFID' undeclared (first use in this function)
cardmgr.c:439: error: `CISTPL_VERS_1' undeclared (first use in this function)
cardmgr.c:473: error: `DS_GET_FIRST_TUPLE' undeclared (first use in this function)
cardmgr.c:476: error: `DS_GET_TUPLE_DATA' undeclared (first use in this function)
cardmgr.c:489: error: `status' undeclared (first use in this function)
cardmgr.c:490: error: `DS_GET_STATUS' undeclared (first use in this function)
cardmgr.c:491: error: `CS_EVENT_CB_DETECT' undeclared (first use in this function)
cardmgr.c: At top level:
cardmgr.c:557: error: parse error before '*' token
cardmgr.c:558: warning: function declaration isn't a prototype
cardmgr.c: In function `free_card':
cardmgr.c:559: error: `card' undeclared (first use in this function)
cardmgr.c: At top level:
cardmgr.c:580: error: parse error before '*' token
cardmgr.c:581: warning: function declaration isn't a prototype
cardmgr.c: In function `free_device':
cardmgr.c:582: error: `dev' undeclared (first use in this function)
cardmgr.c: In function `free_config':
cardmgr.c:605: error: `adj' undeclared (first use in this function)
cardmgr.c:606: error: dereferencing pointer to incomplete type
cardmgr.c:611: error: `dev' undeclared (first use in this function)
cardmgr.c:612: error: dereferencing pointer to incomplete type
cardmgr.c:617: error: `card' undeclared (first use in this function)
cardmgr.c:618: error: dereferencing pointer to incomplete type
cardmgr.c:624: error: dereferencing pointer to incomplete type
cardmgr.c: In function `execute_on_all':
cardmgr.c:688: error: `s' undeclared (first use in this function)
cardmgr.c:688: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:689: error: `bind_info_t' undeclared (first use in this function)
cardmgr.c:704: error: request for member `next' in something not a structure or union
cardmgr.c:705: error: request for member `name' in something not a structure or union
cardmgr.c:705: error: request for member `name' in something not a structure or union
cardmgr.c:707: error: request for member `dev_info' in something not a structure or union
cardmgr.c:709: error: request for member `major' in something not a structure or union
cardmgr.c:710: error: request for member `major' in something not a structure or union
cardmgr.c:711: error: request for member `minor' in something not a structure or union
cardmgr.c:716: error: request for member `name' in something not a structure or union
cardmgr.c:704: warning: value computed is not used
cardmgr.c:704: warning: value computed is not used
cardmgr.c: At top level:
cardmgr.c:836: error: parse error before '*' token
cardmgr.c:837: warning: function declaration isn't a prototype
cardmgr.c: In function `lookup_mtd':
cardmgr.c:844: error: `region' undeclared (first use in this function)
cardmgr.c: In function `bind_mtd':
cardmgr.c:866: error: `s' undeclared (first use in this function)
cardmgr.c:866: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:867: error: `region_info_t' undeclared (first use in this function)
cardmgr.c:867: error: parse error before "region"
cardmgr.c:868: error: `bind_info_t' undeclared (first use in this function)
cardmgr.c:869: error: `mtd_info_t' undeclared (first use in this function)
cardmgr.c:875: error: `region' undeclared (first use in this function)
cardmgr.c:876: error: `DS_GET_FIRST_REGION' undeclared (first use in this function)
cardmgr.c:893: error: `mtd_info' undeclared (first use in this function)
cardmgr.c:896: error: `DS_BIND_MTD' undeclared (first use in this function)
cardmgr.c:902: error: `DS_GET_NEXT_REGION' undeclared (first use in this function)
cardmgr.c:909: error: request for member `dev_info' in something not a structure or union
cardmgr.c:910: error: request for member `function' in something not a structure or union
cardmgr.c:911: error: `DS_BIND_REQUEST' undeclared (first use in this function)
cardmgr.c:913: error: request for member `dev_info' in something not a structure or union
cardmgr.c: At top level:
cardmgr.c:919: error: parse error before '*' token
cardmgr.c:920: warning: function declaration isn't a prototype
cardmgr.c: In function `update_cis':
cardmgr.c:921: error: `cisdump_t' undeclared (first use in this function)
cardmgr.c:921: error: parse error before "cis"
cardmgr.c:922: error: `s' undeclared (first use in this function)
cardmgr.c:926: error: `cis' undeclared (first use in this function)
cardmgr.c:926: error: `CISTPL_MAX_CIS_SIZE' undeclared (first use in this function)
cardmgr.c:928: error: `DS_REPLACE_CIS' undeclared (first use in this function)
cardmgr.c: In function `do_insert':
cardmgr.c:937: error: `s' undeclared (first use in this function)
cardmgr.c:937: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:938: error: `card' undeclared (first use in this function)
cardmgr.c:939: error: `dev' undeclared (first use in this function)
cardmgr.c:940: error: `bind_info_t' undeclared (first use in this function)
cardmgr.c:940: error: `tail' undeclared (first use in this function)
cardmgr.c:940: warning: left-hand operand of comma expression has no effect
cardmgr.c:978: error: incompatible types in assignment
cardmgr.c:979: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:980: error: request for member `dev_info' in something not a structure or union
cardmgr.c:981: error: request for member `function' in something not a structure or union
cardmgr.c:981: error: `BIND_FN_ALL' undeclared (first use in this function)
cardmgr.c:983: error: request for member `function' in something not a structure or union
cardmgr.c:984: error: `DS_BIND_REQUEST' undeclared (first use in this function)
cardmgr.c:987: error: request for member `dev_info' in something not a structure or union
cardmgr.c:990: error: request for member `dev_info' in something not a structure or union
cardmgr.c:998: error: `DS_GET_DEVICE_INFO' undeclared (first use in this function)
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1007: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1011: error: request for member `dev_info' in something not a structure or union
cardmgr.c:1012: error: `DS_UNBIND_REQUEST' undeclared (first use in this function)
cardmgr.c:1019: error: `old' undeclared (first use in this function)
cardmgr.c:1020: error: request for member `name' in something not a structure or union
cardmgr.c:1020: error: request for member `name' in something not a structure or union
cardmgr.c:1022: error: parse error before ')' token
cardmgr.c:1022: error: request for member `next' in something not a structure or union
cardmgr.c:1023: error: parse error before ')' token
cardmgr.c:1025: error: `DS_GET_NEXT_DEVICE' undeclared (first use in this function)
cardmgr.c: In function `do_check':
cardmgr.c:1045: error: `s' undeclared (first use in this function)
cardmgr.c:1045: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1046: error: `card' undeclared (first use in this function)
cardmgr.c:1047: error: `dev' undeclared (first use in this function)
cardmgr.c:1059: error: `CS_IN_USE' undeclared (first use in this function)
cardmgr.c: In function `do_remove':
cardmgr.c:1068: error: `s' undeclared (first use in this function)
cardmgr.c:1068: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1069: error: `card' undeclared (first use in this function)
cardmgr.c:1070: error: `dev' undeclared (first use in this function)
cardmgr.c:1071: error: `bind_info_t' undeclared (first use in this function)
cardmgr.c:1091: error: `DS_UNBIND_REQUEST' undeclared (first use in this function)
cardmgr.c:1096: error: request for member `next' in something not a structure or union
cardmgr.c:1102: error: parse error before "b"
cardmgr.c:1103: error: `b' undeclared (first use in this function)
cardmgr.c: In function `do_suspend':
cardmgr.c:1134: error: `s' undeclared (first use in this function)
cardmgr.c:1134: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1135: error: `card' undeclared (first use in this function)
cardmgr.c:1136: error: `dev' undeclared (first use in this function)
cardmgr.c: In function `do_resume':
cardmgr.c:1154: error: `s' undeclared (first use in this function)
cardmgr.c:1154: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1155: error: `card' undeclared (first use in this function)
cardmgr.c:1156: error: `dev' undeclared (first use in this function)
cardmgr.c: In function `wait_for_pending':
cardmgr.c:1174: error: `cs_status_t' undeclared (first use in this function)
cardmgr.c:1174: error: parse error before "status"
cardmgr.c:1176: error: `status' undeclared (first use in this function)
cardmgr.c:1180: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1180: error: `DS_GET_STATUS' undeclared (first use in this function)
cardmgr.c:1181: error: `CS_EVENT_CARD_INSERTION' undeclared (first use in this function)
cardmgr.c: In function `free_resources':
cardmgr.c:1191: error: `al' undeclared (first use in this function)
cardmgr.c:1192: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1195: error: `ADD_MANAGED_RESOURCE' undeclared (first use in this function)
cardmgr.c:1196: error: `REMOVE_MANAGED_RESOURCE' undeclared (first use in this function)
cardmgr.c:1197: error: `DS_ADJUST_RESOURCE_INFO' undeclared (first use in this function)
cardmgr.c:1199: error: `RES_IRQ' undeclared (first use in this function)
cardmgr.c: In function `adjust_resources':
cardmgr.c:1211: error: `al' undeclared (first use in this function)
cardmgr.c:1214: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1217: error: `DS_ADJUST_RESOURCE_INFO' undeclared (first use in this function)
cardmgr.c:1220: error: `RES_MEMORY_RANGE' undeclared (first use in this function)
cardmgr.c:1226: error: `RES_IO_RANGE' undeclared (first use in this function)
cardmgr.c:1232: error: `RES_IRQ' undeclared (first use in this function)
cardmgr.c: In function `handle_signal':
cardmgr.c:1280: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c: In function `init_sockets':
cardmgr.c:1316: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1317: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c: In function `main':
cardmgr.c:1357: error: parse error before "CS_PKG_RELEASE"
cardmgr.c:1425: error: parse error before "CS_PKG_RELEASE"
cardmgr.c:1444: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1444: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1456: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1456: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1469: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1469: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1471: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1478: error: `CS_EVENT_CARD_REMOVAL' undeclared (first use in this function)
cardmgr.c:1479: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1482: error: `CS_EVENT_EJECTION_REQUEST' undeclared (first use in this function)
cardmgr.c:1485: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1488: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1490: error: `CS_EVENT_CARD_INSERTION' undeclared (first use in this function)
cardmgr.c:1491: error: `CS_EVENT_INSERTION_REQUEST' undeclared (first use in this function)
cardmgr.c:1492: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1493: error: `CS_EVENT_CARD_RESET' undeclared (first use in this function)
cardmgr.c:1494: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1497: error: `CS_EVENT_RESET_PHYSICAL' undeclared (first use in this function)
cardmgr.c:1498: error: invalid use of undefined type `struct socket_info_t'
cardmgr.c:1500: error: `CS_EVENT_PM_SUSPEND' undeclared (first use in this function)
cardmgr.c:1503: error: `CS_EVENT_PM_RESUME' undeclared (first use in this function)
cardmgr.c: At top level:
cardmgr.c:68: error: storage size of `mtd' isn't known
cardmgr.c:100: error: storage size of `socket' isn't known
make: *** [cardmgr.o] Error 1
<7>$ 



More information about the linux-pcmcia mailing list