From: Philip M. <in...@bi...> - 2016-03-03 15:51:59
|
OK, Looks like configure removed libhidapi from the build. Some work for me to do..... Br, Philip > configure:5899: gcc -o conftest.exe -g -O2 conftest.c -lusb -lbfd > -liberty -lintl -liconv >&5 > /tmp/ccJaFs6k.o: In function `main': > /cygdrive/c/tmp/avarice/conftest.c:27: undefined reference to `hid_init' > collect2: error: ld returned 1 exit status > configure:5899: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "avarice" > ............ > | #define VERSION "2.13svn20160229" > | #define HAVE_LIBICONV 1 > | #define HAVE_LIBINTL 1 > | #define HAVE_LIBIBERTY 1 > | #define HAVE_LIBBFD 1 > | #define HAVE_LIBUSB 1 > | /* end confdefs.h. */ > | > | /* Override any GCC internal prototype to avoid an error. > | Use char because int might match the return type of a GCC > | builtin and then its argument prototype would still apply. */ > | #ifdef __cplusplus > | extern "C" > | #endif > | char hid_init (); > | int > | main () > | { > | return hid_init (); > | ; > | return 0; On 03.03.2016 15:13, Joerg Wunsch wrote: > As Philip Mulrane wrote: > >> So my Avarice build was without libhidapi (no files from it are > I'm not sure, it might be so. > > If not, try the example program I've told about. > >> installed)? Did my call of configure create a makefile that excludes >> this functionality? > Have a look at your config.log file, and/or src/autoconf.h. > -- Bittrace14 UG Immanuel-Kant Str.59b 31812 Bad Pyrmont Fax: +49 32223945096 HRB 209338 Amtsger. Hannover Geschäftsführer Pauline Atkinson |