[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking fails
野口と申します.
久々にhpcmipsをセットアップしようと思い,NetBSD/i386のクロス環境で
カーネルをmakeしたところ,リンク時に下に添付したようなログを出して
最後まで通りませんでしたが,どこが悪いかアドバイス頂ければと思います.
クロスの環境が載っているNetBSD/i386は1ヶ月ほど前の時点でのsnapshot
をインストールしたものです.
そこから/usr/sbin/config,/usr/bin/makeはCVSでほぼ最新版にしてあります.
あと,コンパイルしたカーネルのソースは12/26未明にCVS updateしたものです.
--------------------------------
Hiroshi Noguchi (野口 宏)
E-mail: ngc@ff.iij4u.or.jp
http://www.ff.iij4u.or.jp/~ngc/
**********************************************************
+ exec make
making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.a' is up to date.
/usr/pkg/cross/bin/mipsel-netbsd-ld -T ../../../../arch/mips/conf/kern.ldscript -Ttext 0x80030000 -e start -EL -G 18 --oformat elf32-littlemips -x -o netbsd ${SYSTEM_OBJ} vers.o
aic6360.o: In function `aic_reselect':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/ic/aic6360.c(.text+0xdc8): undefined reference to `ffs'
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/ic/aic6360.c(.text+0xdc8): relocation truncated to fit: R_MIPS_26 ffs
ncr53c9x.o: In function `ncr53c9x_reselect':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/ic/ncr53c9x.c(.text+0x227c): undefined reference to `ffs'
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/ic/ncr53c9x.c(.text+0x227c): relocation truncated to fit: R_MIPS_26 ffs
kern_sig.o: In function `issignal':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/kern_sig.c(.text+0x1930): undefined reference to `ffs'
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/kern_sig.c(.text+0x1930): relocation truncated to fit: R_MIPS_26 ffs
subr_pool.o: In function `pool_init':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/subr_pool.c(.text+0x13c): undefined reference to `ffs'
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/subr_pool.c(.text+0x13c): relocation truncated to fit: R_MIPS_26 ffs
sys_generic.o: In function `selscan':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/sys_generic.c(.text+0x136c): undefined reference to `ffs'
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../kern/sys_generic.c(.text+0x136c): relocation truncated to fit: R_MIPS_26 ffs
msdosfs_fat.o(.text+0x5e8):/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c: more undefined references to `ffs' follow
msdosfs_fat.o: In function `updatefats':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c(.text+0x5e8): relocation truncated to fit: R_MIPS_26 ffs
msdosfs_fat.o: In function `chainlength':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c(.text+0xea4): relocation truncated to fit: R_MIPS_26 ffs
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c(.text+0xed4): relocation truncated to fit: R_MIPS_26 ffs
msdosfs_fat.o: In function `clusteralloc':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c(.text+0x1100): relocation truncated to fit: R_MIPS_26 ffs
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_fat.c(.text+0x119c): relocation truncated to fit: R_MIPS_26 ffs
msdosfs_vfsops.o: In function `msdosfs_mountfs':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_vfsops.c(.text+0xd10): relocation truncated to fit: R_MIPS_26 ffs
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../msdosfs/msdosfs_vfsops.c(.text+0xd38): relocation truncated to fit: R_MIPS_26 ffs
nfs_vfsops.o: In function `mountnfs':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../nfs/nfs_vfsops.c(.text+0x1934): relocation truncated to fit: R_MIPS_26 ffs
ffs_vfsops.o: In function `ffs_mountfs':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../ufs/ffs/ffs_vfsops.c(.text+0x1184): relocation truncated to fit: R_MIPS_26 ffs
scsipi_base.o: In function `scsipi_get_tag':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/scsipi/scsipi_base.c(.text+0x3d8): relocation truncated to fit: R_MIPS_26 ffs
disksubr.o: In function `setdisklabel':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../arch/hpc/hpc/disksubr.c(.text+0x5bc): relocation truncated to fit: R_MIPS_26 ffs
wsmouse.o: In function `wsmouse_input':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../dev/wscons/wsmouse.c(.text+0x6c0): relocation truncated to fit: R_MIPS_26 ffs
isa_machdep.o: In function `isa_intr_alloc':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../arch/hpcmips/isa/isa_machdep.c(.text+0x32c): relocation truncated to fit: R_MIPS_26 ffs
clock.o: In function `cpu_initclocks':
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../arch/hpcmips/hpcmips/clock.c(.text+0xc4): relocation truncated to fit: R_MIPS_26 ffs
/usr/src/sys/arch/hpcmips/compile/MG2/../../../../arch/hpcmips/hpcmips/clock.c(.text+0xd0): relocation truncated to fit: R_MIPS_26 ffs
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/hpcmips/compile/MG2