[Suzaku:01852] Re: サンプルドライバをmakeすることが出来ません

外崎大輔 email@hidden
2010年 7月 18日 (日) 21:17:24 JST


溝渕様。
外崎です。お礼が遅くなってしまいましたが
ご回答ありがとうございました。

このエラーメッセージを出力している箇所は、
>
> /home/atmark/atmark-dist-20080314/linux-2.6.x/arch/ppc/platforms/4xx/xparameters/xparameters.h
> の109行目です。
>
> ここを通るのは、atmark-distが適切にコンフィギュレーションされていない場
> 合です。
>
> 「4.Linux ディストリビューション」に従って、コンフィギュレーションおよび
> ビルドを行なった後に、サンプルドライバのビルドを行なってみてください。
>

ご 指摘の通り、atmark-distのコンフィギュレーションおよび
ビルドを再度行ったところ、「7.デバイスドライバ開発」に ついては
テキストの通りに学習を進めることが出来ました。


しかし、続けて「8.SUZAKUのドライバを使ってみる」に 進み
「8.1.2.事前準備」に記されているデバイスドライバの追加とビルド(48ページ)を行ったところ、
以下のようなエラーメッセージが出力されました。

=======エラーメッセージのログ=======
email@hidden:~/atmark-dist-20080314$ make

make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C linux-2.6.x  || exit 1
make[1]: ディレクトリ `/home/atmark/linux-2.6.18-at9' に入ります
scripts/kconfig/conf -s arch/ppc/Kconfig
arch/ppc/Kconfig:1207:warning: leading whitespace ignored
arch/ppc/Kconfig:1226:warning: leading whitespace ignored
arch/ppc/Kconfig:1231:warning: leading whitespace ignored
drivers/usb/host/Kconfig:10:warning: 'select' used by config symbol
'USB_EHCI_HCD' refer to undefined symbol 'ISP1504_MXC'
drivers/usb/host/Kconfig:12:warning: 'select' used by config symbol
'USB_EHCI_HCD' refer to undefined symbol 'ISP1301_MXC'

drivers/usb/gadget/Kconfig:199:warning: 'select' used by config symbol
'USB_ARC' refer to undefined symbol 'ISP1504_MXC'
drivers/usb/gadget/Kconfig:200:warning: 'select' used by config symbol
'USB_ARC' refer to undefined symbol 'ISP1301_MXC'
make[1]: ディレクトリ `/home/atmark/linux-2.6.18-at9' から出ます

make[1]: ディレクトリ `/home/atmark/linux-2.6.18-at9' に入ります
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/ppc/kernel/asm-offsets.s
In file included from arch/ppc/platforms/4xx/suzaku-v.h:23,
                 from include/asm/ibm4xx.h:58,
                 from include/asm/io.h:28,
                 from include/asm/pgtable.h:14,
                 from include/linux/mm.h:38,
                 from include/linux/mman.h:14,
                 from arch/ppc/kernel/asm-offsets.c:19:
arch/ppc/platforms/4xx/xparameters/xparameters.h:109:4: error: #error No
xparameters_*.h file included
make[2]: *** [arch/ppc/kernel/asm-offsets.s] エラー 1
make[1]: *** [prepare0] エラー 2
make[1]: ディレクトリ `/home/atmark/linux-2.6.18-at9' から出ます
make: *** [linux] エラー 1
======= エラーメッセージのログ終わり=======

こちらもatmark-distが 適切にコンフィギュレーションされていないのかと思い、
「4.Linux ディストリビューション」に従いatmark-dist のコンフィギュレーションおよびビルドを行い
再度「8.1.2事前準備」のビルドを行ってみましたが、やはり上のようなエラーが出力されてしまいます。

こちらに関しては、 atmark-distとは別の問題点があるのでしょうか?
続けての質問となってしまいますが、ご教示頂けないでしょうか。
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://lists.atmark-techno.com/pipermail/suzaku/attachments/20100718/62974d30/attachment.html>


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