On Sat, Apr 19, 2014 at 12:49 PM, Paul Fertser <[email protected]> wrote:
> Hi Xiaofan,
>
> Thank you for the report.
>
> On Sat, Apr 19, 2014 at 12:19:15PM +0800, Xiaofan Chen wrote:
>> Strange, I have problems to build rc2 under MinGW-w64 32bit,
>> MSys and Windows 7 x86.
> ...
>> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
>> -I../../../../src/jtag/dri
>> vers -I../../.. -I../../../../src -I../../../src -I../../../../src/helper 
>> -DPKGD
>> ATADIR=\"/usr/local/share/openocd\" -DBINDIR=\"/usr/local/bin\" 
>> -I../../../../ji
>> mtcl -I../../../jimtcl -isystem C:/mingw32_rvb/msys/local/include/libusb-1.0 
>> -IC
>> :/mingw32_rvb/msys/local/include/libusb 
>> -IC:/mingw32_rvb/msys/local/include/hida
>> pi -g -O2 -D__USE_MINGW_ANSI_STDIO -Wall -Wstrict-prototypes 
>> -Wformat-security -
>> Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align 
>> -Wredunda
>> nt-decls -MT libocdjtagdrivers_la-usb_common.lo -MD -MP -MF 
>> .deps/libocdjtagdriv
>> ers_la-usb_common.Tpo -c ../../../../src/jtag/drivers/usb_common.c -o 
>> libocdjtag
>> drivers_la-usb_common.o
>> In file included from ../../../../src/jtag/drivers/usb_common.c:23:0:
>> ../../../../src/jtag/drivers/usb_common.h:26:10: warning: 'struct 
>> usb_dev_handle
>> ' declared inside parameter list [enabled by default]
>
> That would likely mean it's the same problem as
> http://developer.intra2net.com/mailarchive/html/libftdi/2010/msg00531.html
> i.e. usb.h filename conflict between MS DDK and libusb-win32
> (libusb0). I'm not sure why it doesn't surface when cross-building,
> but since it doesn't probably there's an easy workaround for the
> native builds as well.
>

Please ignore the false alarm. Both are okay. I have an error in the
libusb.pc file. libusb-win32 does not provide the libusb.pc file so I manually
created the file from libusb-1.0.pc but made a mistake there.

-- 
Xiaofan

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to