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

mizo email@hidden
2010年 7月 16日 (金) 19:57:20 JST


溝渕です。

外崎大輔 wrote:
> はじめまして、外崎と申します。
> SUZAKU-V SZ410、atmark-dist環境を使用しております。
> 
> Linuxについては素人でして、スターターキットガイドLinux開発編に沿っての
> 学習を行っておりましたが、39ページの7.2 デバイスドライバの作成で躓いてし 
> まいました。
> 
> =======エラーメッセージのログ=======
> make ARCH=ppc CROSS_COMPILE=powerpc-linux- -C 
> /home/atmark/atmark-dist-20080314/linux-2.6.x 
> M=/home/atmark/cgi/cgi_driver modules
> make[1]: ディレクトリ `/home/atmark/linux-2.6.18-at9' に入ります
>   CC [M]  /home/atmark/cgi/cgi_driver/smsg.o
> In file included from arch/ppc/platforms/4xx/suzaku-v.h:23,
>                  from include/asm/ibm4xx.h:58,
>                  from include/asm-powerpc/irq.h:336,
>                  from include/asm/irq.h:1,
>                  from include/asm-powerpc/hardirq.h:5,
>                  from include/asm/hardirq.h:1,
>                  from include/linux/hardirq.h:7,
>                  from include/asm-generic/local.h:5,
>                  from include/asm-powerpc/local.h:1,
>                  from include/asm/local.h:1,
>                  from include/linux/module.h:20,
>                  from /home/atmark/cgi/cgi_driver/smsg.c:5:
> arch/ppc/platforms/4xx/xparameters/xparameters.h:109:4: error: #error No 
> xparameters_*.h file included

このエラーメッセージを出力している箇所は、
/home/atmark/atmark-dist-20080314/linux-2.6.x/arch/ppc/platforms/4xx/xparameters/xparameters.h
の109行目です。

ここを通るのは、atmark-distが適切にコンフィギュレーションされていない場
合です。

「4.Linux ディストリビューション」に従って、コンフィギュレーションおよび
ビルドを行なった後に、サンプルドライバのビルドを行なってみてください。





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