玄箱」タグアーカイブ

[玄箱]GCCのインストール

GCCをインストールするが、3.4系とデフォルト(4.3系)の2バージョンをインストール

KURO-BOX:~# aptitude install gcc gcc-3.4

インストールが終わったら切り替えれるようにupdate-alternativesで設定
・・・とはいえ、下記のコマンドで確認してみる

KURO-BOX:~# update-alternatives --display gcc
No alternatives for gcc.

ないみたい。別の名前で存在してるかもと下記のコマンドで設定できるものすべてを設定してみる

KURO-BOX:~# update-alternatives --all

やっぱりないみたい。
なので、手動で追加(グループ名は”gcc”とした。)

KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 34 --slave /usr/bin/cpp cpp /usr/bin/cpp-3.4 --slave /usr/bin/gcov gcov /usr/bin/gcov-3.4
KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 43 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.3 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.3

デフォルトでgcc-3.4を使うように設定

KURO-BOX:~# 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'.

[玄箱]openwince/JTAG実行

玄箱にJTAG接続
とりあえず、読みだしてみる。


root@bt:~/# 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> cable parallel 0x378 DLC5
Initializing Xilinx DLC5 JTAG Parallel Cable III on parallel port at 0x378
jtag> detect
IR length: 8
Chain length: 1
Device Id: 0
chain.c(110) Part 0 without active instruction
chain.c(133) Part 0 without active instruction
chain.c(110) Part 0 without active instruction
jtag> include motorola/mpc8241/1.2
jtag> endian big
jtag> instruction SAMPLE/PRELOAD
jtag> shift ir
jtag> shift dr
jtag> dr
010111110000110011011111000010000000000000000000000000000000000000000000010000000000000000000000000000001111010101100000000000000000000000000000000010011000000000001000000000000000010010000011000000100011110110011101111111111110000100100000000000000000000100100000000000011111111110111111111111010111101111010001111011000101100000001001011111110010001010000000000100001010110110001000101010011101000000000000000000000000000000000000000000000100011111010111111110001110010001111101111111000000000000000000000
jtag> instruction EXTEST
jtag> shift ir
jtag> initbus mpc824x
jtag> detectflash 0xffc00000
jedec_detect: mid 0, did 0
Flash not found!
jtag> flashmem 0xfff00000 /usr/local/share/jtag/bootcode.bin
no flash driver found
jtag> readmem 0xffc00000 1000 testrom.bin
address: 0xFFC00000
length:  0x000003E8
reading:
addr: 0xFFC003E8
Done.
jtag> quit
root@bt:~/# od -xa testrom.bin
0000000 4040 4140 4040 4150 554b 4f52 426d 584f
          @   @   @   A   @   @   P   A   K   U   R   O   m   B   O   X
0000020 4968 5445 5553 414e 4069 4040 4040 4040
          h   I   E   T   S   U   N   A   i   @   @   @   @   @   @   @
0000040 4040 4040 4040 4040 4c46 5341 6048 6e71
          @   @   @   @   @   @   @   @   F   L   A   S   H   `   q   n
0000060 4071 4040 4040 4040 4040 4040 4040 4040
          q   @   @   @   @   @   @   @   @   @   @   @   @   @   @   @
0000100 4040 4040 4040 4040 4140 4240 4040 4468
          @   @   @   @   @   @   @   @   @   A   @   B   @   @   h   D
0000120 4b50 696e 6b40 7a71 604c 4169 4040 6c40
          P   K   n   i   @   k   q   z   L   `   i   A   @   @   @   l
