Build problems w/Mandrake 7.0 GPL

Christian Convey cconvey@home.com
Thu Mar 2 21:19:11 2000


Hello all,
Newbie problem (I hope)...

I've just installed Mandrake 7.0 GPL version, and am trying to build the
file:
   ftp://cesdis.csfc.nasa.gov/pub/linux/drivers/test/eepro100.c

The version string in the file begins with the text:
  "eepro100.c:v1.09t 9/29/99 Donald Becker

I try to build it with the command:
   gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -O6
-c driver.c

When I try to build, I get tons of build errors. The beginning of the
error output looks like the following. Has anyone seen this before, or
can anyone recommend a way around it?

Thanks for any help you can provide,
Christian Convey







In file included from /usr/include/linux/sched.h:20,
                 from /usr/include/linux/mm.h:4,
                 from /usr/include/linux/slab.h:14,
                 from /usr/include/linux/malloc.h:4,
                 from eepro100.c:95:
/usr/include/linux/smp.h:77: warning: `smp_num_cpus' redefined
/usr/include/linux/modules-secure/i386_ksyms.ver:72: warning: this is
the location of the previous definition
/usr/include/linux/smp.h:83: warning: `smp_call_function' redefined
/usr/include/linux/modules-secure/i386_ksyms.ver:98: warning: this is
the location of the previous definition
In file included from /usr/include/linux/sched.h:74,
                 from /usr/include/linux/mm.h:4,
                 from /usr/include/linux/slab.h:14,
                 from /usr/include/linux/malloc.h:4,
                 from eepro100.c:95:
/usr/include/asm/processor.h:96: warning: `cpu_data' redefined
/usr/include/linux/modules-secure/i386_ksyms.ver:62: warning: this is
the location of the previous definition
In file included from /usr/include/linux/interrupt.h:51,
                 from eepro100.c:96:
/usr/include/asm/hardirq.h:23: warning: `synchronize_irq' redefined
/usr/include/linux/modules-secure/i386_ksyms.ver:78: warning: this is
the location of the previous definition
In file included from /usr/include/linux/interrupt.h:52,
                 from eepro100.c:96:
/usr/include/asm/softirq.h:72: warning: `synchronize_bh' redefined
/usr/include/linux/modules-secure/i386_ksyms.ver:80: warning: this is
the location of the previous definition
In file included from /usr/include/linux/string.h:37,
                 from eepro100.c:91:
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-eepro100-request@beowulf.org