Please excuse the length of this, but I figure the more I give you, the less my inexperience will confuse both of us !
Here is the .config file generated:
----------------------
CONFIG_PCI=n
#PCMCIA Drivers
CONFIG_PCMCIA=y
CONFIG_PCMCIA_502A=n
CONFIG_PCMCIA_3COM=y
CONFIG_PCMCIA_502AD=n
CONFIG_PCMCIA_502AE=n
CONFIG_PCMCIA_504=n
CONFIG_PCI_506=n
#USB Drivers
CONFIG_USB=n
CONFIG_USB_503A_RFMD=n
CONFIG_USB_505=n
#Applications Configuration
CONFIG_APPS=y
CONFIG_CMD_LINE=y
CONFIG_XAPP=n
DEBUG=
CONFIG_MODVERSIONS=y
# runtime variables. Generated by setup.sh
KERNEL_SRC =
HAS_FORMS = n
PCMCIA_CONFIG = /etc/pcmcia
PCMCIA_SRC =
PCI_DES = /lib/modules/2.4.20-9/kernel/drivers/net
PCMCIA_DES = /lib/modules/2.4.20-9/pcmcia
USB_DES = /lib/modules/2.4.20-9/kernel/drivers/usb
USB_CONFIG = /etc/hotplug
MAN_PATH = /usr/share/man/man1
----------------------------------------
here is the output of the 'make all':
---------------------------
[root@localhost atmelwlandriver-2.1.1]# make all > /mnt/FAT32/atmel-make.txt
<command line>:137890791:3056: /include/linux/modversions.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:43,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:43,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:43,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:43,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:43,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:51:25: asm/uaccess.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:56:28: pcmcia/version.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:57:29: pcmcia/cs_types.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:58:23: pcmcia/cs.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:59:27: pcmcia/cistpl.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:60:27: pcmcia/cisreg.h: No such file or directory
/root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:61:23: pcmcia/ds.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:66,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:66,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:57: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only once/usr/include/asm/pgalloc.h:59: for each function it appears in.)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before ')' token
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:109: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this function)
In file included from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:66,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:100: parse error before "spinlock_t"
/usr/include/linux/skbuff.h:120: parse error before "atomic_t"
/usr/include/linux/skbuff.h:124: parse error before '}' token
/usr/include/linux/skbuff.h:183: parse error before "atomic_t"
/usr/include/linux/skbuff.h:215: parse error before '}' token
In file included from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet_linux.h:86,
from /root/atmelwlandriver-2.1.1/src/includes/pcmcia/vnet.h:28, from card.c:23:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make[3]: *** [card.o] Error 1
make[2]: *** [3COM] Error 2
make[1]: *** [all] Error 2
[root@localhost atmelwlandriver-2.1.1]#
------------------------------------------
It seems at lot is generation 'warnings'. I don't know which are important, and which may point to differences in distros, or depreciated features.
Getting the source from the CVS, and modifying it to suit, and recompiling is probably beyond me