Статус: Офлайн
Реєстрація: 04.10.2007
Повідом.: 538
Реєстрація: 04.10.2007
Повідом.: 538
До этого никогда не комппилил проги под линухом и не представляю как оно должно быть. Просто вод винду этой софтины нету (((
Вообщем, есть программа (jtag, для перепрошивки всякой всячины) в архиве .tar.bz2 , есть установленный cygwin (при установке выбирал практически все пакеты), есть ман что и куда от одного из юзеров. Делаю строго по мануалу:
>Под winXP устанавливается CYGWIN с пакетом GCC для программирования и IOPERM для эмуляции LPT порта
поставил, отметил install везде где присутствуют эти имена ))
>Скачиваются файлы jtag-0.6-cvs-20051228.tar.bz2 и include-0.4.2.tar.bz2 и распаковываются в папку c:/cygwin/tmp и переименовываются в jtag и include
Сделал.
> Запускаем cygwin и заходим в c:/cygwin/tmp/jtag
Пишем ./configure –with-include=c:/cygwin/tmp/include
делаю, вроде все проходит нормально
Далее делаю make, как указано в инструкции:
много букаф, в конце:
make install конечно же вывалил болтЪ.
Что делаю не так?
Блин, не могу весь лог make взять
вот примерно половина:
Вообщем, есть программа (jtag, для перепрошивки всякой всячины) в архиве .tar.bz2 , есть установленный cygwin (при установке выбирал практически все пакеты), есть ман что и куда от одного из юзеров. Делаю строго по мануалу:
>Под winXP устанавливается CYGWIN с пакетом GCC для программирования и IOPERM для эмуляции LPT порта
поставил, отметил install везде где присутствуют эти имена ))
>Скачиваются файлы jtag-0.6-cvs-20051228.tar.bz2 и include-0.4.2.tar.bz2 и распаковываются в папку c:/cygwin/tmp и переименовываются в jtag и include
Сделал.
> Запускаем cygwin и заходим в c:/cygwin/tmp/jtag
Пишем ./configure –with-include=c:/cygwin/tmp/include
делаю, вроде все проходит нормально
Код:
$ ./configure -with-include=c:/cygwin/tmp/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... cygwin warning:
MS-DOS style path detected: c:/cygwin/tmp/include/common.h
Preferred POSIX equivalent is: /tmp/include/common.h
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
https://cygwin.com/cygwin-ug-net/using.html#using-pathnames
c:/cygwin/tmp/include
checking for library containing ioperm... -lioperm
checking for getline... yes
checking for getdelim... yes
checking for swprintf... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... 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... no
checking linux/ppdev.h presence... no
checking for linux/ppdev.h... no
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: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
configure: configuring in libbrux
configure: running /bin/sh './configure' --prefix=/usr/local '-with-include=c:/
cygwin/tmp/include' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for the openwince includes... c:/cygwin/tmp/include
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
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
$
Далее делаю make, как указано в инструкции:
много букаф, в конце:
Код:
make[3]: *** [flash.o] Error 1
make[3]: Leaving directory `/tmp/jtag/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/jtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/jtag'
make: *** [all] Error 2
Что делаю не так?
Блин, не могу весь лог make взять
вот примерно половина:
Код:
1250.Tpo"; exit 1; fi
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
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT ejtag.o -MD -MP -MF ".deps/ejtag.Tpo" -c -o ejtag.o ejtag.c; \
then mv -f ".deps/ejtag.Tpo" ".deps/ejtag.Po"; else rm -f ".deps/ejtag.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT ixp425.o -MD -MP -MF ".deps/ixp425.Tpo" -c -o ixp425.o ixp425.c; \
then mv -f ".deps/ixp425.Tpo" ".deps/ixp425.Po"; else rm -f ".deps/ixp42
5.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT lh7a400.o -MD -MP -MF ".deps/lh7a400.Tpo" -c -o lh7a400.o lh7a400.c; \
then mv -f ".deps/lh7a400.Tpo" ".deps/lh7a400.Po"; else rm -f ".deps/lh7
a400.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT mpc824x.o -MD -MP -MF ".deps/mpc824x.Tpo" -c -o mpc824x.o mpc824x.c; \
then mv -f ".deps/mpc824x.Tpo" ".deps/mpc824x.Po"; else rm -f ".deps/mpc
824x.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT ppc440gx_ebc8.o -MD -MP -MF ".deps/ppc440gx_ebc8.Tpo" -c -o ppc440gx_ebc8.
o ppc440gx_ebc8.c; \
then mv -f ".deps/ppc440gx_ebc8.Tpo" ".deps/ppc440gx_ebc8.Po"; else rm -
f ".deps/ppc440gx_ebc8.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT pxa2x0.o -MD -MP -MF ".deps/pxa2x0.Tpo" -c -o pxa2x0.o pxa2x0.c; \
then mv -f ".deps/pxa2x0.Tpo" ".deps/pxa2x0.Po"; else rm -f ".deps/pxa2x
0.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT sa1110.o -MD -MP -MF ".deps/sa1110.Tpo" -c -o sa1110.o sa1110.c; \
then mv -f ".deps/sa1110.Tpo" ".deps/sa1110.Po"; else rm -f ".deps/sa111
0.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT s3c4510x.o -MD -MP -MF ".deps/s3c4510x.Tpo" -c -o s3c4510x.o s3c4510x.c; \
then mv -f ".deps/s3c4510x.Tpo" ".deps/s3c4510x.Po"; else rm -f ".deps/s
3c4510x.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT sh7727.o -MD -MP -MF ".deps/sh7727.Tpo" -c -o sh7727.o sh7727.c; \
then mv -f ".deps/sh7727.Tpo" ".deps/sh7727.Po"; else rm -f ".deps/sh772
7.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT sh7750r.o -MD -MP -MF ".deps/sh7750r.Tpo" -c -o sh7750r.o sh7750r.c; \
then mv -f ".deps/sh7750r.Tpo" ".deps/sh7750r.Po"; else rm -f ".deps/sh7
750r.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT sh7751r.o -MD -MP -MF ".deps/sh7751r.Tpo" -c -o sh7751r.o sh7751r.c; \
then mv -f ".deps/sh7751r.Tpo" ".deps/sh7751r.Po"; else rm -f ".deps/sh7
751r.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Ic:/cygwin/tmp/include -Ic:/cygwin/tmp
/include/device -Ic:/cygwin/tmp/include/arm -I../.. -I../../include -g -O2 -Wal
l -MT tx4925.o -MD -MP -MF ".deps/tx4925.Tpo" -c -o tx4925.o tx4925.c; \
then mv -f ".deps/tx4925.Tpo" ".deps/tx4925.Po"; else rm -f ".deps/tx492
5.Tpo"; exit 1; fi
rm -f libbus.a
ar cru libbus.a buses.o au1500.o bcm1250.o ejtag.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 `/tmp/jtag/src/bus'
Making all in cmd
make[3]: Entering directory `/tmp/jtag/src/cmd'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT frequency.o -MD -MP -MF ".deps/fr
equency.Tpo" -c -o frequency.o frequency.c; \
then mv -f ".deps/frequency.Tpo" ".deps/frequency.Po"; else rm -f ".deps
/frequency.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT cable.o -MD -MP -MF ".deps/cable.
Tpo" -c -o cable.o cable.c; \
then mv -f ".deps/cable.Tpo" ".deps/cable.Po"; else rm -f ".deps/cable.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT reset.o -MD -MP -MF ".deps/reset.
Tpo" -c -o reset.o reset.c; \
then mv -f ".deps/reset.Tpo" ".deps/reset.Po"; else rm -f ".deps/reset.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT discovery.o -MD -MP -MF ".deps/di
scovery.Tpo" -c -o discovery.o discovery.c; \
then mv -f ".deps/discovery.Tpo" ".deps/discovery.Po"; else rm -f ".deps
/discovery.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT detect.o -MD -MP -MF ".deps/detec
t.Tpo" -c -o detect.o detect.c; \
then mv -f ".deps/detect.Tpo" ".deps/detect.Po"; else rm -f ".deps/detec
t.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT signal.o -MD -MP -MF ".deps/signa
l.Tpo" -c -o signal.o signal.c; \
then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f ".deps/signa
l.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT salias.o -MD -MP -MF ".deps/salia
s.Tpo" -c -o salias.o salias.c; \
then mv -f ".deps/salias.Tpo" ".deps/salias.Po"; else rm -f ".deps/salia
s.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT bit.o -MD -MP -MF ".deps/bit.Tpo"
-c -o bit.o bit.c; \
then mv -f ".deps/bit.Tpo" ".deps/bit.Po"; else rm -f ".deps/bit.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT register.o -MD -MP -MF ".deps/reg
ister.Tpo" -c -o register.o register.c; \
then mv -f ".deps/register.Tpo" ".deps/register.Po"; else rm -f ".deps/r
egister.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT initbus.o -MD -MP -MF ".deps/init
bus.Tpo" -c -o initbus.o initbus.c; \
then mv -f ".deps/initbus.Tpo" ".deps/initbus.Po"; else rm -f ".deps/ini
tbus.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT print.o -MD -MP -MF ".deps/print.
Tpo" -c -o print.o print.c; \
then mv -f ".deps/print.Tpo" ".deps/print.Po"; else rm -f ".deps/print.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT part.o -MD -MP -MF ".deps/part.Tp
o" -c -o part.o part.c; \
then mv -f ".deps/part.Tpo" ".deps/part.Po"; else rm -f ".deps/part.Tpo"
; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT bus.o -MD -MP -MF ".deps/bus.Tpo"
-c -o bus.o bus.c; \
then mv -f ".deps/bus.Tpo" ".deps/bus.Po"; else rm -f ".deps/bus.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT instruction.o -MD -MP -MF ".deps/
instruction.Tpo" -c -o instruction.o instruction.c; \
then mv -f ".deps/instruction.Tpo" ".deps/instruction.Po"; else rm -f ".
deps/instruction.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT shift.o -MD -MP -MF ".deps/shift.
Tpo" -c -o shift.o shift.c; \
then mv -f ".deps/shift.Tpo" ".deps/shift.Po"; else rm -f ".deps/shift.T
po"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT dr.o -MD -MP -MF ".deps/dr.Tpo" -
c -o dr.o dr.c; \
then mv -f ".deps/dr.Tpo" ".deps/dr.Po"; else rm -f ".deps/dr.Tpo"; exit
1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT get.o -MD -MP -MF ".deps/get.Tpo"
-c -o get.o get.c; \
then mv -f ".deps/get.Tpo" ".deps/get.Po"; else rm -f ".deps/get.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT set.o -MD -MP -MF ".deps/set.Tpo"
-c -o set.o set.c; \
then mv -f ".deps/set.Tpo" ".deps/set.Po"; else rm -f ".deps/set.Tpo"; e
xit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT endian.o -MD -MP -MF ".deps/endia
n.Tpo" -c -o endian.o endian.c; \
then mv -f ".deps/endian.Tpo" ".deps/endian.Po"; else rm -f ".deps/endia
n.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT peekpoke.o -MD -MP -MF ".deps/pee
kpoke.Tpo" -c -o peekpoke.o peekpoke.c; \
then mv -f ".deps/peekpoke.Tpo" ".deps/peekpoke.Po"; else rm -f ".deps/p
eekpoke.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT readmem.o -MD -MP -MF ".deps/read
mem.Tpo" -c -o readmem.o readmem.c; \
then mv -f ".deps/readmem.Tpo" ".deps/readmem.Po"; else rm -f ".deps/rea
dmem.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT flashmem.o -MD -MP -MF ".deps/fla
shmem.Tpo" -c -o flashmem.o flashmem.c; \
then mv -f ".deps/flashmem.Tpo" ".deps/flashmem.Po"; else rm -f ".deps/f
lashmem.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT eraseflash.o -MD -MP -MF ".deps/e
raseflash.Tpo" -c -o eraseflash.o eraseflash.c; \
then mv -f ".deps/eraseflash.Tpo" ".deps/eraseflash.Po"; else rm -f ".de
ps/eraseflash.Tpo"; exit 1; fi
eraseflash.c: In function 'cmd_eraseflash_run':
eraseflash.c:52: warning: pointer targets in passing argument 2 of 'cmd_get_numb
er' differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT script.o -MD -MP -MF ".deps/scrip
t.Tpo" -c -o script.o script.c; \
then mv -f ".deps/script.Tpo" ".deps/script.Po"; else rm -f ".deps/scrip
t.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT include.o -MD -MP -MF ".deps/incl
ude.Tpo" -c -o include.o include.c; \
then mv -f ".deps/include.Tpo" ".deps/include.Po"; else rm -f ".deps/inc
lude.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DJTAG_DATA_DIR=\"/usr/local/share/jtag\"
-Ic:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include
/arm -I../.. -I../../include -g -O2 -Wall -MT cmd.o -MD -MP -MF ".deps/cmd.Tpo"
-c -o cmd.o cmd.c; \
then mv -f ".deps/cmd.Tpo" ".deps/cmd.Po"; else rm -f ".deps/cmd.Tpo"; e
xit 1; fi
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 ge
t.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 `/tmp/jtag/src/cmd'
make[3]: Entering directory `/tmp/jtag/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Ic
:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include/arm
-I.. -I../include -g -O2 -Wall -MT jtag.o -MD -MP -MF ".deps/jtag.Tpo" -c -o jt
ag.o jtag.c; \
then mv -f ".deps/jtag.Tpo" ".deps/jtag.Po"; else rm -f ".deps/jtag.Tpo"
; exit 1; fi
jtag.c: In function 'jtag_parse_stream':
jtag.c:206: warning: pointer targets in passing argument 2 of 'getline' differ i
n signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Ic
:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include/arm
-I.. -I../include -g -O2 -Wall -MT detect.o -MD -MP -MF ".deps/detect.Tpo" -c -
o detect.o detect.c; \
then mv -f ".deps/detect.Tpo" ".deps/detect.Po"; else rm -f ".deps/detec
t.Tpo"; exit 1; fi
detect.c: In function 'find_record':
detect.c:78: warning: array subscript has type 'char'
detect.c:84: warning: array subscript has type 'char'
detect.c:95: warning: array subscript has type 'char'
detect.c:113: warning: array subscript has type 'char'
detect.c:122: warning: array subscript has type 'char'
detect.c:138: warning: array subscript has type 'char'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Ic
:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include/arm
-I.. -I../include -g -O2 -Wall -MT discovery.o -MD -MP -MF ".deps/discovery.Tpo
" -c -o discovery.o discovery.c; \
then mv -f ".deps/discovery.Tpo" ".deps/discovery.Po"; else rm -f ".deps
/discovery.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Ic
:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include/arm
-I.. -I../include -g -O2 -Wall -MT readmem.o -MD -MP -MF ".deps/readmem.Tpo" -c
-o readmem.o readmem.c; \
then mv -f ".deps/readmem.Tpo" ".deps/readmem.Po"; else rm -f ".deps/rea
dmem.Tpo"; exit 1; fi
readmem.c: In function 'readmem':
readmem.c:105: warning: format '%08X' expects type 'unsigned int', but argument
2 has type 'uint64_t'
readmem.c:105: warning: format '%08X' expects type 'unsigned int', but argument
2 has type 'uint64_t'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Ic
:/cygwin/tmp/include -Ic:/cygwin/tmp/include/device -Ic:/cygwin/tmp/include/arm
-I.. -I../include -g -O2 -Wall -MT flash.o -MD -MP -MF ".deps/flash.Tpo" -c -o
flash.o flash.c; \
then mv -f ".deps/flash.Tpo" ".deps/flash.Po"; else rm -f ".deps/flash.T
po"; exit 1; fi
flash.c:67: error: static declaration of 'flash_driver' follows non-static decla
ration
../include/flash.h:31: error: previous declaration of 'flash_driver' was here
make[3]: *** [flash.o] Error 1
make[3]: Leaving directory `/tmp/jtag/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/jtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/jtag'
make: *** [all] Error 2