[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PCMCIA "make all" errors

On Thu, Feb 22, 2001 at 07:49:30AM -0800, Donnie Jones wrote:
> Hey all,
> 	I am running debian 2.2 on a nec versa 4000c with the
> cirrus logic PD6722 pcmcia controller with kernel
> 2.2.18pre21.  I installed the kernel source and the
> pcmcia source to /usr/src/linux/modules/pcmcia-cs/ and
> the pcmcia-modules with apt-get. 
> 	Following the pcmcia-howto I first did "make
> configure" on the pcmcia source and use the defaults,
> and that went fine.  Next I did "make all" in the
> process of doing this I recieve and error and the
> compiling halts. 
> I did "script -a error.txt" then "make all" and here's
> the information from the error.txt file:
> Script started on Thu Feb 22 10:41:39 2001
> dorm0389:/usr/src/linux/modules/pcmcia-cs# make all^M
> ../include/pcmcia/k_compat.h:201,^M
>                  from i82365.c:36:^M
> /usr/src/linux/include/linux/wait.h:24: warning:
> `init_waitqueue_head' redefined^M

I had the same error some time ago. The reason was that pcmcia needed 
some features from 2.3.x-Kernelseries (like wait_queue), not
available in kernel < 2.2.18. So they put this stuff in k_compat.h

Hower, since kernel 2.2.18pre21 this stuff was also available 
in the 2.2.x-series. So, either you edit k_compat.h or
fetch some new pcmcia-source which already has this corrected.


Reply to: