[玄箱]openwince/JTAGコンパイル

シリアルコンソールでも何も表示されない黒箱とかした無印玄箱(初代)
まぁ、シリアルコンソールも自作なのでこれがちゃんと動いているのかすらわからないけれど
電源投入後、一分後ぐらいに最初4回、以降5回赤いLEDが点滅している。
赤いLEDはDIAG LEDで点滅5回は「FlashROM異常時」という意味らしい。(マニュアル参照)
シリアルコンソールで何も表示されないのはbootcodeも破壊してしまったのかも。
どのみち打つ手はJTAGしかないので挑戦してみる。

まずはJTAGが利用できる環境の作成
WindowsにCygwinを入れたくないのでBackTrack4 R1に構築してみる。

まずはCVSからソースの取得


root@bt:~# mkdir ~/cvs-work
root@bt:~# mkdir ~/cvs-work/JTAGTOOL
root@bt:~# cd ~/cvs-work/JTAGTOOL/
root@bt:~/cvs-work/JTAGTOOL# cvs -d:pserver:anonymous@openwince.cvs.sourceforge.net:/cvsroot/openwince login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/openwince
CVS password: [空リターン]
root@bt:~/cvs-work/JTAGTOOL# cvs -z3 -d:pserver:anonymous@openwince.cvs.sourceforge.net:/cvsroot/openwince co -P include jtag
cvs checkout: Updating include
U include/.cvsignore
U include/AUTHORS
U include/COPYING
 (中略)
U website/iPAQ-3600/images/A.jpg
U website/iPAQ-3600/images/B.jpg
U website/iPAQ-3600/images/interface.png

無事取得完了。
まずは、includeをコンパイルしてみる


root@bt:~/cvs-work/JTAGTOOL# cd include
root@bt:~/cvs-work/JTAGTOOL/include# ./autogen.sh
./autogen.sh: line 36: autoreconf: command not found

autoreconf failed.

おや、コマンドがみつからないと怒られたので apt で autoconf をインストール。


root@bt:~/cvs-work/JTAGTOOL/include# aptitude install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  autoconf automake{a} autotools-dev{a}
0 packages upgraded, 3 newly installed, 0 to remove and 9 not upgraded.
Need to get 1030kB of archives. After unpacking 3600kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://archive.offensive-security.com pwnsauce/main autoconf 2.61-7ubuntu1 [449kB]
Get:2 http://archive.offensive-security.com pwnsauce/main autotools-dev 20080123.1 [62.6kB]
Get:3 http://archive.offensive-security.com pwnsauce/main automake 1:1.10.1-3 [519kB]
Fetched 1030kB in 7s (141kB/s)
Selecting previously deselected package autoconf.
(Reading database ... 249428 files and directories currently installed.)
Unpacking autoconf (from .../autoconf_2.61-7ubuntu1_all.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20080123.1_all.deb) ...
Selecting previously deselected package automake.
Unpacking automake (from .../automake_1%3a1.10.1-3_all.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 52 changed, 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up autoconf (2.61-7ubuntu1) ...

Setting up autotools-dev (20080123.1) ...
Setting up automake (1:1.10.1-3) ...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

これで再度 ./autogen.sh を実行してみる。


root@bt:~/cvs-work/JTAGTOOL/include# ./autogen.sh
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 186.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 186.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: /usr/bin/automake --foreign --add-missing --no-force
configure.ac:41: installing `tools/install-sh'
configure.ac:41: installing `tools/missing'
autoreconf: Leaving directory `.'

autoreconf done.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for hwbench installation... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

無事完了。続いて ./configure を実行。


root@bt:~/cvs-work/JTAGTOOL/include# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for hwbench installation... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

順調に完了。そのまま make install 。


root@bt:~/cvs-work/JTAGTOOL/include# make install
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/include'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/openwince" || /bin/mkdir -p "/usr/local/include/openwince"
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'common.h' '/usr/local/include/openwince/common.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'openwince.h' '/usr/local/include/openwince/openwince.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'cexcept.h' '/usr/local/include/openwince/cexcept.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/arm.h' '/usr/local/include/openwince/arm/arm.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/gpclk.h' '/usr/local/include/openwince/arm/sa11x0/gpclk.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/gpio.h' '/usr/local/include/openwince/arm/sa11x0/gpio.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/hssp.h' '/usr/local/include/openwince/arm/sa11x0/hssp.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/ic.h' '/usr/local/include/openwince/arm/sa11x0/ic.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/lcd.h' '/usr/local/include/openwince/arm/sa11x0/lcd.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/mc.h' '/usr/local/include/openwince/arm/sa11x0/mc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/mcp.h' '/usr/local/include/openwince/arm/sa11x0/mcp.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/ost.h' '/usr/local/include/openwince/arm/sa11x0/ost.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/pm.h' '/usr/local/include/openwince/arm/sa11x0/pm.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/ppc.h' '/usr/local/include/openwince/arm/sa11x0/ppc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/rc.h' '/usr/local/include/openwince/arm/sa11x0/rc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/rtc.h' '/usr/local/include/openwince/arm/sa11x0/rtc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/ssp.h' '/usr/local/include/openwince/arm/sa11x0/ssp.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/uart.h' '/usr/local/include/openwince/arm/sa11x0/uart.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/sa11x0/udc.h' '/usr/local/include/openwince/arm/sa11x0/udc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/ac97.h' '/usr/local/include/openwince/arm/pxa2x0/ac97.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/cm.h' '/usr/local/include/openwince/arm/pxa2x0/cm.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/dma.h' '/usr/local/include/openwince/arm/pxa2x0/dma.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/gpio.h' '/usr/local/include/openwince/arm/pxa2x0/gpio.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/i2c.h' '/usr/local/include/openwince/arm/pxa2x0/i2c.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/i2s.h' '/usr/local/include/openwince/arm/pxa2x0/i2s.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/ic.h' '/usr/local/include/openwince/arm/pxa2x0/ic.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/icp.h' '/usr/local/include/openwince/arm/pxa2x0/icp.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/lcd.h' '/usr/local/include/openwince/arm/pxa2x0/lcd.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/mc.h' '/usr/local/include/openwince/arm/pxa2x0/mc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/mmc.h' '/usr/local/include/openwince/arm/pxa2x0/mmc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/ost.h' '/usr/local/include/openwince/arm/pxa2x0/ost.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/pmrc.h' '/usr/local/include/openwince/arm/pxa2x0/pmrc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/pwm.h' '/usr/local/include/openwince/arm/pxa2x0/pwm.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/rtc.h' '/usr/local/include/openwince/arm/pxa2x0/rtc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/ssp.h' '/usr/local/include/openwince/arm/pxa2x0/ssp.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/uart.h' '/usr/local/include/openwince/arm/pxa2x0/uart.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'arm/pxa2x0/udc.h' '/usr/local/include/openwince/arm/pxa2x0/udc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'brux/bus.h' '/usr/local/include/openwince/brux/bus.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'brux/cfi.h' '/usr/local/include/openwince/brux/cfi.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'brux/cmd.h' '/usr/local/include/openwince/brux/cmd.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'brux/flash.h' '/usr/local/include/openwince/brux/flash.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/codec/ac97.h' '/usr/local/include/openwince/device/codec/ac97.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/codec/ucb1400.h' '/usr/local/include/openwince/device/codec/ucb1400.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/flash/28fxxxj.h' '/usr/local/include/openwince/device/flash/28fxxxj.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/flash/28fxxxk.h' '/usr/local/include/openwince/device/flash/28fxxxk.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/flash/cfi.h' '/usr/local/include/openwince/device/flash/cfi.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/flash/intel.h' '/usr/local/include/openwince/device/flash/intel.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/afe.h' '/usr/local/include/openwince/device/other/hd64461/afe.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/gpio.h' '/usr/local/include/openwince/device/other/hd64461/gpio.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/intc.h' '/usr/local/include/openwince/device/other/hd64461/intc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/lcdc.h' '/usr/local/include/openwince/device/other/hd64461/lcdc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/pcc.h' '/usr/local/include/openwince/device/other/hd64461/pcc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/stbsys.h' '/usr/local/include/openwince/device/other/hd64461/stbsys.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'device/other/hd64461/timer.h' '/usr/local/include/openwince/device/other/hd64461/timer.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/adc.h' '/usr/local/include/openwince/h8/h83048/adc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/dac.h' '/usr/local/include/openwince/h8/h83048/dac.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/dmac.h' '/usr/local/include/openwince/h8/h83048/dmac.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/flash.h' '/usr/local/include/openwince/h8/h83048/flash.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/ic.h' '/usr/local/include/openwince/h8/h83048/ic.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/itu.h' '/usr/local/include/openwince/h8/h83048/itu.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/other.h' '/usr/local/include/openwince/h8/h83048/other.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/ports.h' '/usr/local/include/openwince/h8/h83048/ports.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/rc.h' '/usr/local/include/openwince/h8/h83048/rc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/sci.h' '/usr/local/include/openwince/h8/h83048/sci.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/tpc.h' '/usr/local/include/openwince/h8/h83048/tpc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h83048/wdt.h' '/usr/local/include/openwince/h8/h83048/wdt.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/adc.h' '/usr/local/include/openwince/h8/h8s2357/adc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/bus.h' '/usr/local/include/openwince/h8/h8s2357/bus.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/dac.h' '/usr/local/include/openwince/h8/h8s2357/dac.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/dmac.h' '/usr/local/include/openwince/h8/h8s2357/dmac.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/dtc.h' '/usr/local/include/openwince/h8/h8s2357/dtc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/flash.h' '/usr/local/include/openwince/h8/h8s2357/flash.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/ic.h' '/usr/local/include/openwince/h8/h8s2357/ic.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/mcu.h' '/usr/local/include/openwince/h8/h8s2357/mcu.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/ports.h' '/usr/local/include/openwince/h8/h8s2357/ports.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/ppg.h' '/usr/local/include/openwince/h8/h8s2357/ppg.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/sci.h' '/usr/local/include/openwince/h8/h8s2357/sci.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/timer.h' '/usr/local/include/openwince/h8/h8s2357/timer.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/tpu.h' '/usr/local/include/openwince/h8/h8s2357/tpu.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'h8/h8s2357/wdt.h' '/usr/local/include/openwince/h8/h8s2357/wdt.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'sh/sh7709s/intc.h' '/usr/local/include/openwince/sh/sh7709s/intc.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'sh/sh7750/ccn.h' '/usr/local/include/openwince/sh/sh7750/ccn.h'
 /bin/sh /root/cvs-work/JTAGTOOL/include/tools/install-sh -c -m 644 'std/mic.h' '/usr/local/include/openwince/std/mic.h'
test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include"
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/include'
root@bt:~/cvs-work/JTAGTOOL/include# cd ../

これで includeは無事インストールまで完了。
次にJTAGをコンパイルしてみる。
まずは、ソースにパッチを当てる。
( kurobox_patch.diff という名前で~/cvs-work/JTAGTOOL/配下にdiffファイル用意)


root@bt:~/cvs-work/JTAGTOOL# patch -b -p0 < kurobox_patch.diff
patching file jtag/data/motorola/mpc8241/1.2
patching file jtag/libbrux/flash/amd.c

OK.
で、include と同じようにコンパイル。


root@bt:~/cvs-work/JTAGTOOL# cd jtag/
root@bt:~/cvs-work/JTAGTOOL/jtag# ./autogen.sh
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 186.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 186.
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force

Copying file ABOUT-NLS
Copying file tools/config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/signed.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file tools/mkinstalldirs
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory libbrux to autoreconf
autoreconf: Entering directory `libbrux'
Copying file ABOUT-NLS
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/signed.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --force-missing
configure.ac:43: installing `../tools/config.guess'
configure.ac:43: installing `../tools/config.sub'
configure.ac:30: installing `../tools/install-sh'
configure.ac:30: installing `../tools/missing'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Makefile.am: installing `../tools/depcomp'
autoreconf: Leaving directory `libbrux'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
autoreconf: Leaving directory `.'

autoreconf done.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... /usr/local/include/openwince
checking for library containing ioperm... none required
checking for getline... yes
checking for getdelim... yes
checking for swprintf... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking for a readline compatible library... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/tap/Makefile
config.status: creating src/part/Makefile
config.status: creating src/bus/Makefile
config.status: creating src/cmd/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
=== configuring in libbrux (/root/cvs-work/JTAGTOOL/jtag/libbrux)
configure: running /bin/sh ./configure '--prefix=/usr/local'  '--enable-maintainer-mode' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... /usr/local/include/openwince
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
root@bt:~/cvs-work/JTAGTOOL/jtag# make
make  all-recursive
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
Making all in libbrux
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make  all-recursive
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in po
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make libbrux.pot-update
make[5]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
/usr/bin/xgettext --default-domain=libbrux --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
          if test -f ./libbrux.pot; then \
            sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
            sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
            if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
              rm -f libbrux.1po libbrux.2po libbrux.po; \
            else \
              rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
              mv libbrux.po ./libbrux.pot; \
            fi; \
          else \
            mv libbrux.po ./libbrux.pot; \
          fi; \
        }
