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

Select this message: Can't build 3.1.19 on kernel 2.2.16 on Tecra 8100: "ENODEV undeclared"

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

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

Members Subscribe No Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10
[ Edit This Forum ]