Before trying to build I downloaded and installed the libusb stuff for 
win32 (usb.h and the library itself) as directed in the sparkfun faq.

Also made sure all cygwin parts are up to date (make, automake, autoconf 
etc).

Then I did:

make distclean
./bootstrap
./configure --enable-maintainer-mode --enable-jlink --enable-rlink 
CC="gcc -mno-cygwin"

with no apparent errors.

As soon as I start the make I see the following error which I don't 
understand:

$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk'
Making all in src
make[2]: Entering directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk/src'
Making all in helper
make[3]: Entering directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk/src/helper'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -mno-cygwin 
-std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../src/server -I../.. 
         /src/target -DPKGDATADIR=\"/usr/local/share/openocd\" 
-Wno-sign-compare -g -O2 -Wall -Wstrict-prototypes -Wformat-security 
-Wextr              a -Wno-unused-parameter -Wbad-function-cast 
-Wcast-align -Wredundant-decls -Werror -MT libhelper_la-binarybuffer.lo 
-MD -MP -MF .d              eps/libhelper_la-binarybuffer.Tpo -c -o 
libhelper_la-binarybuffer.lo `test -f 'binarybuffer.c' || echo 
'./'`binarybuffer.c
../../libtool: line 846: X--tag=CC: command not found
../../libtool: line 879: libtool: ignoring unknown tag : command not found
../../libtool: line 846: X--mode=compile: command not found
../../libtool: line 1013: *** Warning: inferring the mode of operation 
is deprecated.: command not found
../../libtool: line 1014: *** Future versions of Libtool will require 
--mode=MODE be specified.: command not found
../../libtool: line 1157: Xgcc: command not found
../../libtool: line 1157: X-mno-cygwin: command not found
../../libtool: line 1157: X-std=gnu99: command not found
../../libtool: line 1157: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1157: X-I.: command not found
../../libtool: line 1157: X-I../..: is a directory
../../libtool: line 1157: X-I../../src/server: No such file or directory
../../libtool: line 1157: X-I../../src/target: No such file or directory
../../libtool: line 1157: X-DPKGDATADIR="/usr/local/share/openocd": No 
such file or directory
../../libtool: line 1157: X-Wno-sign-compare: command not found
../../libtool: line 1157: X-g: command not found
../../libtool: line 1157: X-O2: command not found
../../libtool: line 1157: X-Wall: command not found
../../libtool: line 1157: X-Wstrict-prototypes: command not found
../../libtool: line 1157: X-Wformat-security: command not found
../../libtool: line 1157: X-Wextra: command not found
../../libtool: line 1157: X-Wno-unused-parameter: command not found
../../libtool: line 1157: X-Wbad-function-cast: command not found
../../libtool: line 1157: X-Wcast-align: command not found
../../libtool: line 1157: X-Wredundant-decls: command not found
../../libtool: line 1157: X-Werror: command not found
../../libtool: line 1157: X-MT: command not found
../../libtool: line 1157: Xlibhelper_la-binarybuffer.lo: command not found
../../libtool: line 1157: X-MD: command not found
../../libtool: line 1157: X-MP: command not found
../../libtool: line 1157: X-MF: command not found
../../libtool: line 1157: X.deps/libhelper_la-binarybuffer.Tpo: No such 
file or directory
../../libtool: line 1157: X-c: command not found
../../libtool: line 1209: Xlibhelper_la-binarybuffer.lo: command not found
../../libtool: line 1214: libtool: compile: cannot determine name of 
library object from `': command not found
make[3]: *** [libhelper_la-binarybuffer.lo] Error 1
make[3]: Leaving directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk/src/helper'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and 
Settings/smited/openocd-0.1.0/trunk'
make: *** [all] Error 2




_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to