Re: [3c509] Compile time error on SuSE 9 with latest netdrivers.tgz file
Donald Becker <[email protected]> Thu, 29 Jan 2004 14:24:01 -0500 (EST)
| Newsgroups | gmane.linux.drivers.vortex.devel,gmane.linux.drivers.3c509.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 28 Jan 2004, Kevin Martin wrote: > To: [email protected] This should be sent to the [email protected] mailing list. > Subject: [3c509] Compile time error on SuSE 9 with latest netdrivers.tgz > file > > SuSE Kernel revision is 2.4.21-166-default. > > I'm receiving the following error when trying to build the latest 3c59x > driver: > > make KERNVER=`uname -r` > cc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 > -I/lib/modules/2.4.21-166-default/build/include/ -pipe > -fno-strength-reduce -DMODVERSIONS -c -o 3c59x.o 3c59x.c > 3c59x.c:600: error: initializer element is not constant > 3c59x.c:600: error: (near initialization for `media_tbl[0].wait') Hmmm, it looks as if you are running a modified kernel. The likely element in common here is 'HZ', which should be defined as a constant in /usr/include/asm/param.h The first few lines of the file should have #ifndef HZ #define HZ 100 #endif -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 914 Bay Ridge Road, Suite 220 Scyld Beowulf cluster systems Annapolis MD 21403 410-990-9993 _______________________________________________ vortex mailing list [email protected] http://www.scyld.com/mailman/listinfo/vortex