On Wed, 15 Mar 2006 07:27:59 +0100 Andreas Billmeier <b,AT,edevau,DOT,net>
wrote:
>
> Hi,
>
> can't compile on:
>
> Linux 2.6.15.5-3w #2 SMP Sat Mar 4 15:00:12 CET 2006 x86_64
> x86_64 x86_64 GNU/Linux, Opensuse10.
>
> I already applied the 2.6.14 patch from Dick St.Peters,
> which fixed a coupled of other errors.
Me again,
sorry for my question, fixed it already
though i don't talk C, this was really easy.
Perhaps somebody talking C should have a look on it....
> CC [M] /usr/src/cipe-1.6.0/2.6.15.5-3w-x86_64-SMP-cb/output.o
/usr/src/cipe-1.6.0/2.6.15.5-3w-x86_64-SMP-cb/output.c:287: warning:
format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
Changed the format string in line 287 to
if (length-skb->len > skb->end-skb->tail) {
printk(KERN_ERR "%s: tailroom problem line 287", dev->name);
goto tx_error;
}
> include/linux/byteorder/little_endian.h:80: error: previous definition of
> ‘__be32_to_cpup’ was here
> include/linux/byteorder/little_endian.h:56: error: previous definition of
> ‘__le32_to_cpup’ was here
Removed both functions from bf.c
Don't understand why the '#IFNDEF' didn't do it,
but afterwards the driver compiled nice and seems to work.
\B.