0000140 4a40 c7fa 4a40 f3fa 6040 4776 cb5f 4848
          @   J   z   G   @   J   z   s   @   `   v   G   _   K   H   H
0000160 4950 407f 4342 6d76 696c 756e 4078 5cec
          P   I del   @   B   C   v   m   l   i   n   u   x   @   l   \
0000200 704d d753 7ed5 d24f c241 486e 63d0 6e41
          M   p   S   W   U   ~   O   R   A   B   n   H   P   c   A   n
0000220 c1d6 7664 5850 58c7 ccfa c845 e47f dfcf
          V   A   d   v   P   X   G   X   z   L   E   H del   d   O   _
0000240 dc64 fded 76c9 6b64 7b63 71c1 444d 6762
          d   \   m   }   I   v   d   k   c   {   A   q   M   D   b   g
0000260 e4cf 7e49 44f2 cec7 44d0 61fe db77 44d2
          O   d   I   ~   r   D   G   N   P   D   ~   a   w   [   R   D
0000300 edc0 5dc5 43f6 d85b 5366 5172 dfd6 61f1
          @   m   E   ]   v   C   [   X   f   S   r   Q   V   _   q   a
0000320 e5dd ec74 7b58 dad9 ccc1 f2d0 71d9 d87e
          ]   e   t   l   X   {   Y   Z   A   L   P   r   Y   q   ~   X
0000340 e1f0 fb47 e7dd 4367 644e e6e9 72cd 65e3
          p   a   G   {   ]   g   g   C   N   d   i   f   M   r   c   e
0000360 cee6 f77b f3de 7dee df7f f779 c7dc 7dde
          f   N   {   w   ^   s   n   } del   _   y   w   \   G   ^   }
0000400 e444 dbd1 7ad2 5643 d95e 6b6d cd6f d5d5
          D   d   Q   [   R   z   C   V   ^   Y   m   k   o   M   U   U
0000420 eff7 d5d1 65cb 5972 e5c6 55dc 65eb defa
          w   o   Q   U   K   e   r   Y   F   e   \   U   k   e   z   ^
0000440 6847 68cd e16f d7dd c7e8 6b4f cecf 5dd0
          G   h   M   h   o   a   ]   W   h   G   O   k   O   N   P   ]
0000460 78e1 4d79 ee44 d076 c553 4ef0 72f1 58c3
          a   x   y   M   D   n   v   P   S   E   p   N   q   r   C   X
0000500 5173 6b5c dc6e 4cea c677 5156 d3d5 fa6d
          s   Q   \   k   n   \   j   L   w   F   V   Q   U   S   m   z
0000520 506f cce9 7e45 e6c5 edd2 5fc1 c457 d9dc
          o   P   i   L   E   ~   E   f   R   m   A   _   W   D   \   Y
0000540 4b6c 6d65 e6d9 45e6 52fb ceee f46d e3f3
          l   K   e   m   Y   f   f   E   {   R   n   N   m   t   s   c
0000560 ed44 78ed eb4f d142 58ca defa efc0 7d70
          D   m   m   x   O   k   B   Q   J   X   z   ^   @   o   p   }
0000600 f541 4dc1 ee46 4347 467d 6fee 444d 7ef5
          A   u   A   M   F   n   G   C   }   F   n   o   M   D   u   ~
0000620 6077 50c0 5c4b c474 d962 cd64 606c e45b
          w   `   @   P   K   \   t   D   b   Y   d   M   l   `   [   d
0000640 ecd6 d2f8 416b 62dc d46d d95b ce42 7ec8
          V   l   x   R   k   A   \   b   m   T   [   Y   B   N   H   ~
0000660 c86a e0dc c8c2 7279 75ca 5d64 5ae4 4be7
          j   H   \   `   B   H   y   r   J   u   d   ]   d   Z   g   K
0000700 ef74 4e65 d555 7271 d7ff f2de 45df 6bf9
          t   o   e   N   U   U   q   r del   W   ^   r   _   E   y   k
0000720 e4f6 fcdb 4ec1 ec43 f569 c7db ed7d e74a
          v   d   [   |   A   N   C   l   i   u   [   G   }   m   J   g
0000740 f661 e1f7 5fe7 44d3 42d3 f5ec 607a 4ee3
          a   v   w   a   g   _   S   D   S   B   l   u   z   `   c   N
0000760 c7d9 ccf0 d4de fede 53e6 43d3 e762 78f2
          Y   G   p   L   ^   T   ^   ~   f   S   S   C   b   g   r   x
0001000 d7fd 77d0 d5d5 60ed d3ff 6e43 c76a 62ec
          }   W   P   w   U   U   m   ` del   S   C   n   j   G   l   b
0001020 47c2 e0e0 f26b 5864 594b fe56 dc4f 5379
          B   G   `   `   k   r   d   X   K   Y   V   ~   O   \   y   S
0001040 6afe dcf3 ffda ccc4 6af7 45fe f155 eed6
          ~   j   s   \   Z del   D   L   w   j   ~   E   U   q   V   n
0001060 5f5c 5fe7 c6ec efcc 4be6 53fe 56f8 cd7e
          \   _   g   _   l   F   L   o   f   K   ~   S   x   V   ~   M
0001100 7eeb fd7a dc7a d557 e9c5 df5e 6b5f dc66
          k   ~   z   }   z   \   W   U   E   i   ^   _   _   k   f   \
