pcmcia-3.2.8 and linux-2.6.13-rc1?
Steven Scholz
steven.scholz at imc-berlin.de
Tue Jul 5 09:48:42 EDT 2005
Hi there,
pcmcia-cs-3.2.8 (or at least its cardmgr) won't compile with linux-2.6.13-rc1.
Reason:
include/linux/mod_devicetable.h reads
#ifdef __KERNEL__
#include <linux/types.h>
typedef unsigned long kernel_ulong_t;
#endif
This file is included by include/pcmcia/ds.h which is included directly by
cardmgr.c et.al. Since they're are not compiled with __KERNEL__
linux/types.h is not included and kernel_ulong_t not defined. Thus I get the
compile errors
In file included from /XXX/linux-2.6.13-rc1-at91-multiIO/include/pcmcia/ds.h:22,
from cardmgr.c:57:
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:24:
error: parse error before "kernel_ulong_t"
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:24:
warning: no semicolon at end of struct or union
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:39:
error: parse error before "kernel_ulong_t"
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:39:
warning: no semicolon at end of struct or union
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:102:
error: parse error before "__u16"
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:102:
warning: no semicolon at end of struct or union
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:105:
warning: type defaults to `int' in declaration of `idVendor'
/XXX/linux-2.6.13-rc1-at91-multiIO/include/linux/mod_devicetable.h:105:
warning: data definition ha
...
--
Steven
More information about the linux-pcmcia
mailing list