make[5]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
test -z "" || make
touch stamp-po
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT cmd.o -MD -MP -MF .deps/cmd.Tpo -c -o cmd.o `test -f 'cmd/cmd.c' || echo './'`cmd/cmd.c
mv -f .deps/cmd.Tpo .deps/cmd.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o `test -f 'cmd/help.c' || echo './'`cmd/help.c
mv -f .deps/help.Tpo .deps/help.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT quit.o -MD -MP -MF .deps/quit.Tpo -c -o quit.o `test -f 'cmd/quit.c' || echo './'`cmd/quit.c
mv -f .deps/quit.Tpo .deps/quit.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT cmd_detectflash.o -MD -MP -MF .deps/cmd_detectflash.Tpo -c -o cmd_detectflash.o `test -f 'cmd/cmd_detectflash.c' || echo './'`cmd/cmd_detectflash.c
mv -f .deps/cmd_detectflash.Tpo .deps/cmd_detectflash.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT cfi.o -MD -MP -MF .deps/cfi.Tpo -c -o cfi.o `test -f 'flash/cfi.c' || echo './'`flash/cfi.c
mv -f .deps/cfi.Tpo .deps/cfi.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT jedec.o -MD -MP -MF .deps/jedec.Tpo -c -o jedec.o `test -f 'flash/jedec.c' || echo './'`flash/jedec.c
mv -f .deps/jedec.Tpo .deps/jedec.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT detectflash.o -MD -MP -MF .deps/detectflash.Tpo -c -o detectflash.o `test -f 'flash/detectflash.c' || echo './'`flash/detectflash.c
mv -f .deps/detectflash.Tpo .deps/detectflash.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT amd.o -MD -MP -MF .deps/amd.Tpo -c -o amd.o `test -f 'flash/amd.c' || echo './'`flash/amd.c
mv -f .deps/amd.Tpo .deps/amd.Po
gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I./../include  -g -O2 -Wall -MT intel.o -MD -MP -MF .deps/intel.Tpo -c -o intel.o `test -f 'flash/intel.c' || echo './'`flash/intel.c
mv -f .deps/intel.Tpo .deps/intel.Po
rm -f libbrux.a
ar cru libbrux.a cmd.o help.o quit.o cmd_detectflash.o cfi.o jedec.o detectflash.o amd.o intel.o
ranlib libbrux.a
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in doc
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/doc'
Making all in include
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/include'
Making all in data
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/data'
Making all in src
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making all in lib
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT getdelim.o -MD -MP -MF .deps/getdelim.Tpo -c -o getdelim.o getdelim.c
mv -f .deps/getdelim.Tpo .deps/getdelim.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c
mv -f .deps/getline.Tpo .deps/getline.Po
rm -f libjtaglib.a
ar cru libjtaglib.a getdelim.o getline.o
ranlib libjtaglib.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
Making all in tap
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT tap.o -MD -MP -MF .deps/tap.Tpo -c -o tap.o tap.c
mv -f .deps/tap.Tpo .deps/tap.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT register.o -MD -MP -MF .deps/register.Tpo -c -o register.o register.c
mv -f .deps/register.Tpo .deps/register.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
mv -f .deps/state.Tpo .deps/state.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT chain.o -MD -MP -MF .deps/chain.Tpo -c -o chain.o chain.c
mv -f .deps/chain.Tpo .deps/chain.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT parport.o -MD -MP -MF .deps/parport.Tpo -c -o parport.o parport.c
mv -f .deps/parport.Tpo .deps/parport.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT direct.o -MD -MP -MF .deps/direct.Tpo -c -o direct.o `test -f 'parport/direct.c' || echo './'`parport/direct.c
mv -f .deps/direct.Tpo .deps/direct.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ppdev.o -MD -MP -MF .deps/ppdev.Tpo -c -o ppdev.o `test -f 'parport/ppdev.c' || echo './'`parport/ppdev.c
mv -f .deps/ppdev.Tpo .deps/ppdev.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cable.o -MD -MP -MF .deps/cable.Tpo -c -o cable.o cable.c
mv -f .deps/cable.Tpo .deps/cable.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT generic.o -MD -MP -MF .deps/generic.Tpo -c -o generic.o `test -f 'cable/generic.c' || echo './'`cable/generic.c
mv -f .deps/generic.Tpo .deps/generic.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT arcom.o -MD -MP -MF .deps/arcom.Tpo -c -o arcom.o `test -f 'cable/arcom.c' || echo './'`cable/arcom.c
mv -f .deps/arcom.Tpo .deps/arcom.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT byteblaster.o -MD -MP -MF .deps/byteblaster.Tpo -c -o byteblaster.o `test -f 'cable/byteblaster.c' || echo './'`cable/byteblaster.c
mv -f .deps/byteblaster.Tpo .deps/byteblaster.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT dlc5.o -MD -MP -MF .deps/dlc5.Tpo -c -o dlc5.o `test -f 'cable/dlc5.c' || echo './'`cable/dlc5.c
mv -f .deps/dlc5.Tpo .deps/dlc5.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ea253.o -MD -MP -MF .deps/ea253.Tpo -c -o ea253.o `test -f 'cable/ea253.c' || echo './'`cable/ea253.c
mv -f .deps/ea253.Tpo .deps/ea253.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ei012.o -MD -MP -MF .deps/ei012.Tpo -c -o ei012.o `test -f 'cable/ei012.c' || echo './'`cable/ei012.c
mv -f .deps/ei012.Tpo .deps/ei012.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT keithkoep.o -MD -MP -MF .deps/keithkoep.Tpo -c -o keithkoep.o `test -f 'cable/keithkoep.c' || echo './'`cable/keithkoep.c
mv -f .deps/keithkoep.Tpo .deps/keithkoep.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT lattice.o -MD -MP -MF .deps/lattice.Tpo -c -o lattice.o `test -f 'cable/lattice.c' || echo './'`cable/lattice.c
mv -f .deps/lattice.Tpo .deps/lattice.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT mpcbdm.o -MD -MP -MF .deps/mpcbdm.Tpo -c -o mpcbdm.o `test -f 'cable/mpcbdm.c' || echo './'`cable/mpcbdm.c
mv -f .deps/mpcbdm.Tpo .deps/mpcbdm.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT triton.o -MD -MP -MF .deps/triton.Tpo -c -o triton.o `test -f 'cable/triton.c' || echo './'`cable/triton.c
mv -f .deps/triton.Tpo .deps/triton.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT wiggler.o -MD -MP -MF .deps/wiggler.Tpo -c -o wiggler.o `test -f 'cable/wiggler.c' || echo './'`cable/wiggler.c
mv -f .deps/wiggler.Tpo .deps/wiggler.Po
rm -f libtap.a
ar cru libtap.a tap.o register.o state.o chain.o parport.o direct.o ppdev.o cable.o generic.o arcom.o byteblaster.o dlc5.o ea253.o ei012.o keithkoep.o lattice.o mpcbdm.o triton.o wiggler.o
ranlib libtap.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
Making all in part
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.c
signal.c: In function `salias_alloc':
signal.c:71: warning: assignment discards qualifiers from pointer target type
mv -f .deps/signal.Tpo .deps/signal.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT instruction.o -MD -MP -MF .deps/instruction.Tpo -c -o instruction.o instruction.c
mv -f .deps/instruction.Tpo .deps/instruction.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT data_register.o -MD -MP -MF .deps/data_register.Tpo -c -o data_register.o data_register.c
mv -f .deps/data_register.Tpo .deps/data_register.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bsbit.o -MD -MP -MF .deps/bsbit.Tpo -c -o bsbit.o bsbit.c
mv -f .deps/bsbit.Tpo .deps/bsbit.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT part.o -MD -MP -MF .deps/part.Tpo -c -o part.o part.c
mv -f .deps/part.Tpo .deps/part.Po
rm -f libpart.a
ar cru libpart.a signal.o instruction.o data_register.o bsbit.o part.o
ranlib libpart.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
Making all in bus
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT buses.o -MD -MP -MF .deps/buses.Tpo -c -o buses.o buses.c
mv -f .deps/buses.Tpo .deps/buses.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT au1500.o -MD -MP -MF .deps/au1500.Tpo -c -o au1500.o au1500.c
mv -f .deps/au1500.Tpo .deps/au1500.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bcm1250.o -MD -MP -MF .deps/bcm1250.Tpo -c -o bcm1250.o bcm1250.c
mv -f .deps/bcm1250.Tpo .deps/bcm1250.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ixp425.o -MD -MP -MF .deps/ixp425.Tpo -c -o ixp425.o ixp425.c
mv -f .deps/ixp425.Tpo .deps/ixp425.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT lh7a400.o -MD -MP -MF .deps/lh7a400.Tpo -c -o lh7a400.o lh7a400.c
mv -f .deps/lh7a400.Tpo .deps/lh7a400.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT mpc824x.o -MD -MP -MF .deps/mpc824x.Tpo -c -o mpc824x.o mpc824x.c
mv -f .deps/mpc824x.Tpo .deps/mpc824x.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ppc440gx_ebc8.o -MD -MP -MF .deps/ppc440gx_ebc8.Tpo -c -o ppc440gx_ebc8.o ppc440gx_ebc8.c
mv -f .deps/ppc440gx_ebc8.Tpo .deps/ppc440gx_ebc8.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT pxa2x0.o -MD -MP -MF .deps/pxa2x0.Tpo -c -o pxa2x0.o pxa2x0.c
mv -f .deps/pxa2x0.Tpo .deps/pxa2x0.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sa1110.o -MD -MP -MF .deps/sa1110.Tpo -c -o sa1110.o sa1110.c
mv -f .deps/sa1110.Tpo .deps/sa1110.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT s3c4510x.o -MD -MP -MF .deps/s3c4510x.Tpo -c -o s3c4510x.o s3c4510x.c
mv -f .deps/s3c4510x.Tpo .deps/s3c4510x.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7727.o -MD -MP -MF .deps/sh7727.Tpo -c -o sh7727.o sh7727.c
mv -f .deps/sh7727.Tpo .deps/sh7727.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7750r.o -MD -MP -MF .deps/sh7750r.Tpo -c -o sh7750r.o sh7750r.c
mv -f .deps/sh7750r.Tpo .deps/sh7750r.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7751r.o -MD -MP -MF .deps/sh7751r.Tpo -c -o sh7751r.o sh7751r.c
mv -f .deps/sh7751r.Tpo .deps/sh7751r.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT tx4925.o -MD -MP -MF .deps/tx4925.Tpo -c -o tx4925.o tx4925.c
mv -f .deps/tx4925.Tpo .deps/tx4925.Po
rm -f libbus.a
ar cru libbus.a buses.o au1500.o bcm1250.o ixp425.o lh7a400.o mpc824x.o ppc440gx_ebc8.o pxa2x0.o sa1110.o s3c4510x.o sh7727.o sh7750r.o sh7751r.o tx4925.o
ranlib libbus.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
Making all in cmd
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT frequency.o -MD -MP -MF .deps/frequency.Tpo -c -o frequency.o frequency.c
mv -f .deps/frequency.Tpo .deps/frequency.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cable.o -MD -MP -MF .deps/cable.Tpo -c -o cable.o cable.c
mv -f .deps/cable.Tpo .deps/cable.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o reset.c
mv -f .deps/reset.Tpo .deps/reset.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT discovery.o -MD -MP -MF .deps/discovery.Tpo -c -o discovery.o discovery.c
mv -f .deps/discovery.Tpo .deps/discovery.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT detect.o -MD -MP -MF .deps/detect.Tpo -c -o detect.o detect.c
mv -f .deps/detect.Tpo .deps/detect.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.c
mv -f .deps/signal.Tpo .deps/signal.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT salias.o -MD -MP -MF .deps/salias.Tpo -c -o salias.o salias.c
mv -f .deps/salias.Tpo .deps/salias.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bit.o -MD -MP -MF .deps/bit.Tpo -c -o bit.o bit.c
mv -f .deps/bit.Tpo .deps/bit.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT register.o -MD -MP -MF .deps/register.Tpo -c -o register.o register.c
mv -f .deps/register.Tpo .deps/register.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT initbus.o -MD -MP -MF .deps/initbus.Tpo -c -o initbus.o initbus.c
mv -f .deps/initbus.Tpo .deps/initbus.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o print.c
mv -f .deps/print.Tpo .deps/print.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT part.o -MD -MP -MF .deps/part.Tpo -c -o part.o part.c
mv -f .deps/part.Tpo .deps/part.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bus.o -MD -MP -MF .deps/bus.Tpo -c -o bus.o bus.c
mv -f .deps/bus.Tpo .deps/bus.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT instruction.o -MD -MP -MF .deps/instruction.Tpo -c -o instruction.o instruction.c
mv -f .deps/instruction.Tpo .deps/instruction.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT shift.o -MD -MP -MF .deps/shift.Tpo -c -o shift.o shift.c
mv -f .deps/shift.Tpo .deps/shift.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT dr.o -MD -MP -MF .deps/dr.Tpo -c -o dr.o dr.c
mv -f .deps/dr.Tpo .deps/dr.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT get.o -MD -MP -MF .deps/get.Tpo -c -o get.o get.c
mv -f .deps/get.Tpo .deps/get.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT set.o -MD -MP -MF .deps/set.Tpo -c -o set.o set.c
mv -f .deps/set.Tpo .deps/set.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT endian.o -MD -MP -MF .deps/endian.Tpo -c -o endian.o endian.c
mv -f .deps/endian.Tpo .deps/endian.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT peekpoke.o -MD -MP -MF .deps/peekpoke.Tpo -c -o peekpoke.o peekpoke.c
mv -f .deps/peekpoke.Tpo .deps/peekpoke.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT readmem.o -MD -MP -MF .deps/readmem.Tpo -c -o readmem.o readmem.c
mv -f .deps/readmem.Tpo .deps/readmem.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT flashmem.o -MD -MP -MF .deps/flashmem.Tpo -c -o flashmem.o flashmem.c
mv -f .deps/flashmem.Tpo .deps/flashmem.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT eraseflash.o -MD -MP -MF .deps/eraseflash.Tpo -c -o eraseflash.o eraseflash.c
mv -f .deps/eraseflash.Tpo .deps/eraseflash.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT script.o -MD -MP -MF .deps/script.Tpo -c -o script.o script.c
mv -f .deps/script.Tpo .deps/script.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT include.o -MD -MP -MF .deps/include.Tpo -c -o include.o include.c
mv -f .deps/include.Tpo .deps/include.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cmd.o -MD -MP -MF .deps/cmd.Tpo -c -o cmd.o cmd.c
mv -f .deps/cmd.Tpo .deps/cmd.Po
rm -f libcmd.a
ar cru libcmd.a frequency.o cable.o reset.o discovery.o detect.o signal.o salias.o bit.o register.o initbus.o print.o part.o bus.o instruction.o shift.o dr.o get.o set.o endian.o peekpoke.o readmem.o flashmem.o eraseflash.o script.o include.o cmd.o
ranlib libcmd.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o jtag.o jtag.c
mv -f .deps/jtag.Tpo .deps/jtag.Po
else rm -f .deps/jtag.Tpo; exit 1
; fi
jtag.c:33:31: readline/readline.h: No such file or directory
jtag.c:34:30: readline/history.h: No such file or directory
jtag.c: In function `jtag_load_history':
jtag.c:94: warning: implicit declaration of function `using_history'
jtag.c:109: warning: implicit declaration of function `read_history'
jtag.c: In function `jtag_save_history':
jtag.c:133: warning: implicit declaration of function `write_history'
jtag.c: In function `jtag_readline_loop':
jtag.c:190: warning: implicit declaration of function `readline'
jtag.c:190: warning: assignment makes pointer from integer without a cast
jtag.c:194: warning: implicit declaration of function `add_history'
make[3]: *** [jtag.o] Error 1
make[3]: Leaving directory `/home/umino/jtagwork/jtag/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/umino/jtagwork/jtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/umino/jtagwork/jtag'
make: *** [all] Error 2

