On Sun, Sep 16, 2012 at 7:42 AM, Pete Batard <p...@akeo.ie> wrote:
> Includes Hans' libusb_error_name as is, as well as the new
> LIBUSBX_API_VERSION macro. See
> https://github.com/libusbx/libusbx/commits/master for more.
>
> Source can be downloaded from:
> https://sourceforge.net/projects/libusbx/files/releases/1.0.13/source/
>
> Please try to test as much as you can before Thursday if you
> have a chance.

Something wrong with the fxload example. The following
shows the logs for Cygwin. But it is the same problem
for MinGW.org.

mcuee@mcuee-PC /cygdrive/c/work/libusbx
$ cd libusbx-1.0.13-rc1

mcuee@mcuee-PC /cygdrive/c/work/libusbx/libusbx-1.0.13-rc1

mcuee@mcuee-PC /cygdrive/c/work/libusbx/libusbx-1.0.13-rc1
$ mkdir cygwin

mcuee@mcuee-PC /cygdrive/c/work/libusbx/libusbx-1.0.13-rc1
$ cd cygwin/

mcuee@mcuee-PC /cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin
$ ../configure --prefix=/usr --enable-examples-build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/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 gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
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... gcc3
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-cygwin file names to i686-pc-cygwin
format... func_convert_file_noop
checking how to convert i686-pc-cygwin file names to toolchain
format... func_convert_file_noop
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86
archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries...
func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... windres
checking for inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking operating system... Cygwin (using Windows backend)
checking sys/timerfd.h usability... no
checking sys/timerfd.h presence... no
checking for sys/timerfd.h... no
checking whether TFD_NONBLOCK is declared... no
checking whether to use timerfd for timing... no (header not available)
checking for struct timespec... yes
checking for sigaction... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

mcuee@mcuee-PC /cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin
$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin'
Making all in libusb
make[2]: Entering directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/libusb'
  CC     libusb_1_0_la-core.lo
  CC     libusb_1_0_la-descriptor.lo
  CC     libusb_1_0_la-io.lo
  CC     libusb_1_0_la-sync.lo
  CC     libusb_1_0_la-poll_windows.lo
  CC     libusb_1_0_la-windows_usb.lo
  GEN    libusb-1.0.lo
  CC     libusb_1_0_la-threads_posix.lo
  CCLD   libusb-1.0.la
Creating library file: .libs/libusb-1.0.dll.a
make[2]: Leaving directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/libusb'
Making all in doc
make[2]: Entering directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/doc'
Making all in examples
make[2]: Entering directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/examples'
  CC     listdevs.o
  CCLD   listdevs.exe
  CC     xusb.o
  CCLD   xusb.exe
  CC     fxload-ezusb.o
../../examples/ezusb.c:29:19: fatal error: ezusb.h: No such file or directory
compilation terminated.
Makefile:359: recipe for target `fxload-ezusb.o' failed
make[2]: *** [fxload-ezusb.o] Error 1
make[2]: Leaving directory
`/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin/examples'
Makefile:364: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/work/libusbx/libusbx-1.0.13-rc1/cygwin'
Makefile:271: recipe for target `all' failed
make: *** [all] Error 2


-- 
Xiaofan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to