I installed stock RedHat 6.2 on a tecra 8100 with a Psion Dacom Gold Card 10/100 Ethernet PC Card. I then applied RH's updates, including a new kernel, 2.2.16-3 (which I rebuilt to suit). In /usr/src/linux I see a pcmcia-3.1.8 directory, but since the latest seems to be 3.1.19 I have put that in /usr/src and am using that to attempt to build PCMCIA support. In make config everything goes smoothly: -default dir /usr/src/linux -untrusting versions -no cardbus -no pnp checking Make all chews away happily until it tries to build the cardmgr stuff. I get (sorry if the formatting is screwy): make: Entering directory `/usr/src/pcmcia-cs-3.1.19/cardmgr' cc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/linux/include -I../modules -c cardmgr.c cardmgr.c: In function `lookup_dev': cardmgr.c:156: `ENODEV' undeclared (first use in this function) cardmgr.c:156: (Each undeclared identifier is reported only once cardmgr.c:156: for each function it appears in.) cardmgr.c:157: warning: control reaches end of non-void function cardmgr.c: In function `do_insert': cardmgr.c:931: `EBUSY' undeclared (first use in this function) cardmgr.c:949: `EAGAIN' undeclared (first use in this function) cardmgr.c: In function `init_sockets': cardmgr.c:1267: `ENODEV' undeclared (first use in this function) cardmgr.c:1280: `ENOENT' undeclared (first use in this function) cardmgr.c: In function `main': cardmgr.c:1425: `EINTR' undeclared (first use in this function) cardmgr.c:1437: `EAGAIN' undeclared (first use in this function) make: *** [cardmgr.o] Error 1 make: Leaving directory `/usr/src/pcmcia-cs-3.1.19/cardmgr' make: *** [all] Error 2 I had a quick look at cardmgr.c but I couldn't see anything obviously wrong. But then I am not a programmer. Can anyone help? cheers --herb.
[ Edit This Forum ]