My LAN card driver compiles perfectly under Mandrake 6.0. No errors. No Warnings. When I try to compile the exact same driver under 7.0 I get a gazillion errors! WTF?! The driver is the winbond-840 driver found at: ftp://cesdis.gsfc.nasa.gov/pub/linux/drivers/test/winbond-840.c ./maketulip In file include from /usr/include/linux/fs.h:270, from /usr/include/linux/capability.h:13, from /usr/include/linux/binfmts.h:5, from /usr/include/linux/sched.h:8, from /winbond-840.c:118: /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 `:' [SNIP] At the bottom of the driver file are several lines that is used to compile the file. I used this one: gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c winbond-840.c [ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` Like I said before, this driver compiles perfectly under 6.0. Thanks.