GNU readlineライブラリがないらしいので apt でインストール


root@bt:~/cvs-work/JTAGTOOL/jtag# aptitude install libreadline-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Note: selecting "libreadline5-dev" instead of the
      virtual package "libreadline-dev"
The following NEW packages will be installed:
  libreadline5-dev
0 packages upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 221kB of archives. After unpacking 606kB will be used.
Writing extended state information... Done
Get:1 http://archive.offensive-security.com pwnsauce/main libreadline5-dev 5.2-3build1 [221kB]
Fetched 221kB in 3s (62.5kB/s)
Selecting previously deselected package libreadline5-dev.
(Reading database ... 249645 files and directories currently installed.)
Unpacking libreadline5-dev (from .../libreadline5-dev_5.2-3build1_i386.deb) ...
Setting up libreadline5-dev (5.2-3build1) ...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

再度 ./configure と make


root@bt:~/cvs-work/JTAGTOOL/jtag# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... /usr/local/include/openwince
checking for library containing ioperm... none required
checking for getline... yes
checking for getdelim... yes
checking for swprintf... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating data/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/tap/Makefile
config.status: creating src/part/Makefile
config.status: creating src/bus/Makefile
config.status: creating src/cmd/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
=== configuring in libbrux (/root/cvs-work/JTAGTOOL/jtag/libbrux)
configure: running /bin/sh ./configure '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... /usr/local/include/openwince
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
root@bt:~/cvs-work/JTAGTOOL/jtag# make
make  all-recursive
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
Making all in libbrux
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make  all-recursive
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in po
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make libbrux.pot-update
make[5]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
/usr/bin/xgettext --default-domain=libbrux --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
          if test -f ./libbrux.pot; then \
            sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
            sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
            if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
              rm -f libbrux.1po libbrux.2po libbrux.po; \
            else \
              rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
              mv libbrux.po ./libbrux.pot; \
            fi; \
          else \
            mv libbrux.po ./libbrux.pot; \
          fi; \
        }
