Do not write directly - all traffic should go into the mailing list archive.. That's very selfish behavior. I do not work for you and I'll have to charge you on private consultancy rate for that.
Your kernel headers do not match your kernel. (supposedly 2.6.30), nothing to do with
--- On Thu, 30/7/09, acid-burn <acid-burn@...> wrote:
> thought i write you directlyand not bother the list with
> compile problems..
> i am currently trying to compile the 3.0 src with your
> I get a bunch of warnings about undefined things and
> Could this be related on the used gcc compiler ?
> I have to use gcc-4.4.0
> Perhaps you have an idea ?
--- On Thu, 30/7/09, Hin-Tak Leung <hintak_leung@...> wrote:
> --- On Thu, 30/7/09, Mladen Horvat
> > Ok, finally managed with the help of a friend to
> > the vender driver
> > 220.127.116.11 with the mips 2.6.30 kernel i use here.
> > Here is a patch that was needed to get it finally
> > under 2.6.30.
> > http://pastebin.com/m17687d4e
> Hmm, the net_ops is new and should only generates a warning
> with vanilla 2.6.30 . Your kernel source tree is not vanilla
> 2.6.30, is it? If you need the net_ops change, your tree is
> probably closer to 2.6.31 rcX . (since it generates a
> warning on ifconfig up, I know about it and it is just not
> urgent/immediate yet in 2.6.30)
I went and looked at the git log detail of the net_device_ops change (
Author: Stephen Hemminger <shemminger@...>
Date: Wed Nov 19 21:32:24 2008 -0800) and it was introduced in 2.6.28, actually. But we are both right! The change allows for optional backward compatibility, while emitting a warning. The default is yes: CONFIG_COMPAT_NET_DEV_OPS/COMPAT_NET_DEV_OPS=y .
So I left it at 'yes' (fedora 11 vendor kernel in one of my boxes, custom kernel on the other box, but I normally just do 'make oldconfig', so I inherited the default) in both of my boxes.
It seems that you have opted for 'no' manually, so you needed to migrate to the net_device_ops api structure right away. Interesting differences - same source tree, just different kernel build options. Mystery solved. :-)