problem with 3c90x drivers
Martin Siegert
siegert@sfu.ca
Fri Dec 17 16:04:12 1999
Hi there:
I have problems with the installation of the 3c90x drivers. I downloaded the
3c90x-1.0.0e.tar.gz package from the 3Com site and tried to compile it
according to their instructions in the README:
Building a loadable module:
---------------------------
To build the 3c90x driver as a loadable module, compile the 3c90x.c
source file with the following command:
gcc -c 3c90x.c -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer \
-fno-strength-reduce -pipe -m486 -malign-loops=2 \
-malign-jumps=2 -malign-functions=2 -DCPU=486 \
-DMODULE -D__KERNEL__ -DMODVERSIONS -D__SMP__
This generates about 1000 lines of error messages starting with
In file included from /usr/include/linux/fs.h:263,
from /usr/include/linux/capability.h:13,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:8,
from 3c90x.h:36,
from 3c90x.c:1:
/usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t'
/usr/include/linux/hpfs_fs_i.h:5: warning: no semicolon at end of struct or union
/usr/include/linux/hpfs_fs_i.h:12: parse error before `:'
In file included from /usr/include/linux/fs.h:265,
from /usr/include/linux/capability.h:13,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:8,
from 3c90x.h:36,
from 3c90x.c:1:
/usr/include/linux/msdos_fs_i.h:36: parse error before `off_t'
/usr/include/linux/msdos_fs_i.h:36: warning: no semicolon at end of struct or union
...
I have tried this with kernel-headers from the 2.2.5 kernel (redhat 6.0),
2.2.12 (redhat 6.1), and 2.2.13 (kernel source). With identical results.
What am I missing?
I'm really out of ideas now :-(
Any suggestions are appreciated. Thanks a lot in advance.
Cheers, Martin
========================================================================
Martin Siegert
Academic Computing Services phone: (604) 291-4691
Simon Fraser University fax: (604) 291-4242
Burnaby, British Columbia email: siegert@sfu.ca
Canada V5A 1S6
========================================================================