[ Next-in-Thread ]  [ Next Message ] 

Sad: pcmcia-cs-3.1.13 doesn't compile on 2.3.99-pre3 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Apr 09
From: Sean Harding sharding

pcmcia-cs-3.1.13 fails to compile on linux 2.3.99-pre3 for me. It bombs out in 3c575_cb.c with these errors:

cc -MD -c -O2 -I../include -I/usr/src/linux/include -D__KERNEL__ -DEXPORT_SYMTAB -DMODULE -DCARDBUS 3c575_cb.c In file included from /usr/src/linux/include/asm/hardirq.h:5, from /usr/src/linux/include/linux/interrupt.h:44, from 3c575_cb.c:76: /usr/src/linux/include/linux/irq.h:52: requested alignment is not a constant In file included from /usr/src/linux/include/linux/interrupt.h:44, from 3c575_cb.c:76: /usr/src/linux/include/asm/hardirq.h:12: requested alignment is not a constant In file included from 3c575_cb.c:76: /usr/src/linux/include/linux/interrupt.h:152: requested alignment is not a constant In file included from 3c575_cb.c:78: /usr/src/linux/include/linux/netdevice.h:150: requested alignment is not a constant In file included from 3c575_cb.c:78: /usr/src/linux/include/linux/netdevice.h:433: requested alignment is not a constant make[1]: *** [3c575_cb.o] Error 1 make[1]: Leaving directory `/usr/src/pcmcia-cs-3.1.13/clients' make: *** [all] Error 2

I dug around and couldn't find the problem. I found some stuff on Deja about this error when some of the kernel source files didn't include linux/cache.h (where SMP_CACHE_BYTES and friends are defined). But the important files all seemed to have that include, and the constants look to be defined. So I'm stuck.

Any ideas?

[ Next-in-Thread ]  [ Next Message ] 

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

1. This is fixed in the current beta for 3.1.14 by David Hinds, 2000, Apr 10

[ Add Message ]  to: "pcmcia-cs-3.1.13 doesn't compile on 2.3.99-pre3"

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