> 4) This one is blocking, during the compilation of openocd.c, 
> there is a syntax error around  -DPKGBLDDATE=\"`date +%F-%R`\"
> I am not sure how to fix it ...
> 
>  mingw32-make[3]: Entering directory `c:/Workspace-1/openocd/src'
> C:/cygwin/bin/sh.exe ../libtool --tag=CC   --mode=compile mingw32-gcc
> -std=gnu99 -DHAVE_CONFIG_H -I. -I..  
> -DPKGLIBDIR=\"/usr/local/lib/open ocd\" -DPKGBLDDATE=\"`date 
> +%F-%R`\"  -DRELSTR=\"svn:\"
> -DPKGBLDREV=\"`../guess-rev.sh ..`\" -I../src -I../src/helper 
> -I../src/jtag -I../src /target -I../src/xsvf -I../src/svf 
> -I../src/server -I../src/flash -I../src/pld 
> -IC:/libusb-win32-device-bin-0.1.12.1/include
> -IC:/libusb-win
> 32-device-bin-0.1.12.1/include  -g -O2 -Ic:/ftdi-2.04.06 
> -Wall -Wstrict-prototypes -Wformat-security -Wextra 
> -Wno-unused-parameter -Wbad-fun ction-cast -Wcast-align 
> -Wredundant-decls -Werror -MT libopenocd_la-openocd.lo -MD 
> -MP -MF .deps/libopenocd_la-openocd.Tpo -c -o libopenocd_ 
> la-openocd.lo `test -f 'openocd.c' || echo './'`openocd.c
> /usr/bin/sh: \: command not found
> libtool: compile:  mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> "-DPKGLIBDIR=\\/usr/local/lib/openocd\\ -DPKGBLDDATE=\\\`date"
> "+%F-%R\\
> -I../src" -I../src/helper -I../src/jtag -I../src/target 
> -I../src/xsvf -I../src/svf -I../src/server -I../src/flash 
> -I../src/pld -IC:/libusb-w in32-device-bin-0.1.12.1/include 
> -IC:/libusb-win32-device-bin-0.1.12.1/include -g -O2 
> -Ic:/ftdi-2.04.06 -Wall -Wstrict-prototypes -Wformat-s 
> ecurity -Wextra -Wno-unused-parameter -Wbad-function-cast 
> -Wcast-align -Wredundant-decls -Werror -MT 
> libopenocd_la-openocd.lo -MD -MP -MF .d 
> eps/libopenocd_la-openocd.Tpo -c openocd.c  -DDLL_EXPORT 
> -DPIC -o .libs/libopenocd_la-openocd.o
> mingw32-gcc.exe: +%F-%R\ -I../src : No such file or directory
> openocd.c: In function 'handle_version_command':
> openocd.c:75: erreur: expected ')' before 'PKGBLDDATE'
> openocd.c: In function 'setup_command_handler':
> openocd.c:213: erreur: expected ')' before 'PKGBLDDATE'
> mingw32-make[3]: *** [libopenocd_la-openocd.lo] Error 1
> mingw32-make[3]: Leaving directory `c:/Workspace-1/openocd/src'
> mingw32-make[2]: *** [all-recursive] Error 1
> mingw32-make[2]: Leaving directory `c:/Workspace-1/openocd/src'
> mingw32-make[1]: *** [all-recursive] Error 1
> mingw32-make[1]: Leaving directory `c:/Workspace-1/openocd'
> mingw32-make: *** [all] Error 2
> 
> 
> Keep up the good work ...
> 

It looks to me that your are trying to mix cygwin and native build tools.
I would recommend you either use cygwin to build and pass
CFLAGS='-mno-cygwin' to configure or setup a working msys enviroment.

Cheers
Spen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to