Re: Can't compile with kernel 2.6.7
Joerg Albert <[email protected]> Thu, 19 Aug 2004 21:10:30 +0200 (CEST)
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Johannes, On Thu, 19 Aug 2004, Johannes Bauer wrote: > I got the at76c503a driver sources from cvs as described in > http://at76c503a.berlios.de/cvs.html, but I can't compile it. I get > loads of error messages, most of the type > > include/linux/skbuff.h:571: error: dereferencing pointer to incomplete type > > or > > include/linux/uio.h:46: Warnung: return type defaults to `int' > > These are only examples, I would guess there are several hundred errors. > > My setup: > Debian Sarge, kernel-image 2.6.7-1-k7 > kernel-source 2.6.7 installed, no patches > /lib/modules/2.6.7-1-k7/build points to /usr/src/kernel-source-2.6.7 > > What am I doing wrong? no clue. I've just pulled the sources from cvs by anonymous access and compiled them successfully with gcc 2.95.4 and 3.3 for kernels 2.6.7 and 2.6.8.1. Is this your first run or have you compiled an older driver version before? Please post the _first_ 10-20 warnings and error lines from the make run, errors from the middle won't give any information. /Jörg