Re: PCMCIA mudules wont compile with 2.2.11
Rune Linding Raun <linding@bigfoot.com> writes:
> hey yo bros!
>
> i cant compile my pcmcia-modules with the new kernel 2.2.11?
> i got: pcmcia-cs 3.0.9-3
> pcmcia-source 3.0.12-2
> debian 2.1 (and dont wanna mesh with my libc/glibc in order to go
> unstable in the pcmcia-cs)
>
> error dump:
> ...
> i82365.c:2782: `PAGE_OFFSET_RAW' undeclared (first use this function)
> i82365.c:2796: `isa_lock' undeclared (first use this function)
> make[4]: *** [i82365.o] Error 1
> make[4]: Leaving directory `/usr/src/modules/pcmcia-cs/modules'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/src/modules/pcmcia-cs'
> make[2]: *** [build-modules] Error 2
> make[2]: Leaving directory `/usr/src/modules/pcmcia-cs'
> make[1]: *** [kdist_image] Error 2
> make[1]: Leaving directory `/usr/src/modules/pcmcia-cs'
> make: [modules_image] Error 2 (ignored)
I had to get pcmcia 3.0.13 to get this to work on my slink system. The
good thing is that you just need the modules, no need to install a new
cardmgr or any of the other support files. The bad thing is there
isn't a Debianized 3.0.13 so you have to get it right from the source,
ftp://hyper.stanford.edu/pub/pcmcia/pcmcia-cs-3.0.13.tar.gz. I
compiled it manually and just stuck the appropriate modules in
/lib/modules/2.2.11/pcmcia and my laptop works great with
2.2.11. Unfortunately I'll have to remember to manually remove that
sucker next time I upgrade because I couldn't figure out how to get
make-kpkg modules to work with a non-debian piece of source.
Gary
Reply to: