[ Next-in-Thread ]  [ Next Message ] 

pcmcia-3.1.14 - error during 'make all' ..  

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Jun 01
From: Rene Mikkelsen k2OS

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é

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

This is not really a PCMCIA problem

Re: pcmcia-3.1.14 - error during 'make all' .. (Rene Mikkelsen)
Date: 2000, Jun 01
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Without a valid errno.h, you can't really compile any user level code.
Red Hat 6.0 certainly comes with a set of libraries and header files
that allow things to be compiled successfully.  So something is messed
up on your system, and it isn't obvious to me what it would be.  Maybe
you did a kernel upgrade without checking the glibc requirements?

-- Dave
1. Sad: adding #include <asm/errno.h> seems to help.. by Rene Mikkelsen, 2000, Jun 01
pcmcia-3.1.14 - error during 'make all' ..


[ Add Message ]  to: "pcmcia-3.1.14 - error during 'make all' .. "

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