[Armadillo:04070] Atmark-dist上でKernelコンパイルエラーが発生します。対象方法ご教授
北所 弘司
email@hidden
2009年 3月 2日 (月) 13:01:16 JST
$BKL=j$H?=$7$^$9!#(B
$email@hidden$[$I!"(B[Armaillo-4069]$B$GJ8;z2=$1$rH/@8$7$F$7$^$$$^$7$?$N$G(B
$B:FAw$7$F$$$^$9!#$4LBOG$+$1$^$7$?!#(B
$BK\7o$G$9$,!"(B
$B8=:_!"(BArmadillo-500-FX$B$rMxMQ$7(BAndroid$B$K$*$1$k(BDriver$B$ND4::$r$7$h$&$H$7(B
$B$*$j$^$7$F!"(B
$B$H$j$"$($:!"(BArmadillo$B3+H/<T%5%$%H$+$i0J2<$N$b$N$r(BDownload$B$7%+!<%M%k$r(B
$B%S%k%I$9$k$N$G$9$,!"(Bmake$B$G0J2<$N%(%i!<$,H/@8$7$^$9!#(B
[$B%(%i!<FbMF(B]
make dep all$B$G(B
arm-linux-gcc `pkg-config --cflags --libs gtk+-2.0` main.c -o a500fx-demo
/bin/sh: pkg-config: command not found
$BHs>o$K=iJbE*$J$4<ALd$G$9$,!"(B
$B$I$N$h$&$KBP=h$9$l$P!"$4B8CN$NJ}$465<x$NDx$*4j$$CW$7$^$9!#(B
[PC$B4D6-(B]
Core2Duo 2GHz/RAM 2GB WindowsXP Pro NotePC
VMware Player V2.5.1 ($B8=:_F~<j$G$-$k:G?7HG(B)
$B>e$G(BATDE$B$G%S%k%I(B
[Download$B$7$?$b$N(B]
$B0J2<$N(BArmadillo-500 $B:G?7%@%&%s%m!<%I%Z!<%8$h$j(B
http://armadillo.atmark-techno.com/armadillo-500-fx/downloads
$B-!(BATDE V20071018
$B-"(BAtmark-dist V20090126
$B-#(BLinux$B%+!<%M%k(B v2.6.26-at3
[VMware$B>e$N(BLinux$B$G$N(Bmake$B<j=g(B]
$B-!(BVMware$B>e$N(B/mnt/hgst/share$B%U%)%k%@$H(BWindwos$B$N%U%)%k%@$r6&email@hidden$9$k(B
$B!!6&email@hidden$5$l$?%U%)%k%@$email@hidden$[$I(BDownload$B$7$F$-$?(BAtmark-disk,Linux$B%+!<%M(B
$B%k(B
$B$r3JG<(B
$B-"(BGnome$BC<Kv>e$G(BAtmark-dist,Linux$B%+!<%M%k$rE83+(B
$B!!(Btar zxvf /mnt/hgfs/share/atmark-dist-20090126.tar.gz
.....
$B!!(Btar zxvf /mnt/hgfs/share/linux2.6.26-at3.tar.gz
$B-#(BGnome$BC<Kv>e$G(Batmark-dist$B4D6-$G(Blinux$B$r%j%s%/(B
$cd atmark-dist-20090126
$ln -s ../linux-2.6.26-at3 linux-2.6.x
$B-$(BGnome$BC<Kv>e$G(Bmake config
$ make config
Vendor$B$N9`L\$G(BAtmarkTechno$B$HF~NO(B
AtmarkTechno Products$B$N9`L\$G(BArmadillo-500-FX.dev$B$HF~NO(B
Cross-dev$B$N9`L\$G(Bdefault$B$HF~NO(B
Libc Version$B$N9`L\$G(BNone$B$HF~NO(B
Default all settings$B$N9`L\$G(By$B$HF~NO(B
Customize Kernel Settings$B$N9`L\$G(Bn$B$HF~NO(B
Customize Vendor/User Settings$B$N9`L\$G(Bn$B$HF~NO(B
Update Default Vendor Settings$B$N9`L\$G(Bn$B$HF~NO(B
$B=PNO(B
....
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
make[2]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126/config' $B$+(B
$B=P$^$9(B
make[1]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126' $B$+$i=P$^$9(B
$B-%(BGnome$BC<Kv>e$G(Bmake dep all
....
arm-linux-gcc `pkg-config --cflags --libs gtk+-2.0` main.c -o
500fx-demo
/bin/sh: pkg-config: command not found
main.c:9:21: error: gtk/gtk.h: $B$=$N$h$&$J%U%!%$%k$d%G%#%l%/%H%j$O$"$j(B
$B$^$;$s(B
main.c:10:19: error: cairo.h: $B$=$N$h$&$J%U%!%$%k$d%G%#%l%/%H%j$O$"$j(B
$B$^$;$s(B
....
make[2]: *** [a500fx-demo] $B%(%i!<(B 1
make[2]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126/user/a500fx
demo' $B$+$i=P$^$9(B
make[1]: *** [all] $B%(%i!<(B 2
make[1]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126/user' $B$+$i(B
$B$G$^$9(B
make: *** [subdirs] $B%(%i!<(B 1
$B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
armadillo メーリングリストの案内