make[5]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
test -z "" || make
touch stamp-po
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in doc
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/doc'
Making all in include
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/include'
Making all in data
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/data'
Making all in src
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making all in lib
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT getdelim.o -MD -MP -MF .deps/getdelim.Tpo -c -o getdelim.o getdelim.c
mv -f .deps/getdelim.Tpo .deps/getdelim.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c
mv -f .deps/getline.Tpo .deps/getline.Po
rm -f libjtaglib.a
ar cru libjtaglib.a getdelim.o getline.o
ranlib libjtaglib.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
Making all in tap
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT tap.o -MD -MP -MF .deps/tap.Tpo -c -o tap.o tap.c
mv -f .deps/tap.Tpo .deps/tap.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT chain.o -MD -MP -MF .deps/chain.Tpo -c -o chain.o chain.c
mv -f .deps/chain.Tpo .deps/chain.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT parport.o -MD -MP -MF .deps/parport.Tpo -c -o parport.o parport.c
mv -f .deps/parport.Tpo .deps/parport.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT direct.o -MD -MP -MF .deps/direct.Tpo -c -o direct.o `test -f 'parport/direct.c' || echo './'`parport/direct.c
mv -f .deps/direct.Tpo .deps/direct.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ppdev.o -MD -MP -MF .deps/ppdev.Tpo -c -o ppdev.o `test -f 'parport/ppdev.c' || echo './'`parport/ppdev.c
mv -f .deps/ppdev.Tpo .deps/ppdev.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cable.o -MD -MP -MF .deps/cable.Tpo -c -o cable.o cable.c
mv -f .deps/cable.Tpo .deps/cable.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT arcom.o -MD -MP -MF .deps/arcom.Tpo -c -o arcom.o `test -f 'cable/arcom.c' || echo './'`cable/arcom.c
mv -f .deps/arcom.Tpo .deps/arcom.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT byteblaster.o -MD -MP -MF .deps/byteblaster.Tpo -c -o byteblaster.o `test -f 'cable/byteblaster.c' || echo './'`cable/byteblaster.c
mv -f .deps/byteblaster.Tpo .deps/byteblaster.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT dlc5.o -MD -MP -MF .deps/dlc5.Tpo -c -o dlc5.o `test -f 'cable/dlc5.c' || echo './'`cable/dlc5.c
mv -f .deps/dlc5.Tpo .deps/dlc5.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ea253.o -MD -MP -MF .deps/ea253.Tpo -c -o ea253.o `test -f 'cable/ea253.c' || echo './'`cable/ea253.c
mv -f .deps/ea253.Tpo .deps/ea253.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ei012.o -MD -MP -MF .deps/ei012.Tpo -c -o ei012.o `test -f 'cable/ei012.c' || echo './'`cable/ei012.c
mv -f .deps/ei012.Tpo .deps/ei012.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT keithkoep.o -MD -MP -MF .deps/keithkoep.Tpo -c -o keithkoep.o `test -f 'cable/keithkoep.c' || echo './'`cable/keithkoep.c
mv -f .deps/keithkoep.Tpo .deps/keithkoep.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT lattice.o -MD -MP -MF .deps/lattice.Tpo -c -o lattice.o `test -f 'cable/lattice.c' || echo './'`cable/lattice.c
mv -f .deps/lattice.Tpo .deps/lattice.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT mpcbdm.o -MD -MP -MF .deps/mpcbdm.Tpo -c -o mpcbdm.o `test -f 'cable/mpcbdm.c' || echo './'`cable/mpcbdm.c
mv -f .deps/mpcbdm.Tpo .deps/mpcbdm.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT triton.o -MD -MP -MF .deps/triton.Tpo -c -o triton.o `test -f 'cable/triton.c' || echo './'`cable/triton.c
mv -f .deps/triton.Tpo .deps/triton.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT wiggler.o -MD -MP -MF .deps/wiggler.Tpo -c -o wiggler.o `test -f 'cable/wiggler.c' || echo './'`cable/wiggler.c
mv -f .deps/wiggler.Tpo .deps/wiggler.Po
rm -f libtap.a
ar cru libtap.a tap.o register.o state.o chain.o parport.o direct.o ppdev.o cable.o generic.o arcom.o byteblaster.o dlc5.o ea253.o ei012.o keithkoep.o lattice.o mpcbdm.o triton.o wiggler.o
ranlib libtap.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
Making all in part
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT instruction.o -MD -MP -MF .deps/instruction.Tpo -c -o instruction.o instruction.c
mv -f .deps/instruction.Tpo .deps/instruction.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT data_register.o -MD -MP -MF .deps/data_register.Tpo -c -o data_register.o data_register.c
mv -f .deps/data_register.Tpo .deps/data_register.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT part.o -MD -MP -MF .deps/part.Tpo -c -o part.o part.c
mv -f .deps/part.Tpo .deps/part.Po
rm -f libpart.a
ar cru libpart.a signal.o instruction.o data_register.o bsbit.o part.o
ranlib libpart.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
Making all in bus
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT buses.o -MD -MP -MF .deps/buses.Tpo -c -o buses.o buses.c
mv -f .deps/buses.Tpo .deps/buses.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT au1500.o -MD -MP -MF .deps/au1500.Tpo -c -o au1500.o au1500.c
mv -f .deps/au1500.Tpo .deps/au1500.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bcm1250.o -MD -MP -MF .deps/bcm1250.Tpo -c -o bcm1250.o bcm1250.c
bcm1250.c: In function 'bcm1250_bus_write':
bcm1250.c:196: warning: array subscript is above array bounds
bcm1250.c: In function 'bcm1250_bus_read_start':
bcm1250.c:120: warning: array subscript is above array bounds
mv -f .deps/bcm1250.Tpo .deps/bcm1250.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ixp425.o -MD -MP -MF .deps/ixp425.Tpo -c -o ixp425.o ixp425.c
mv -f .deps/ixp425.Tpo .deps/ixp425.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT lh7a400.o -MD -MP -MF .deps/lh7a400.Tpo -c -o lh7a400.o lh7a400.c
mv -f .deps/lh7a400.Tpo .deps/lh7a400.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT mpc824x.o -MD -MP -MF .deps/mpc824x.Tpo -c -o mpc824x.o mpc824x.c
mv -f .deps/mpc824x.Tpo .deps/mpc824x.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT ppc440gx_ebc8.o -MD -MP -MF .deps/ppc440gx_ebc8.Tpo -c -o ppc440gx_ebc8.o ppc440gx_ebc8.c
mv -f .deps/ppc440gx_ebc8.Tpo .deps/ppc440gx_ebc8.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT pxa2x0.o -MD -MP -MF .deps/pxa2x0.Tpo -c -o pxa2x0.o pxa2x0.c
mv -f .deps/pxa2x0.Tpo .deps/pxa2x0.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sa1110.o -MD -MP -MF .deps/sa1110.Tpo -c -o sa1110.o sa1110.c
mv -f .deps/sa1110.Tpo .deps/sa1110.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT s3c4510x.o -MD -MP -MF .deps/s3c4510x.Tpo -c -o s3c4510x.o s3c4510x.c
mv -f .deps/s3c4510x.Tpo .deps/s3c4510x.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7727.o -MD -MP -MF .deps/sh7727.Tpo -c -o sh7727.o sh7727.c
mv -f .deps/sh7727.Tpo .deps/sh7727.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7750r.o -MD -MP -MF .deps/sh7750r.Tpo -c -o sh7750r.o sh7750r.c
mv -f .deps/sh7750r.Tpo .deps/sh7750r.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT sh7751r.o -MD -MP -MF .deps/sh7751r.Tpo -c -o sh7751r.o sh7751r.c
mv -f .deps/sh7751r.Tpo .deps/sh7751r.Po
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT tx4925.o -MD -MP -MF .deps/tx4925.Tpo -c -o tx4925.o tx4925.c
mv -f .deps/tx4925.Tpo .deps/tx4925.Po
rm -f libbus.a
ar cru libbus.a buses.o au1500.o bcm1250.o ixp425.o lh7a400.o mpc824x.o ppc440gx_ebc8.o pxa2x0.o sa1110.o s3c4510x.o sh7727.o sh7750r.o sh7751r.o tx4925.o
ranlib libbus.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
Making all in cmd
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT frequency.o -MD -MP -MF .deps/frequency.Tpo -c -o frequency.o frequency.c
mv -f .deps/frequency.Tpo .deps/frequency.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cable.o -MD -MP -MF .deps/cable.Tpo -c -o cable.o cable.c
mv -f .deps/cable.Tpo .deps/cable.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT reset.o -MD -MP -MF .deps/reset.Tpo -c -o reset.o reset.c
mv -f .deps/reset.Tpo .deps/reset.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT discovery.o -MD -MP -MF .deps/discovery.Tpo -c -o discovery.o discovery.c
mv -f .deps/discovery.Tpo .deps/discovery.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT detect.o -MD -MP -MF .deps/detect.Tpo -c -o detect.o detect.c
mv -f .deps/detect.Tpo .deps/detect.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.c
mv -f .deps/signal.Tpo .deps/signal.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT salias.o -MD -MP -MF .deps/salias.Tpo -c -o salias.o salias.c
mv -f .deps/salias.Tpo .deps/salias.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bit.o -MD -MP -MF .deps/bit.Tpo -c -o bit.o bit.c
mv -f .deps/bit.Tpo .deps/bit.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT register.o -MD -MP -MF .deps/register.Tpo -c -o register.o register.c
mv -f .deps/register.Tpo .deps/register.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT initbus.o -MD -MP -MF .deps/initbus.Tpo -c -o initbus.o initbus.c
mv -f .deps/initbus.Tpo .deps/initbus.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o print.c
print.c: In function 'cmd_print_run':
print.c:81: warning: format not a string literal and no format arguments
mv -f .deps/print.Tpo .deps/print.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT part.o -MD -MP -MF .deps/part.Tpo -c -o part.o part.c
mv -f .deps/part.Tpo .deps/part.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT bus.o -MD -MP -MF .deps/bus.Tpo -c -o bus.o bus.c
mv -f .deps/bus.Tpo .deps/bus.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT instruction.o -MD -MP -MF .deps/instruction.Tpo -c -o instruction.o instruction.c
mv -f .deps/instruction.Tpo .deps/instruction.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT shift.o -MD -MP -MF .deps/shift.Tpo -c -o shift.o shift.c
mv -f .deps/shift.Tpo .deps/shift.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT dr.o -MD -MP -MF .deps/dr.Tpo -c -o dr.o dr.c
mv -f .deps/dr.Tpo .deps/dr.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT get.o -MD -MP -MF .deps/get.Tpo -c -o get.o get.c
mv -f .deps/get.Tpo .deps/get.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT set.o -MD -MP -MF .deps/set.Tpo -c -o set.o set.c
mv -f .deps/set.Tpo .deps/set.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT endian.o -MD -MP -MF .deps/endian.Tpo -c -o endian.o endian.c
mv -f .deps/endian.Tpo .deps/endian.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT peekpoke.o -MD -MP -MF .deps/peekpoke.Tpo -c -o peekpoke.o peekpoke.c
mv -f .deps/peekpoke.Tpo .deps/peekpoke.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT readmem.o -MD -MP -MF .deps/readmem.Tpo -c -o readmem.o readmem.c
mv -f .deps/readmem.Tpo .deps/readmem.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT flashmem.o -MD -MP -MF .deps/flashmem.Tpo -c -o flashmem.o flashmem.c
mv -f .deps/flashmem.Tpo .deps/flashmem.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT eraseflash.o -MD -MP -MF .deps/eraseflash.Tpo -c -o eraseflash.o eraseflash.c
eraseflash.c: In function 'cmd_eraseflash_run':
eraseflash.c:52: warning: pointer targets in passing argument 2 of 'cmd_get_number' differ in signedness
mv -f .deps/eraseflash.Tpo .deps/eraseflash.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT script.o -MD -MP -MF .deps/script.Tpo -c -o script.o script.c
mv -f .deps/script.Tpo .deps/script.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT include.o -MD -MP -MF .deps/include.Tpo -c -o include.o include.c
mv -f .deps/include.Tpo .deps/include.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I../.. -I../../include  -g -O2 -Wall -MT cmd.o -MD -MP -MF .deps/cmd.Tpo -c -o cmd.o cmd.c
mv -f .deps/cmd.Tpo .deps/cmd.Po
rm -f libcmd.a
ar cru libcmd.a frequency.o cable.o reset.o discovery.o detect.o signal.o salias.o bit.o register.o initbus.o print.o part.o bus.o instruction.o shift.o dr.o get.o set.o endian.o peekpoke.o readmem.o flashmem.o eraseflash.o script.o include.o cmd.o
ranlib libcmd.a
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o jtag.o jtag.c
jtag.c: In function 'jtag_parse_stream':
jtag.c:206: warning: pointer targets in passing argument 2 of 'getline' differ in signedness
mv -f .deps/jtag.Tpo .deps/jtag.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT detect.o -MD -MP -MF .deps/detect.Tpo -c -o detect.o detect.c
mv -f .deps/detect.Tpo .deps/detect.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT discovery.o -MD -MP -MF .deps/discovery.Tpo -c -o discovery.o discovery.c
mv -f .deps/discovery.Tpo .deps/discovery.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT readmem.o -MD -MP -MF .deps/readmem.Tpo -c -o readmem.o readmem.c
readmem.c: In function 'readmem':
readmem.c:105: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'uint64_t'
readmem.c:108: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
mv -f .deps/readmem.Tpo .deps/readmem.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT flash.o -MD -MP -MF .deps/flash.Tpo -c -o flash.o flash.c
flash.c:67: error: static declaration of 'flash_driver' follows non-static declaration
../include/flash.h:31: error: previous declaration of 'flash_driver' was here
flash.c: In function 'flashmsbin':
flash.c:110: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:124: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:125: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:140: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:141: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:142: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:161: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:180: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:181: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:182: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
flash.c:201: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
make[3]: *** [flash.o] Error 1
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag'
make: *** [all] Error 2

