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?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 2, 2010, at 3:05 PM, Hisashi T Fujinaka wrote:

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

Turns out the problem is the ukphy driver which shouldn't be needed for KRUPS anyway ( it's got a PCI HME which should use nsphy IIRC )

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTAavrspnzkX8Yg2nAQK7UQf/SSJNCj+zaYO9RH/yMshMXfB5P6iOj8kv
wed5O1qdQRjBC80Ym0zZKi2nDhDmclbT1Q+hGuZf3jtXZ1PXkeE9CMdNsX2JjHjz
+Plj6fXYIkHvx4i5CjxEsbMkJzST6Pmcrsxr1Ik2wVR1H1wUKwW0eOpUju/0EW9b
ZeysqdfppJYidk2x21S0adZO8oxMLI2mLYoTMul8shzYDv6Mwa4kqeWaIFr04V6a
VSM6+FtFl6tRTrVWciLRikO/VJVucNqd4cpOY7exkP5cy5ew8i8epARFD6+W3sPG
PI7omA8TqNcl6zU93bVYU8fUnZQRneSeZJC25tP2vzF5QqFZbWd3hg==
=R91f
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index