On Wednesday 31 October 2007 02:15:48 pm Anders Johansson wrote:
On Wednesday 31 October 2007 22:07:38 Ben Kevan wrote:
Here I get:
tg3-3.81c> make make -C /lib/modules/2.6.23.1-185-default/build SUBDIRS=/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c modules make[1]: Entering directory `/usr/src/linux-2.6.23.1-185-obj/i386/default' make -C ../../../linux-2.6.23.1-185 O=../linux-2.6.23.1-185-obj/i386/default modules CC [M] /home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.o /home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.c:9751: error: unknown field ‘get_perm_addr’ specified in initializer /home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.c:9751: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function) make[4]: *** [/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c/tg3.o] Error 1 make[3]: *** [_module_/home/bkevan/Apps/Broadcom/Server/Linux/Driver/tg3-3.81c] Error 2 make[2]: *** [modules] Error 2 mke[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.23.1-185-obj/i386/default' make: *** [default] Error 2
ethtool is installed
But the field was removed from the kernel structure
If you are going to be building the very latest drivers against the very latest kernels, shouldn't you be asking these questions either on lkml or on opensuse-kernel?
Actually, since the problem is that the tg3 driver hasn't been ported to the latest kernel, you should probably be talking to Broadcom
Anders
-- Madness takes its toll
Anders, I lied, using make and KVER it failed, but when actually logged into the 2.6.22.9-0.4 it worked.. guessing I may have forgotten -default when building using kver. Sorry about that.. Also, the kernel I was logged into wasn't vanilla, it was actually from head (I decided to install from head to show someone how to do it and decided to just keep it). Ben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org