Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Anyone else having troubles cross-compiling sparc-current?



On Wed, 2 Jun 2010, Michael wrote:

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?

Actually, this is just for "KRUPS" in a regular build. The command line
is:

/usr/src/build.sh -j4 -m sparc -T /usr/cross/sparc -U -u distribution release 
iso-image

--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index