In pcmcia-cs-3.1.14
After 'make config' I do a 'make all' .. but when Make goes into '/cardmgr'
I instantly get this error ..
<snip>
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:915: `EBUSY' undeclared (first use in this function)
cardmgr.c:933: `EAGAIN' undeclared (first use in this function)
cardmgr.c: In function `init_sockets':
cardmgr.c:1252: `ENODEV' undeclared (first use in this function)
cardmgr.c:1265: `ENOENT' undeclared (first use in this function)
cardmgr.c: In function `main':
cardmgr.c:1415: `EINTR' undeclared (first use in this function)
cardmgr.c:1427: `EAGAIN' undeclared (first use in this function)
make: *** [cardmgr.o] Error 1
</snip>
I compared the libraries with my other machine, at it seems
that I need to upgrade glibc to version 2.1.3-15 .. a certain
errno.h-file that contains declaraions of ENODEV (and other
return-msgs are declared in this one) .. but why doesn't ake
complain about this file missing?..
I'm currently using 2.1.1-6 on the labtop .. the problem is..
that the glibcrpm is about 9megs .. and the only link I have
to the labtop is the net-adapter...
My system : Olivetti P100E - redhat 6.0 ..
3c589D-pcmcia-adapter ..
in advance..
Thanx..
/René
|
This is not really a PCMCIA problem
| |
|
Sad: adding #include <asm/errno.h> seems to help..
| |
|