Re: [opensuse] Error when making tg3 from source



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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • input method on fc3?
    ... FC3 and soundcard ... >> without problems and sound works fine. ... What modules were loaded with kernel ... I can install and configure samba on Linux as easily as I can install ...
    (Fedora)
  • Fedora Core 2, Averatec 3220 notebook
    ... I recently bought an Averatec 3220 notebook computer and have spent some ... Following is a detailed "howto" guide for installing Linux (Fedora Core ... Linux distro, which is easy to install and use, and for lots of answers ... We need one because the default Fedora Core kernel doesn't grok NTFS ...
    (Fedora)
  • Re: install woes
    ... looking at the Fedora 9 64bit DVD: ... I'd try the acpi=off, but I didn't need any boot options, as far as I remember ... appended the kernel, probably post-install. ... but on attempting to install, it freezes up at the test media screen. ...
    (Fedora)
  • Yum upgrade from F8 to F8 with KDE desktop - installation notes
    ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... relevant info to do a yum upgrade a bit daunting. ... Use your preferred method to install the above file: ...
    (Fedora)
  • Yum upgrade from F8 to F9 with KDE desktop - installation notes
    ... nVidia drivers from Freshrpms, and I had to install the latest nVidia driver ... kernel in step 5; once I did that, the dkms package (which gets installed from ... Use your preferred method to install the above file: ...
    (Fedora)