Hello: I am trying to compile the Linux 3Com network adapter driver, 3c59x.c, version 0.99H without success. The distribution is SuSE 5.2 with standard kernel 2.0.33. The compiler is gcc version 2.7.2.1. Driver 3c59x.c, version 0.49J, 2/7/98--the driver native to this distribution-- compiles without difficulty. Version 0.99H, 11/17/98, of the driver always fails to compile. This is the compile command I am using. Verbose mode is on. Can anyone interpret these messages and give me a clue where the problem may be? gcc -DMODULE -D__KERNEL__ -v -o6 -c 3c59x.c Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs gcc version 2.7.2.1 /usr/lib/gcc-lib/i486-linux/2.7.2.1/cpp -lang-c -v -undef -D__GNUC__=2 -D__G NUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__ -D__i386_ _ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix) -Asystem(posix) -Ac pu(i386) -Amachine(i386) -D__i486__ -DMODULE -D__KERNEL__ 3c59x.c /tmp/cca00400.i GNU CPP version 2.7.2.1 (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/i486-linux/include /usr/lib/gcc-lib/i486-linux/2.7.2.1/include /usr/include End of search list. /usr/lib/gcc-lib/i486-linux/2.7.2.1/cc1 /tmp/cca00400.i -fno-strength-reduce -quiet -dumpbase 3c59x.c -version -o /tmp/cca00400.s GNU C version 2.7.2.1 (i386 Linux/ELF) compiled by GNU C version 2.7.2.1. 3c59x.c:94: parse error before `<' gcc -DMODULE -D__KERNEL__ -v -o6 -c 3c59x.cgcc -DMODULE -D__KERNEL__ -v -o6 -c 3c59x.c: In function `vortex_probe1': 3c59x.c:879: stray '\' in program 3c59x.c:879: parse error before `;' 3c59x.c:926: `mii_preamble_required' undeclared (first use this function) 3c59x.c:926: (Each undeclared identifier is reported only once 3c59x.c:926: for each function it appears in.) 3c59x.c: In function `mdio_read': 3c59x.c:2047: `mii_preamble_required' undeclared (first use this function) 3c59x.c: In function `mdio_write': 3c59x.c:2079: `mii_preamble_required' undeclared (first use this function) Bill Parker, <[EMAIL PROTECTED]> The HURD. 'Hurd' stands for `Hird of Unix-Replacing Daemons'. And, then, `Hird' stands for `Hurd of Interfaces Representing Depth'. -- To get out of this list, please send email to [EMAIL PROTECTED] with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html