0001120 f64a ca4f 485b 6ffb feeb 62f6 ede0 ff60
          J   v   O   J   [   H   {   o   k   ~   v   b   `   m   ` del
0001140 edfb 7570 fe72 c1df 7ff8 d27f e7fe eddf
          {   m   p   u   r   ~   _   A   x del del   R   ~   g   _   m
0001160 ffd0 ddc1 d6df dfef f27a 49cf fcf3 60e7
          P del   A   ]   _   V   o   _   z   r   O   I   s   |   g   `
0001200 e56d d8c7 574b dfe3 c46c 65ff 74ee 7fca
          m   e   G   X   K   W   c   _   l   D del   e   n   t   J del
0001220 ed57 4b7f fff6 4c57 fc5f 7fe7 f8eb c8d7
          W   m del   K   v del   W   L   _   |   g del   k   x   W   H
0001240 575c 77f7 5fdc fffb e0ed d5df c4c9 efe7
          \   W   w   w   \   _   { del   m   `   _   U   I   D   g   o
0001260 ff65 7162 d4c4 cfe6 6e63 dc47 e354 edd9
          e del   b   q   D   T   f   O   c   n   G   \   T   c   Y   m
0001300 f0fc 6662 687a ed43 ece0 68f2 5cd9 78ee
          |   p   b   f   z   h   C   m   `   l   r   h   Y   \   n   x
0001320 58f6 f9c1 4372 66ec dfff 75df f855 7ae9
          v   X   A   y   r   C   l   f del   _   _   u   U   x   i   z
0001340 c34d cc62 4d53 dd45 fcc1 66fd f679 d16f
          M   C   b   L   S   M   E   ]   A   |   }   f   y   v   o   Q
0001360 46fa e5eb 77db 7f40 cf6e e057 fa48 7575
          z   F   k   e   [   w   @ del   n   O   W   `   H   z   u   u
0001400 f9ff f352 dfe6 68ef 56f9 daf1 d8db 76cf
        del   y   R   s   f   _   o   h   y   V   q   Z   [   X   O   v
0001420 d3c5 d17f d4e6 65d9 e165 da67 4ade 4de5
          E   S del   Q   f   T   Y   e   e   a   g   Z   ^   J   e   M
0001440 cf6b cfc1 c2f5 dfc3 f055 4d7d f2dd eecd
          k   O   A   O   u   B   C   _   U   p   }   M   ]   r   M   n
0001460 477c f369 71cd 62c5 f9cc 64d6 4a52 e645
          |   G   i   s   M   q   E   b   L   y   V   d   R   J   E   f
0001500 7cec 7ec4 c7c9 daf1 f1ca eac9 49ca d5fb
          l   |   D   ~   I   G   q   Z   J   q   I   j   J   I   {   U
0001520 69fc 72f2 c64f 62c8 c8eb fc4c 42c6 c142
          |   i   r   r   O   F   H   b   k   H   L   |   F   B   B   A
0001540 c4ca c567 5b5f df7e e1ff 7efc fe4d efee
          J   D   g   E   _   [   ~   _ del   a   |   ~   M   ~   n   o
0001560 7f65 5ecb d4dc fb5d d7da d3e6 c6f1 7ff2
          e del   K   ^   \   T   ]   {   Z   W   f   S   q   F   r del
0001600 fce4 ecf3 45ff 4df9 5f5f edfe 6fc9 ffca
          d   |   s   l del   E   y   M   _   _   ~   m   I   o   J del
0001620 c17d ebf2 7f6c 6ccb 667a 7f66 fcd9 ffff
          }   A   r   k   l del   K   l   z   f   f del   Y   | del del
0001640 67fe 7f55 7972 edfe df49 7ff8 e5c3 496f
          ~   g   U del   r   y   ~   m   I   _   x del   C   e   o   I
0001660 f95f e7e7 fe79 6d7b e5cd 43f7 effe 4eef
          _   y   g   g   y   ~   {   m   M   e   w   C   ~   o   o   N
0001700 f95f d273 fedc e5f7 fcf9 69d9 ff6e cd6d
          _   y   s   R   \   ~   w   e   y   |   Y   i   n del   m   M
0001720 dfe5 e6da 4ff2 7349 67f9 f9e7 d6fc d774
          e   _   Z   f   r   O   I   s   y   g   g   y   |   V   t   W
0001740 527f dfcb fedf 4ff2
        del   R   K   _   _   ~   r   O
0001750
root@bt:~/#

うーん、読めていそうだけど化けてるような・・・
書き込みも試してるがFlashが見つからない。やっぱり、完全にいったかなぁ。

[玄箱]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>

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

玄箱の電源修理

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

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

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

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

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

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

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

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

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