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

[pbsd-mg2] kernel buiding failed



のぐちです.

すみません,コンソールのログを雑に貼りつけていますが...


ようやくkernelをbuildしようというところまでこぎつけました.
ソースコードは,鈴木さんがwebで公開して下さっているうち,
sysのソースに6/10までの更新分を入れた状態です.
# CVSはまだ未整備

configファイル"RAMDISK"でとりあえずやってみました.


$CRS/bin/config RAMDISK を実行してから...

$CRS/bin/make depend としたところで以下のようになってコケました.

===== ここから

{np10}/usr/local/mipsel-netbsd/sys/arch/hpcmips/compile/RAMDISK[45]$CRS/bin/make depend
$CRS/bin/make depend
depending the kern library objects
mkdep -a -I/usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DMIPS3_FLUSH -DMIPS3 -DNKMEMCLUSTERS=1024 -DHPCMIPS_PGSIZE_16K -DFIFO -DMULTICAST -DMINIROOTSIZE=0xb40 -D__NO_SOFT_SERIAL_INTERRUPT -DMAXUSERS=8 -D_KERNEL -Dhpcmips -D__hpcmips__ -DPIC -DABICALLS /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/byte_swap_2.S /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/byte_swap_4.S /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/memcpy.S /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/strlen.S /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/strcmp.S
In file included from /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/memcpy.S:5:
../.././mips/asm.h:88: warning: `_C_LABEL' redefined
../.././mips/cdefs.h:45: warning: this is the location of the previous definition
In file included from ../.././mips/endian.h:85,
                 from ../.././machine/endian.h:7,
                 from /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/memcpy.S:6:
../../../../../../sys/cdefs.h:172: #error "No function renaming possible"
In file included from /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/strlen.S:3:
../.././mips/asm.h:88: warning: `_C_LABEL' redefined
../.././mips/cdefs.h:45: warning: this is the location of the previous definition
In file included from /usr/local/mipsel-netbsd/sys/lib/libkern/arch/mips/strcmp.S:3:
../.././mips/asm.h:88: warning: `_C_LABEL' redefined
../.././mips/cdefs.h:45: warning: this is the location of the previous definition
mkdep: compile failed
*** Error code 1

Stop.
*** Error code 1

Stop.
===== ここまで


その後,ダメもとで $CRS/bin/make したところ,ひとまずコンパイルは始まったのですが,
最後(?)の部分で以下のようになって,やはりコケました.

==== ここから
   << 省略 >>
sh ../../../../conf/newvers.sh
/usr/local/mipsel-netbsd/bin/gcc -msoft-float  -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized -Wpointer-arith -G 0  -mno-abicalls -mno-half-pic -I. -I../../../../arch -I../../../.. -nostdinc -DMIPS3_FLUSH -DMIPS3 -DNKMEMCLUSTERS=1024 -DHPCMIPS_PGSIZE_16K -DFIFO -DMULTICAST -DMINIROOTSIZE="0xb40" -D__NO_SOFT_SERIAL_INTERRUPT -DMAXUSERS=8 -D_KERNEL -Dhpcmips -D__hpcmips__  -c vers.c
/usr/local/mipsel-netbsd/bin/ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
size: netbsd: not in a.out format
*** Error code 1

Stop.
{np10}/usr/local/mipsel-netbsd/sys/arch/hpcmips/compile/RAMDISK[49]
==== ここまで


これで手も足も出ずに止まっている状況です.
アドバイスよろしくお願いします.


--------------------------------
Hiroshi Noguchi (野口  宏)
E-mail: noguchi@npost1.netspace.or.jp
http://member.nifty.ne.jp/driver/