うーん。makeが通らない・・・。
調べてみるとどうもGCC4系ではコンパイルが通らないらしい。
とりあえず、GCC3系をインストール。


root@bt:~/cvs-work/JTAGTOOL/jtag# aptitude install gcc-3.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  cpp-3.4{a} gcc-3.4 gcc-3.4-base{a}
0 packages upgraded, 3 newly installed, 0 to remove and 9 not upgraded.
Need to get 3389kB of archives. After unpacking 8827kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://archive.offensive-security.com pwnsauce/universe gcc-3.4-base 3.4.6-8ubuntu2 [165kB]
Get:2 http://archive.offensive-security.com pwnsauce/universe cpp-3.4 3.4.6-8ubuntu2 [1683kB]
Get:3 http://archive.offensive-security.com pwnsauce/universe gcc-3.4 3.4.6-8ubuntu2 [1541kB]
Fetched 3389kB in 17s (194kB/s)
Selecting previously deselected package gcc-3.4-base.
(Reading database ... 249672 files and directories currently installed.)
Unpacking gcc-3.4-base (from .../gcc-3.4-base_3.4.6-8ubuntu2_i386.deb) ...
Selecting previously deselected package cpp-3.4.
Unpacking cpp-3.4 (from .../cpp-3.4_3.4.6-8ubuntu2_i386.deb) ...
Selecting previously deselected package gcc-3.4.
Unpacking gcc-3.4 (from .../gcc-3.4_3.4.6-8ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up gcc-3.4-base (3.4.6-8ubuntu2) ...
Setting up cpp-3.4 (3.4.6-8ubuntu2) ...
Setting up gcc-3.4 (3.4.6-8ubuntu2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

完了。GCC3系に切り替えるために update-alternatives でGCCを設定する。


root@bt:~/cvs-work/JTAGTOOL/jtag# update-alternatives --config gcc
No alternatives for gcc.

あれ? gcc っていう設定項目がないって言われる。
というわけで、今後のために設定できるように gcc の項目を作成


root@bt:~/cvs-work/JTAGTOOL/jtag# dpkg -l | grep gcc | awk '{print $2}'
gcc
gcc-3.4
gcc-3.4-base
gcc-4.3
gcc-4.3-base
libgcc1
root@bt:~/cvs-work/JTAGTOOL/jtag# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 1
root@bt:~/cvs-work/JTAGTOOL/jtag# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 0

改めてgcc の設定項目を呼び出してみる。


root@bt:~/cvs-work/JTAGTOOL/jtag# update-alternatives --config gcc

There are 2 alternatives which provide `gcc'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/bin/gcc-3.4
          2    /usr/bin/gcc-4.3

Press enter to keep the default[*], or type selection number: 1
Using '/usr/bin/gcc-3.4' to provide 'gcc'.

gcc3.4 に切り替わったはずなので再度コンパイルしてみる。


root@bt:~/cvs-work/JTAGTOOL/jtag# make
make  all-recursive
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
Making all in libbrux
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make  all-recursive
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in po
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make libbrux.pot-update
make[5]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
/usr/bin/xgettext --default-domain=libbrux --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
          if test -f ./libbrux.pot; then \
            sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
            sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
            if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
              rm -f libbrux.1po libbrux.2po libbrux.po; \
            else \
              rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
              mv libbrux.po ./libbrux.pot; \
            fi; \
          else \
            mv libbrux.po ./libbrux.pot; \
          fi; \
        }
make[5]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
test -z "" || make
touch stamp-po
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make[4]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[4]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making all in doc
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/doc'
Making all in include
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/include'
Making all in data
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/data'
Making all in src
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making all in lib
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
Making all in tap
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
Making all in part
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
Making all in bus
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
Making all in cmd
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT flash.o -MD -MP -MF .deps/flash.Tpo -c -o flash.o flash.c
mv -f .deps/flash.Tpo .deps/flash.Po
gcc  -g -O2 -Wall   -o jtag jtag.o detect.o discovery.o readmem.o flash.o -Ltap -ltap -Lpart -lpart -Llib -ljtaglib -L../libbrux -lbrux -Lcmd -lcmd -L../libbrux -lbrux -Lbus -lbus  -lreadline
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include/openwince -I/usr/local/include/openwince/device -I/usr/local/include/openwince/arm -I.. -I../include  -g -O2 -Wall -MT bsdl2jtag.o -MD -MP -MF .deps/bsdl2jtag.Tpo -c -o bsdl2jtag.o bsdl2jtag.c
mv -f .deps/bsdl2jtag.Tpo .deps/bsdl2jtag.Po
gcc  -g -O2 -Wall   -o bsdl2jtag bsdl2jtag.o  -lreadline
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making all in po
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/po'
make jtag.pot-update
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
/usr/bin/xgettext --default-domain=jtag --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f jtag.po || { \
          if test -f ./jtag.pot; then \
            sed -f remove-potcdate.sed < ./jtag.pot > jtag.1po && \
            sed -f remove-potcdate.sed < jtag.po > jtag.2po && \
            if cmp jtag.1po jtag.2po >/dev/null 2>&1; then \
              rm -f jtag.1po jtag.2po jtag.po; \
            else \
              rm -f jtag.1po jtag.2po ./jtag.pot && \
              mv jtag.po ./jtag.pot; \
            fi; \
          else \
            mv jtag.po ./jtag.pot; \
          fi; \
        }
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/po'
test -z "fi.gmo fr.gmo rw.gmo sk.gmo" || make fi.gmo fr.gmo rw.gmo sk.gmo
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/po'
/usr/bin/msgmerge --update fi.po jtag.pot
................................................ done.
rm -f fi.gmo && /usr/bin/msgfmt -c --statistics -o fi.gmo fi.po
272 translated messages, 18 fuzzy translations, 3 untranslated messages.
/usr/bin/msgmerge --update fr.po jtag.pot
................................................ done.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
272 translated messages, 18 fuzzy translations, 3 untranslated messages.
/usr/bin/msgmerge --update rw.po jtag.pot
............................................... done.
rm -f rw.gmo && /usr/bin/msgfmt -c --statistics -o rw.gmo rw.po
3 translated messages, 226 fuzzy translations, 64 untranslated messages.
/usr/bin/msgmerge --update sk.po jtag.pot
................................................ done.
rm -f sk.gmo && /usr/bin/msgfmt -c --statistics -o sk.gmo sk.po
272 translated messages, 18 fuzzy translations, 3 untranslated messages.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/po'
touch stamp-po
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/po'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag'

OK.
無事コンパイル通るようになった。
というわけで make install を実行。


root@bt:~/cvs-work/JTAGTOOL/jtag# make install
Making install in libbrux
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making install in po
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make libbrux.pot-update
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
/usr/bin/xgettext --default-domain=libbrux --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
          if test -f ./libbrux.pot; then \
            sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
            sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
            if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
              rm -f libbrux.1po libbrux.2po libbrux.po; \
            else \
              rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
              mv libbrux.po ./libbrux.pot; \
            fi; \
          else \
            mv libbrux.po ./libbrux.pot; \
          fi; \
        }
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
test -z "" || make
touch stamp-po
/bin/sh @MKINSTALLDIRS@ /usr/local/share
/bin/sh: @MKINSTALLDIRS@: No such file or directory
make[2]: *** [install-data-yes] Error 127
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make: *** [install-recursive] Error 1

あぁ、インストールが通らない。
Path が違うみたいなので、とりあえず直接指定してみる。


root@bt:~/cvs-work/JTAGTOOL/jtag# vi ./libbrux/po/Makefile

下記の内容に修正。


prefix = /usr/local
exec_prefix = ${prefix}
datadir = ${prefix}/share
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/po

INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
#MKINSTALLDIRS = @MKINSTALLDIRS@
MKINSTALLDIRS = $(top_builddir)/../tools/mkinstalldirs
mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)

GMSGFMT = /usr/bin/msgfmt
MSGFMT = /usr/bin/msgfmt

今度こそ。


root@bt:~/cvs-work/JTAGTOOL/jtag# make install
Making install in libbrux
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making install in po
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make libbrux.pot-update
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
/usr/bin/xgettext --default-domain=libbrux --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='ETC s.r.o.' \
          --msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
          if test -f ./libbrux.pot; then \
            sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
            sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
            if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
              rm -f libbrux.1po libbrux.2po libbrux.po; \
            else \
              rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
              mv libbrux.po ./libbrux.pot; \
            fi; \
          else \
            mv libbrux.po ./libbrux.pot; \
          fi; \
        }
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
test -z "" || make
touch stamp-po
/bin/sh ../../tools/mkinstalldirs /usr/local/share
if test "libbrux" = "gettext-tools"; then \
          /bin/sh ../../tools/mkinstalldirs /usr/local/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /usr/local/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /usr/local/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux/po'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/libbrux'
Making install in doc
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/doc'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/doc'
Making install in include
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/include'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/include'
Making install in data
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/jtag" || /bin/mkdir -p "/usr/local/share/jtag"
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'MANUFACTURERS' '/usr/local/share/jtag/MANUFACTURERS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'altera/PARTS' '/usr/local/share/jtag/altera/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'altera/ep1c20f400/STEPPINGS' '/usr/local/share/jtag/altera/ep1c20f400/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'altera/ep1c20f400/ep1c20f400' '/usr/local/share/jtag/altera/ep1c20f400/ep1c20f400'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'altera/epm7128aetc100/STEPPINGS' '/usr/local/share/jtag/altera/epm7128aetc100/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'altera/epm7128aetc100/epm7128aetc100' '/usr/local/share/jtag/altera/epm7128aetc100/epm7128aetc100'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'atmel/PARTS' '/usr/local/share/jtag/atmel/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'atmel/atmega128/STEPPINGS' '/usr/local/share/jtag/atmel/atmega128/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'atmel/atmega128/atmega128' '/usr/local/share/jtag/atmel/atmega128/atmega128'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/PARTS' '/usr/local/share/jtag/broadcom/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm1250/STEPPINGS' '/usr/local/share/jtag/broadcom/bcm1250/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm1250/bcm1250' '/usr/local/share/jtag/broadcom/bcm1250/bcm1250'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm3310/STEPPINGS' '/usr/local/share/jtag/broadcom/bcm3310/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm3310/bcm3310' '/usr/local/share/jtag/broadcom/bcm3310/bcm3310'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm5421s/STEPPINGS' '/usr/local/share/jtag/broadcom/bcm5421s/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'broadcom/bcm5421s/bcm5421s' '/usr/local/share/jtag/broadcom/bcm5421s/bcm5421s'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'dec/PARTS' '/usr/local/share/jtag/dec/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'dec/sa1100/STEPPINGS' '/usr/local/share/jtag/dec/sa1100/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'dec/sa1100/sa1100' '/usr/local/share/jtag/dec/sa1100/sa1100'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/PARTS' '/usr/local/share/jtag/hitachi/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/hd64465/hd64465' '/usr/local/share/jtag/hitachi/hd64465/hd64465'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/sh7727/STEPPINGS' '/usr/local/share/jtag/hitachi/sh7727/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/sh7727/sh7727' '/usr/local/share/jtag/hitachi/sh7727/sh7727'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/sh7729/STEPPINGS' '/usr/local/share/jtag/hitachi/sh7729/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'hitachi/sh7729/sh7729' '/usr/local/share/jtag/hitachi/sh7729/sh7729'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'ibm/PARTS' '/usr/local/share/jtag/ibm/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'ibm/ppc440gx/STEPPINGS' '/usr/local/share/jtag/ibm/ppc440gx/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'ibm/ppc440gx/ppc440gx' '/usr/local/share/jtag/ibm/ppc440gx/ppc440gx'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/PARTS' '/usr/local/share/jtag/intel/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/pxa250/STEPPINGS' '/usr/local/share/jtag/intel/pxa250/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/pxa250/pxa250' '/usr/local/share/jtag/intel/pxa250/pxa250'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/pxa250/pxa250c0' '/usr/local/share/jtag/intel/pxa250/pxa250c0'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/sa1110/STEPPINGS' '/usr/local/share/jtag/intel/sa1110/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/sa1110/sa1110' '/usr/local/share/jtag/intel/sa1110/sa1110'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/ixp425/STEPPINGS' '/usr/local/share/jtag/intel/ixp425/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'intel/ixp425/ixp425' '/usr/local/share/jtag/intel/ixp425/ixp425'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/PARTS' '/usr/local/share/jtag/lattice/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/lc4032v-tqfp48/STEPPINGS' '/usr/local/share/jtag/lattice/lc4032v-tqfp48/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/lc4032v-tqfp48/lc4032v-tqfp48' '/usr/local/share/jtag/lattice/lc4032v-tqfp48/lc4032v-tqfp48'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/m4a3-256.192-fpbga256/STEPPINGS' '/usr/local/share/jtag/lattice/m4a3-256.192-fpbga256/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/m4a3-256.192-fpbga256/m4a3-256.192-fpbga256' '/usr/local/share/jtag/lattice/m4a3-256.192-fpbga256/m4a3-256.192-fpbga256'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/m4a3-64.32-tqfp48/STEPPINGS' '/usr/local/share/jtag/lattice/m4a3-64.32-tqfp48/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'lattice/m4a3-64.32-tqfp48/m4a3-64.32-tqfp48' '/usr/local/share/jtag/lattice/m4a3-64.32-tqfp48/m4a3-64.32-tqfp48'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'motorola/mpc8245/1.2' '/usr/local/share/jtag/motorola/mpc8245/1.2'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'philips/PARTS' '/usr/local/share/jtag/philips/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'philips/xcr3128xl-cs144/STEPPINGS' '/usr/local/share/jtag/philips/xcr3128xl-cs144/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'philips/xcr3128xl-cs144/xcr3128xl-cs144' '/usr/local/share/jtag/philips/xcr3128xl-cs144/xcr3128xl-cs144'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'philips/xcr3128xl-vq100/STEPPINGS' '/usr/local/share/jtag/philips/xcr3128xl-vq100/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'philips/xcr3128xl-vq100/xcr3128xl-vq100' '/usr/local/share/jtag/philips/xcr3128xl-vq100/xcr3128xl-vq100'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'samsung/s3c4510b/s3c4510b' '/usr/local/share/jtag/samsung/s3c4510b/s3c4510b'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'sharp/PARTS' '/usr/local/share/jtag/sharp/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'sharp/lh7a400/STEPPINGS' '/usr/local/share/jtag/sharp/lh7a400/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'sharp/lh7a400/lh7a400' '/usr/local/share/jtag/sharp/lh7a400/lh7a400'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'toshiba/PARTS' '/usr/local/share/jtag/toshiba/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'toshiba/tx4925/STEPPINGS' '/usr/local/share/jtag/toshiba/tx4925/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'toshiba/tx4925/tx4925' '/usr/local/share/jtag/toshiba/tx4925/tx4925'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'toshiba/tx4926/STEPPINGS' '/usr/local/share/jtag/toshiba/tx4926/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'toshiba/tx4926/tx4926' '/usr/local/share/jtag/toshiba/tx4926/tx4926'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/PARTS' '/usr/local/share/jtag/xilinx/PARTS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3032xl-vq44/STEPPINGS' '/usr/local/share/jtag/xilinx/xcr3032xl-vq44/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3032xl-vq44/xcr3032xl-vq44' '/usr/local/share/jtag/xilinx/xcr3032xl-vq44/xcr3032xl-vq44'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3128xl-cs144/STEPPINGS' '/usr/local/share/jtag/xilinx/xcr3128xl-cs144/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3128xl-cs144/xcr3128xl-cs144' '/usr/local/share/jtag/xilinx/xcr3128xl-cs144/xcr3128xl-cs144'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3128xl-vq100/xcr3128xl-vq100' '/usr/local/share/jtag/xilinx/xcr3128xl-vq100/xcr3128xl-vq100'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3256xl-ft256/STEPPINGS' '/usr/local/share/jtag/xilinx/xcr3256xl-ft256/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xcr3256xl-ft256/xcr3256xl-ft256' '/usr/local/share/jtag/xilinx/xcr3256xl-ft256/xcr3256xl-ft256'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xc2c256-tq144/STEPPINGS' '/usr/local/share/jtag/xilinx/xc2c256-tq144/STEPPINGS'
 /bin/sh /root/cvs-work/JTAGTOOL/jtag/tools/install-sh -c -m 644 'xilinx/xc2c256-tq144/xc2c256-tq144' '/usr/local/share/jtag/xilinx/xc2c256-tq144/xc2c256-tq144'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/data'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/data'
Making install in src
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making install in lib
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/lib'
Making install in tap
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/tap'
Making install in part
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/part'
Making install in bus
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/bus'
Making install in cmd
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src/cmd'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[3]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c 'jtag' '/usr/local/bin/jtag'
  /usr/bin/install -c 'bsdl2jtag' '/usr/local/bin/bsdl2jtag'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/src'
Making install in po
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag/po'
/bin/sh ../tools/mkinstalldirs /usr/local/share
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/jtag.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/jtag.mo
installing rw.gmo as /usr/local/share/locale/rw/LC_MESSAGES/jtag.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/jtag.mo
if test "jtag" = "gettext-tools"; then \
          /bin/sh ../tools/mkinstalldirs /usr/local/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /usr/local/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /usr/local/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag/po'
make[1]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
make[2]: Entering directory `/root/cvs-work/JTAGTOOL/jtag'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag'
make[1]: Leaving directory `/root/cvs-work/JTAGTOOL/jtag'

無事、インストールまで完了したがBSDLファイルがコピーされていないらしいので、コピー


root@bt:~/cvs-work/JTAGTOOL/jtag# cp -R data/motorola/mpc8241 /usr/local/share/jtag/motorola/

これで、準備完了JTAGが起動できるか確認。


root@bt:~/cvs-work/JTAGTOOL/jtag# jtag

これで、準備完了JTAGが起動できるか確認。


JTAG Tools 0.6
Copyright (C) 2002, 2003 ETC s.r.o.
JTAG Tools is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for JTAG Tools.

Warning: JTAG Tools may damage your hardware! Type "quit" to exit!

Type "help" for help.

jtag>

無事起動できたので次は本体にピンヘッダとかつけないとな。

PSPのバックライトヒューズの交換

PSPのバックライトヒューズの位置
PSP-1000の画面が突如表示されなくなった。
音は聞こえるし、ボタンも効いてる音がする。

目を凝らしてみると、薄ーく表示はされていた。

この状況からバックライトが切れたとの推測をしてネットで情報を調べると
さすが先駆者がいらっしゃる。

丁寧にバックライトのヒューズの位置まで公開してくれていたので
早速、分解し、ヒューズの導通を確認してみる。

デジタルマルチメーターでは反応なしだが、ヒューズ自体は1005サイズのチップヒューズで
そもそもちゃんと測れているのか分からなかった。
例えば、表面に薄い膜とかあったら測れないだろうし。

駄目元で交換してみることにした。
交換対象はF4501の0.5Aのヒューズ。
まず、方針として交換することを考えていたけれど半田が思うように溶けず断念。
そこで、並列につけることにした。
これなら、厳密にはこれもよろしくないのだが(既存のヒューズが生きていた場合、電流が分割されるため)、
この作業でバックライトが復旧したなら、ヒューズは切れているものと考えられるし、
駄目なら別に原因があるものとして、外せばいいので。

で、作業を行ったところ無事バックライトが復旧。
再びPSPで遊べるようになった。

玄箱の電源修理

玄箱の電源回路のヒューズリード付きヒューズ
玄箱の電源プラグを差したまま、誤って電源に触れてしまい、ヒューズを切ってしまったのでその修理作業をメモ

玄箱は初代の無印のもの。
電源プラグを抜いたつもりだったけれど実際に抜いたのは別の電源プラグで、玄箱の電源は抜けていなかった。
抜けているものとして作業をしたために電源のヒューズと抵抗の足に触れてしまい青い火花が散った。

しびれる手には目もくれず慌てて、故障してないか確認するために電源を投入するも案の定電源は入らず。
そう、玄箱の電源がお逝きになられた。こうなったら後の祭り。

へこみながらネットで情報を探してみると同じくショートさせてしまった人がいて
ヒューズを交換して復旧していた。

とりあえず、自分の場合もヒューズ切れでは?と思いデジタルマルチメータでヒューズ(F1)の導通を確認する。
結果、導通していない。つまりヒューズが切れている。
これはラッキーかもしれない。
というのもヒューズは保護回路で過剰電流や過剰電圧、異常温度になったときに回路が損傷しないように回路を遮断するためのものだから、ほかの部分が損傷してない可能性があるってことでラッキーかもしれない。
逆にヒューズの導通が確認できると、その他の部分が損傷していることになり、原因の特定が難しい。

さて、ネットの情報をもとにリード付きヒューズの3Aを秋葉原で探したところラジオセンターの小沼にあった。
2個で150円だった。さすが秋葉原だなぁと思いながら帰路につき、早速交換作業を行うと発覚した問題が

というのも、元々ついてヒューズはよく見ると2Aと書いてある。
ヒューズ自体は回路をつなぐだけのものだから3Aでも動くけれど、過電流際に2Aだったのもが3Aまで正常となってしまう。
これでは、過電流の際にヒューズ以外の部分を損傷する可能性が生まれるため、新たに交換する人は2Aを購入するように。

なお、購入したリード付きヒューズのリードは少し太めだったけれど問題なく換装できた。
そして、電源を投入すると無事起動できることを確認した。

2Aのリード付きヒューズを見つけたら交換しよう・・・

[VS]ソフトウェア発行元証明書の作成と署名

作成物に証明書を署名するための作成方法と署名方法をメモ。

自己署名証明書とか、オレオレ証明書とかいわれるものでVSTOのインストールにClickOnceを使用する場合、必要なもの。
使用するツールはWindowsSDKに含まれている。

  • 作成方法
    
    rem 1.====
    rem CA:Certificate Authority:認証局証明書
    rem  会社名 : MoonWing
    rem  組織名 : MoonWing Authority Root CA
    rem  県  名 : Tokyo
    rem  国  名 : JP
    rem 有効期限: 2012.12.31
    "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\makecert" -r -n "C=JP, S=Tokyo, OU=MoonWing Authority Root CA, O=MoonWing" -e 12/31/2012 -a sha1 -cy authority -sv moonwingCA.pvk moonwingCA.cer
    rem 秘密キーのパスワードの作成:Subject Key:rootCA
    rem 秘密キーのパスワードの入力:Subject Key:rootCA
    
    rem 2.====
    rem EE:End Entity:署名用証明書
    rem コモン名: MoonWing
    rem  会社名 : MoonWing
    rem  組織名 : MoonWing Development
    rem  県  名 : Tokyo
    rem  国  名 : JP
    rem 有効期限: 2012.12.31
    "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\makecert" -n "CN=MoonWing, C=JP, S=Tokyo, O=MoonWing, OU=MoonWing Development" -e 12/31/2012 -sv moonwing.pvk -ic moonwingCA.cer -iv moonwingCA.pvk -nscp -cy end moonwing.cer
    rem 秘密キーのパスワードの作成:Subject Key:endEntity
    rem 秘密キーのパスワードの入力:Subject Key:endEntity
    rem 秘密キーのパスワードの入力:Issuer Signature:rootCA
    
    rem 3.====
    rem SPC:Software Publisher's Certificate:ソフトウェア発行元証明書
    "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\Cert2SPC" moonwing.cer moonwingCA.cer moonwing.spc
    
    rem 4.====
    rem PFX:Personal Information Exchange:PKCS#12
    rem  -pi(pvkpassword):endEntity
    rem  -po(pfxpassword):SPC
    "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\pvk2pfx" -pvk moonwing.pvk -pi endEntity -spc moonwing.spc -pfx moonwing.pfx -po SPC
    
  • 署名方法
    
    rem 5.====
    rem target.exeへ署名
    rem  -t(time stamp server):http://timestamp.verisign.com/scripts/timstamp.dll
    rem  -p(pfxpassword):SPC
    "%ProgramFiles%\Microsoft SDKs\Windows\v7.1\Bin\signtool" sign /f moonwing.pfx /a /t http://timestamp.verisign.com/scripts/timstamp.dll /p SPC target.exe
    

[Tool]Mercurial(マーキュリアル)の導入

GoogleCodeでも使用されている分散型バージョン管理システム。
以前は、集中型バージョン管理システムのSubversionを使用していたが
個人用途なのにいちいちサーバーとして動作させるのが好きではなかったので
そそくさと、こちらに移行。

導入といっても、「TortoiseHg(with Mercurial)」をインストールし、下記のレジストリを追加

  • %ProgramFiles%\TortoiseHg\i18n\cmenu\thg-cmenu-ja.reg

この時点で、右クリックで表示されるコンテキストメニューは日本語になっていたが、
設定画面は英語だったので日本語化するためにユーザー環境変数に下記の設定を追加する。

  • 変数名:LANG
  • 変数値:ja

リポジトリをコンテキストメニューで作成して利用開始。
「$Id$」をコミット時に展開するためにコマンドプロンプトから
リポジトリ内(“.hg”があるディレクトリ)で下記のコマンドを実行

hg kwexpand


エラーが出ていないことが確認できたらコミットして展開されるか確認。

“hgrc”に下記の指定が必要だったかどうかは覚えていないがメモ。

[extensions]
hgext.keyword =

[keyword]
* =

宇宙の事典を読み終えて

[amazon asin=”4816336575″][/amazon]

無人探査機「はやぶさ」がイトカワの物質を0.01mm以下だったとしても持ち帰れた快挙を成し遂げ、
宇宙への関心が高まっている中、宇宙初心者にお勧めできる本。

写真やイラストが大きく一見子供向けな本かと思ったらなかなか難しいことも書いている。
特殊相対性理論とかひも理論とかにも触れらている。
といっても、解説はされていないため、入口として使用する必要がある。

この本には、2004年の最新情報が乗っている。
もちろん、2010年になった今、この中身とはまた違う考え方も存在しているだろう。
けれど、その時の主流の考え方を知ることは今の主流の考え方を理解する上で役に立つと思うし、
変わらないものもたくさん詰まっているので、やはり入門書しては最適だと思う。

個人的に楽しめたのはブラックホール天体についてとか、暗黒物質存在、
それに何より、水星での太陽の動きについての記述がとても新鮮だった。
天王星や海王星に触れられいているし、ほんとうに知らないことたくさん知れて楽しめた。
とても満足できる本。

[VS]Office AddinのインストーラがVSTOのインストールに失敗する

VisuatlStudio2010 + .NetFramework3.5でOffice2007のアドインを作成し、Setupを下記のサイトを参考に作成したときのメモ。

かなり役に立つので必読です。

上記の記事を参考にすることで、AddinとSetupがパッケージぽい形になるかと思います。
自分が作成した際には熟読してないがために下記の2点が抜けていました。

  • レジストリへ登録の作成
  • Inclusion Listへの登録処理作成

ちなみに起動条件の作成時にVSTOの日本語ランゲージパックを追加しようとしたのですがうまくいきませんでした。
Oracで取得したComponentIDが正しいかどうかすら確認できず、とりあえず、必須制限からはずしました。

VM上でインストーラのテストを行ったところインストールは完了するもののうまくアドインが動作しません。
ログを出すためにユーザー環境変数に以下の2つを追加しました。

  • VSTO_SUPPRESSDISPLAYALERTS:0
  • VSTO_LOGALERTS:1

(参考:アプリケーション レベルのプロジェクトのデバッグ

ログを追いかけてみてわかったことは2つありました。

  1. Setup.msiでは必須コンポーネントがインストールされない
  2. VSTO4.0ランゲージパックのダウンロードに失敗する

1つ目は、最初に示した参考サイト内にちゃんと書かれていました。

Setup.exe をダブルクリックしてソリューションをインストールする代わりに、.msi ファイルをダブルクリックしてソリューションをインストールする方法も選択できます。このモードでは、ユーザーはブートストラップを実行しません。そのため、セットアップは依存関係を検出できず、必要に応じた必須コンポーネントのインストールも行いません。

つまり、Setup.exeでインストールしないといけないということで、Setup.exeは必須コンポーネントインストール後にSetup.msiを実行すると。
といわけで、VisualStudioのSetupプロジェクトの「必須コンポーネント」プロパティはSetup.exeに作用するだけで、別途Setup.msiが必須コンポーネントの存在しない場合に起動しないようにするための起動条件は手動で作成しなければならないとのことです。しっかり読んでいたならこんなところでは引っかからなかったのでしょうが。

2つ目はインストーラのログを読んでVSTO4.0日本語ランゲージパックのダウンロードに失敗していました。
具体的には下記の2つのURLです。

  • http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411
  • http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411

上記のURLは確かにリダイレクト先が存在しないようで、このURLはどこで設定されているかを調べてみました。
その結果、レジストリの

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GenericBootstrapper\3.5

に記載されているPath内(多分WindowsSDK内)にあるBootstrapperと呼ばれるものの中で定義されているようです。

実際に自分の環境のBootstrapper/VSTO4.0日本語ランゲージは

  • C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\VSTOR40\ja\package.xml

にURLが記載されていていました。

ここは、本来手を入れるべきではない場所でしたが実験でURLを下記のように書き換えてみたところ、無事インストールを成功させることができました。


--- before/package.xml
+++ after/package.xml
@@ -61,7 +61,7 @@
     Microsoft Visual Studio 2010 Tools for Office Runtime (x86 および x64) Language Pack - 日本語のインストール中にエラーが発生しました。
     http://go.microsoft.com/fwlink/?LinkId=158917
     http://go.microsoft.com/fwlink/?LinkId=158918
-    http://go.microsoft.com/fwlink/?LinkId=158919&clcid=0x411
-    http://go.microsoft.com/fwlink/?LinkId=158920&clcid=0x411
+    http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x86_jpn.exe
+    http://download.microsoft.com/download/8/D/1/8D139084-948F-45F7-A014-71A90E2572EC/vstor40_LP_x64_jpn.exe
   
 

とりあえず、Microsoftからの修正がでるまではこの対応ではこの対応で乗り切れると思います。
たしか、VSTO3.0でも同様にv6.0A内のBootstrapperの日本語ランゲージへのURLも同じように存在しない場所を指してたような。
(参考:まなBlog)

それと、小さな注意点がありました。
Windows7で開発していたため、package.xmlを書き換えるには管理者権限が必要でした。
ふだん使っているエディタを管理者権限で起動しなおすのは手間だと思い、メモ帳を管理者権限で立ち上げ、URLを修正したのが問題となりました。
というのも、このpackage.xmlはUTF-8のBOMなし(UTF-8N)で作成されているのですが、Windows付属のメモ帳ではBOMありでUTF-8を保存してしまうようで、
Setupをリビルドした際に下記の警告が表示され、実際インストーラはランゲージパックをインストールしない挙動に変わってしまいました。


警告: カルチャ 'ja-JP' を項目 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' に対して一致できませんでした。カルチャ 'en' を使用します。

package.xmlをUTF-8Nで保存し、BOMがないことと文字化けしていないことを確認して再ビルドしたところ警告もなくなり、ランゲージパックのインストールも主なわれるようになりました。

また、今回は必要とならなかったけれど関連のある参考サイトもメモ

[VS]PIA対応バージョンまとめ

PIAのバージョンとOfficeのバージョンと.NetFrameworkのバージョンの表をVSTO表のついでに作成。
PIAとはPrimaryInteropAssemblyことで・・・詳細はMicrosoftにお尋ねください。

PIA 対応Office 対応.NetFramework 対応Windows
XP XP 1.1 XP
2003 2003 1.1 2000 SP3,XP,Server 2003
2007 2007 1.1 2000 SP4,XP SP2,Server 2003
2010 2010 2.0 or higher 2000 SP4,XP SP2,Server 2003,Vista,7,Server 2008

[VS]VSTO対応バージョンまとめ

VSTOのバージョンとOfficeのバージョンと.NetFrameworkのバージョンの表がほしくなったので作成。
VSTOとは

  • Microsoft Visual Studio 2005 Tools for Office Second Edition Runtime
  • Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System
  • Microsoft Visual Studio Tools for the Microsoft Office system (Version 3.0 Runtime)
  • Microsoft Visual Studio 2010 Tools for the Microsoft Office System (Version 4.0 Runtime)

と微妙に名前が変わっているOffice拡張用コンポーネントのことです。
基本的には上記の2個目を省いた以下の3つあれば問題ないはず。
(というか、3個目も省いていいかも、結局2個で2003,2007,2010に対応できることになるわけだし。)

Vsto 対応Office 対応.NetFramework 対応VisualStduio 対応Windows
2005 SE 2003,2007 2.0 2005 2000,XP,Server 2003,Vista,7,Server 2008
3.0 2007 3.5 SP1 2008 2000,XP,Server 2003,Vista,7,Server 2008
4.0 2007,2010 3.5 SP1 2010 XP,Server 2003,Vista,7,Server 2008