[Suzaku:00840] Re: uClinux-distのmake dep all でエラー

Tetsuya OHKAWA email@hidden
2007年 3月 15日 (木) 21:58:36 JST


大川です。

詳細なレポートありがとうございます。

1番気になっているのは、以下のメッセージです。
「mb-gcc: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
mb-gcc) 」

以下の実行結果を報告して頂くことは可能でしょうか?
$ ls -l /lib/libc*

また、coLinuxのインストール時に
『SUZAKUスターターキットガイド(Linux開発編)』 ver 1.2.1 の
「3.1.2. 環境構築用ファイルの準備」に記載されていますファイルは、
付属CDまたは弊社ダウンロードサイトのものをご利用頂いたということで
間違いないでしょうか?

なお、共通ソフトウェアのインストールが行なわれているかは、
$ dpkg -l file
のようにして確認できます。

Yasuhiko Ito wrote:
> お世話になります、伊藤と申します
> ハードを扱っておりますが、Linuxは初心者のためエラーの意味が
> 解らず、お手上げとなってしまいました、よろしくお願いします。
>
> starter_kit_guide_linux1.2.1に従いましてcoLinux0.6.4.exeをインストールし
> uClinux-dist-20051110-suzaku8のビルドを行いましたが、
> エラーが発生しました。エラーログを以下に示します。
> OSはWinXP sp2です。
>
> PC~$ make dep all 実行時の表示
> make ARCH=microblaze CROSS_COMPILE=mb- -C linux-2.4.x dep
> mb-gcc: /lib/libc.so.6: version `GLIBC_2.3' not found (required by mb-gcc)
> make[1]: Entering directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x'
> rm -f .depend .hdepend
> make _sfdep_arch/microblaze/kernel _sfdep_arch/microblaze/mm
> _sfdep_arch/microblaze/lib _sfdep_arch/microblaze/xilinx_ocp
> _sfdep_arch/microblaze/platform/suzaku _sfdep_kernel _sfdep_drivers
> _sfdep_mmnommu _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_crypto
> _sfdep_arch/microblaze/common
> _FASTDEP_ALL_SUB_DIRS="arch/microblaze/kernel arch/microblaze/mm
> arch/microblaze/lib arch/microblaze/xilinx_ocp
> arch/microblaze/platform/suzaku kernel drivers mmnommu fs net ipc lib
> crypto arch/microblaze/common"
> mb-gcc: /lib/libc.so.6: version `GLIBC_2.3' not found (required by mb-gcc)
> make[2]: Entering directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x'
> make -C arch/microblaze/kernel fastdep
> make[3]: Entering directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x/arch/microblaze/kernel'
> /home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x/scripts/mkdep
> -D__KERNEL__
> -I/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -DPLATFORM=suzaku -O2 -fno-builtin -DNO_MM -DNO_FPU
> -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__
> -I/include -mxl-barrel-shift -mno-xl-soft-div -mxl-soft-mul
> -I/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x/arch/microblaze/xilinx_ocp
> -nostdinc -iwithprefix include -- bug.c crtinit.S entry.S exceptions.c
> head.S highres_timer.c hw_exception_handler.S indirect_pci.c
> init_microblaze_timer.c intv.S irq.c mach.c mach.h mbvanilla.c memcons.c
> microblaze.c microblaze_defs.c microblaze_intc.c microblaze_ksyms.c
> microblaze_pci.c microblaze_timer.c pci-dma.c pci.c pci_auto.c process.c
> procfs.c ptrace.c semaphore.c setup.c signal.c syscalls.c time.c
> xmbserial.c xmbserial.h > .depend
> realpath(/include) failed, No such file or directory
> make[3]: *** [fastdep] Error 1
> make[3]: Leaving directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x/arch/microblaze/kernel'
> make[2]: *** [_sfdep_arch/microblaze/kernel] Error 2
> make[2]: Leaving directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x'
> make[1]: *** [dep-files] Error 2
> make[1]: Leaving directory
> `/home/itoy/uClinux-dist-20051110-suzaku8/linux-2.4.x'
> make: *** [dep] Error 2
>
> ツールチェーンへのPATHは通っているようです。
> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/microblaze-elf-tools/bin
>
> apt-get installの結果を示します
>
> fileでは
> Reading Package Lists...
> Building Dependency Tree...
> The following NEW packages will be installed:
> file
> 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 175kB of archives. After unpacking 1016kB will be used.
> Err http://security.debian.org stable/updates/main file 3.37-3.1.woody.1
> Something wicked happened resolving 'security.debian.org:http' (-3)
> Err http://ftp.jp.debian.org stable/main file 3.37-3.1.woody.1
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> Failed to fetch
> http://ftp.jp.debian.org/debian/pool/main/f/file/file_3.37-3.1.woody.1_i386.deb
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> genromfsでは
> Reading Package Lists...
> Building Dependency Tree...
> The following NEW packages will be installed:
> genromfs
> 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 14.7kB of archives. After unpacking 42.0kB will be used.
> Err http://ftp.jp.debian.org stable/main genromfs 0.5.1-1
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> Failed to fetch
> http://ftp.jp.debian.org/debian/pool/main/g/genromfs/genromfs_0.5.1-1_i386.deb
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> libncurses-devでは
> Reading Package Lists...
> Building Dependency Tree...
> Note, selecting libncurses5-dev instead of libncurses-dev
> Sorry, libncurses5-dev is already the newest version.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> perlでは
> Reading Package Lists...
> Building Dependency Tree...
> The following extra packages will be installed:
> perl-modules
> The following NEW packages will be installed:
> perl perl-modules
> 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2444kB of archives. After unpacking 10.9MB will be used.
> Do you want to continue? [Y/n] Err http://security.debian.org
> stable/updates/main perl-modules 5.6.1-8.7
> Something wicked happened resolving 'security.debian.org:http' (-3)
> Err http://ftp.jp.debian.org stable-proposed-updates/main perl-modules
> 5.6.1-8.7
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> Err http://ftp.jp.debian.org stable-proposed-updates/main perl 5.6.1-8.7
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> Failed to fetch
> http://ftp.jp.debian.org/debian/pool/main/p/perl/perl-modules_5.6.1-8.7_all.deb
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> Failed to fetch
> http://ftp.jp.debian.org/debian/pool/main/p/perl/perl_5.6.1-8.7_i386.deb
> Something wicked happened resolving 'ftp.jp.debian.org:http' (-3)
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> zlib1g-devでは
> Reading Package Lists...
> Building Dependency Tree...
> Sorry, zlib1g-dev is already the newest version.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> 以上、長々とした文ですみません。
> エラーの解消法をご教授いただきたく
> よろしくお願い申し上げます。
>
>   




suzaku メーリングリストの案内