lkml.org 
[lkml]   [2008]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drivers/net/r8169.ko] undefined!
From
Hi,
I think I have figured out what happened here. I updated sources from
2.6.27.4 to 2.6.27.6 (skipping 2.6.27.5). Then I ran

make oldconfig; make

and got the error message

[snip]
  BUILD   arch/x86/boot/bzImage
Root device is (8, 5)
Setup is 12524 bytes (padded to 12800 bytes).
System is 1902 kB
CRC 94b83bc6
Kernel: arch/x86/boot/bzImage is ready  (#2)
  Building modules, stage 2.
  MODPOST 507 modules
ERROR: "mii_ethtool_gset" [drivers/net/r8169.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

The next step I made was to include the driver for the network device
(SiS190/SiS191 gigabit ethernet support). Then if I look at the output
of make, this forced mii.c to be compiled

scripts/kconfig/conf -s arch/x86/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  VDSOSYM arch/x86/vdso/vdso-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD      arch/x86/vdso/built-in.o
  CC [M]  drivers/net/sis190.o
  CC [M]  drivers/net/mii.o
  LD      vmlinux.o
  MODPOST vmlinux.o
[snip]

Now the kernel builds fine. So in conclusion, it seems that there is a
dependency byr8169on mii.o which is not set correctly during the
build process if no other module depends on it.

Manuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-11-14 15:35    [W:0.027 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site