Hi. I need to compile and install an earlier version of the pcmcia
package, because the one given with the 2.2.17mdk kernel has a bug for my
network card (it appears that the bug was introduced after pcmcia package
3.1.15).

I can succesfully compile the pcmcia package that comes with the kernel in
the 7.2 distribution, but when I try to compile ANY other pcmcia package
as given by David Hinds I get the following errors (after make all):

make[1]: Entering directory
`/usr/src/linux-2.2.17/pcmcia-cs-3.1.15/modules'
cc   -MD -O2 -Wall -Wstrict-prototypes -pipe -I../include
-I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c cs.c
In file included from /usr/src/linux/include/linux/fs.h:12,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/vmalloc.h:4,
                 from /usr/src/linux/include/asm/io.h:102,
                 from ../include/pcmcia/k_compat.h:195,
                 from cs.c:35:
/usr/src/linux/include/linux/wait.h:24: warning: `init_waitqueue_head'
redefined../include/pcmcia/k_compat.h:59: warning: this is the location of
the previous definition
In file included from /usr/src/linux/include/linux/vmalloc.h:4,
                 from /usr/src/linux/include/asm/io.h:102,
                 from ../include/pcmcia/k_compat.h:195,
                 from cs.c:35:
/usr/src/linux/include/linux/sched.h:503: warning: `__set_current_state'
redefined
../include/pcmcia/k_compat.h:180: warning: this is the location of the
previous definition
In file included from /usr/src/linux/include/linux/fs.h:12,
                 from /usr/src/linux/include/linux/tty.h:20,
                 from /usr/src/linux/include/linux/sched.h:21,
                 from /usr/src/linux/include/linux/vmalloc.h:4,
                 from /usr/src/linux/include/asm/io.h:102,
                 from ../include/pcmcia/k_compat.h:195,
                 from cs.c:35:
/usr/src/linux/include/linux/wait.h:19: redefinition of
`wait_queue_head_t'
../include/pcmcia/k_compat.h:61: `wait_queue_head_t' previously declared
here
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for
.modinfo
make[1]: *** [cs.o] Error 1
make[1]: Leaving directory
`/usr/src/linux-2.2.17/pcmcia-cs-3.1.15/modules'
make: *** [all] Error 2
[root@quipu pcmcia-cs-3.1.15]# rpm -qa | grep pcmcia
kernel-pcmcia-cs-2.2.17-21mdk

I tried to compile the package with different configuration options, but
the error is always the same. I tried also different pcmcia packages,
without luck.

Please help! I am leaving for a trip in a few days; I really need the
network card working, and my only chance is to "downgrade" the pcmcia
package to 3.1.15 (or upgrade if D. Hinds solves the problem meanwhile).

Thanks,
        Massimo

________________________________________________________________________
Massimo-Marengo----Harvard-Smithsonian-CfA--------tel:+1-617-495-2818---
[EMAIL PROTECTED]:+1-617-496-7969___


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to