On Jun 2, 2010, at 2:01 PM, Hisashi T Fujinaka wrote:
--- vfs_syscalls_40.o ---
# compile compat/vfs_syscalls_40.o
/usr/cross/sparc/bin/sparc--netbsdelf-gcc -mno-fpu -ffreestanding
-fno-zero-initialized-in-bss -Os -std=gnu99 -fno-strict-aliasing
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-
qual
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -Werror -I../../.
-I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys
-nostdinc -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc/
string
-c /usr/src/sys/compat/common/vfs_syscalls_40.c -o
vfs_syscalls_40.o
--- kern-KRUPS ---
mii_verbose.o: In function `miiverbose_modcmd':
mii_verbose.c:(.text+0x20): undefined reference to `mii_get_descr'
mii_verbose.c:(.text+0x34): undefined reference to `mii_get_descr'
mii_verbose.c:(.text+0x38): undefined reference to `mii_get_descr'
mii_verbose.c:(.text+0x40): undefined reference to
`mii_get_descr_stub'
mii_verbose.c:(.text+0x48): undefined reference to
`mii_get_descr_stub'
mii_verbose.c:(.text+0x50): undefined reference to `mii_get_descr'
That looks neither crosscompiling nor sparc specific. I just built a
sparc kernel ( on a macppc box ) which does include a hme and
associated phy drivers, sources from yesterday. Do you have options
MIIVERBOSE set?