Summary: | pcmcia-cs-3.2.3-r2 will not compile with development-sources 2.5.66 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timo Boettcher <spida> |
Component: | New packages | Assignee: | Peter Johanson (RETIRED) <latexer> |
Status: | RESOLVED WONTFIX | ||
Severity: | critical | CC: | jstubbs, linux |
Priority: | Low | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fix for pcmcia-cs
patch for kernel-sources |
Description
Timo Boettcher
2003-04-01 12:27:27 UTC
Created attachment 10704 [details, diff]
fix for pcmcia-cs
This patch by Pavel Roskin fixes this problem in ./Configure:
"./Configure: line 907: [: 131413: unary operator expected" of plain pcmcia-cs.
Don't know if it's needed in gentoo's pcmcia-cs, though :(
Created attachment 10705 [details, diff]
patch for kernel-sources
From Pavel Roskin:
"On the kernel side, ds.h should not be including linux/device.h when
compiling userspace code."
patches for kernel (for 2.5.67, but should work with 2.5.66 too) and pcmcia-cs attached. As I'm not using gentoo _yet_, can't confirm or deny anything -- hope this helps nonetheless. Replies to linux (at) brodo.de please, /me is having trouble setting up my bugzilla account... development sources and pcmcia are currently a rocky road. drivers from the pcmcia-cs package will *definitely* not work with any of the latest 2.5.x kernels. AFAIK, David Hinds has no intention of porting the pcmcia-cs package for use with the 2.5.x kernels. Please use the pcmcia support included in the 2.5.x kernels for now. It also seems that pcmcia will soon be handled by hotplugging, and not by the cardmgr utilities, etc. soon. Check the LKML for more info on this. I'm going to hopefully have a more concrete solution to all these problems soon. Keeping myself informed on this, as I'm interested... pcmcia-cs-3.2.5 seems to work fine (userland tools) when compiled against recent 2.6.0-testX kernels soon as you fix the modversions.h location. It's commited to ~x86 currently. Please test. More work is needed for machines w/ *only* module-init-tools installed. Hopefully this will be done soon. I have been using pcmcia-cs with the 2.6 kernels since test 1 (or thereabouts) up until 2.6.0 (dev, gentoo & mm) and have not had any problems - until today. I have downloaded and compiled 2.6.1-mm2 and compiled it and have found that pcmcia-cs won't build against it and comes up with the following error: ** Your kernel is configured with PCMCIA driver support. Therefore, ** 'make all' will compile the PCMCIA utilities but not the drivers. ** See README-2.4 if this is not what you intended! make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.5/work/pcmcia-cs-3.2.5/cardmgr' cc -O2 -march=athlon-xp -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules -c cardmgr.c cc -O2 -march=athlon-xp -pipe -c -MD -O -pipe -I../include/static -I/usr/src/linux/include -I../include -I../modules yacc_config.c In file included from /usr/src/linux/include/pcmcia/cs.h:33, from yacc_config.y:39: /usr/src/linux/include/pcmcia/compat.h:23: error: syntax error before "CardServices" /usr/src/linux/include/pcmcia/compat.h:23: warning: data definition has no type or storage class make[1]: *** [yacc_config.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.5/work/pcmcia-cs-3.2.5/cardmgr' make: *** [all] Error 2 In the kernel configuration, there is a new option: Bus options (PCI, PCMCIA, EISA, MCA, ISA) ---> PCMCIA/CardBus support ---> Compatibility layer for out-of-tree PCMCIA drivers I have tried building with this option both enabled and disabled but both time resulted in the same output. I have not yet confirmed if this also occurs with 2.6.1 kernels other than -mm2 Have confirmed that pcmcia-cs builds fine with both 2.6.1-rc1 and 2.6.1-rc1-gentoo. The problem with 2.6.1-rc1-mm2 is due to the function declaration specifier "__deprecated" in compat.h listed above. Marking this WONTFIX. the initial issues is moot now (emerge pcmcia-cs-3.2.5-r1) and the issue with the __deprecated is gone since that was only in andrew morton's tree for that one revision while the CardServices function was being phased out. |