hi there!

Im trying to build the e100 module on my ubuntu 8.04. (i would like to modify 
them for my special needs further)
I have the source and the headers in /usr/src

First i tried with make, but this gives me the CFLAGS-problem. Google told me 
to use KBUILD_NOPEDANTIC.
But then i get some really weird errors (i would think that the kernel headers 
are some sort of "to new").

It would be really great if you could help me out of this mess.

[EMAIL PROTECTED]:~/e100-3.5.17/src$ uname -r
2.6.24-18-generic

[EMAIL PROTECTED]:/usr/src$ ls -al
total 20
drwxrwsr-x  5 root src  4096 2008-06-10 10:40 .
drwxr-xr-x 12 root root 4096 2008-06-09 11:33 ..
drwxr-xr-x 20 root root 4096 2008-06-09 12:09 linux-headers-2.6.24-18
drwxr-xr-x  6 root root 4096 2008-06-09 12:10 linux-headers-2.6.24-18-generic
drwxr-xr-x 23 root root 4096 2008-06-09 15:53 linux-source-2.6.24

[EMAIL PROTECTED]:~/e100-3.5.17/src$ make
make -C /lib/modules/2.6.24-18-generic/build 
SUBDIRS=/home/valentin/e100-3.5.17/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in 
"/home/valentin/e100-3.5.17/src/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/valentin/e100-3.5.17/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
make: *** [default] Error 2

[EMAIL PROTECTED]:~/e100-3.5.17/src$ sudo make KBUILD_NOPEDANTIC=1
[sudo] password for valentin: 
make -C /lib/modules/2.6.24-18-generic/build 
SUBDIRS=/home/valentin/e100-3.5.17/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
  CC [M]  /home/valentin/e100-3.5.17/src/e100.o
/home/valentin/e100-3.5.17/src/e100.c: In function ‘e100_up’:
/home/valentin/e100-3.5.17/src/e100.c:2087: warning: passing argument 2 of 
‘request_irq’ from incompatible pointer type
/home/valentin/e100-3.5.17/src/e100.c: At top level:
/home/valentin/e100-3.5.17/src/e100.c:2529: error: unknown field 
‘get_perm_addr’ specified in initializer
/home/valentin/e100-3.5.17/src/e100.c:2529: error: ‘ethtool_op_get_perm_addr’ 
undeclared here (not in a function)
/home/valentin/e100-3.5.17/src/e100.c: In function ‘e100_probe’:
/home/valentin/e100-3.5.17/src/e100.c:2639: error: implicit declaration of 
function ‘SET_MODULE_OWNER’
/home/valentin/e100-3.5.17/src/e100.c:2676:49: error: macro "INIT_WORK" passed 
3 arguments, but takes just 2
/home/valentin/e100-3.5.17/src/e100.c:2675: error: ‘INIT_WORK’ undeclared 
(first use in this function)
/home/valentin/e100-3.5.17/src/e100.c:2675: error: (Each undeclared identifier 
is reported only once
/home/valentin/e100-3.5.17/src/e100.c:2675: error: for each function it appears 
in.)
/home/valentin/e100-3.5.17/src/e100.c: In function ‘e100_io_error_detected’:
/home/valentin/e100-3.5.17/src/e100.c:2822: error: implicit declaration of 
function ‘netif_poll_enable’
make[2]: *** [/home/valentin/e100-3.5.17/src/e100.o] Error 1
make[1]: *** [_module_/home/valentin/e100-3.5.17/src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'
make: *** [default] Error 2
[EMAIL PROTECTED]:~/e100-3.5.17/src$ 

Thanks a lot,
Valentin
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel

Reply via email to