[opensuse] Error when making tg3 from source
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 Ben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
Whoops, I didn't even realized I was booted into 2.6.23, I get the same behavior in 2.6.22.0-0.4. I know that tg3 should be built in and it's running but the next source was released a few days ago and I wanted to compile it to see if an issue I was experiencing was fixed. What is the issue you ask? On my broadcom card for some reason the first up (using networkmanager) just gets an apipa address. When I re-initialize it gets an IP and all is good. I've only checked this behavior at work since at home I use Wireless, but maybe i'll check it out at other wired sources. Ben -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
participants (2)
-
Anders Johansson
-
Ben Kevan