Next-in-Thread Next Message

Question Can't build 3.1.19 on kernel 2.2.16 on Tecra 8100: "ENODEV undeclared" 

Forum: PCMCIA on Toshiba laptops
Date: 2000, Jul 26
From: Herbert Kornfledt herbertkornfeldt

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[1]: 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[1]: *** [cardmgr.o] Error 1
make[1]: 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.

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Your C header files are incomplete by David Hinds, 2000, Jul 26
(_ Ok Thanks, that seems to have done the trick. by Herbert Kornfledt, 2000, Jul 26

Add Message to: "Can't build 3.1.19 on kernel 2.2.16 on Tecra 8100: "ENODEV undeclared""

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