Install phidgets on linux mint 17.3
Posted: Sun May 28, 2017 3:48 am
I am installing phidgets libraries on a linux mint 17.3. According to http://www.phidgets.com/docs/OS_-_Linux#Installing, I installed libusb-1.0-0-dev, downloaded & uncompressed phidgets libraries, and tried to ./configure. I got the error:
having a look on config.log I found:checking whether the C compiler works... no
configure: error: in `/home/xxxxxxx/Downloads/libphidget-2.1.8.20151217':
configure: error: C compiler cannot create executables
See `config.log' for more details
Is there any requirement about gcc version for phidget libraries?gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configure $? = 0
configure gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure $? = 4
configure checking whether the C compiler works
configure gcc conftest.c >&5
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure $? = 1
configure result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Phidget21 C Library"
| #define PACKAGE_TARNAME "libphidget"
| #define PACKAGE_VERSION "2.1.8.20151217"
| #define PACKAGE_STRING "Phidget21 C Library 2.1.8.20151217"
| #define PACKAGE_BUGREPORT "support@phidgets.com"
| #define PACKAGE_URL "www.phidgets.com"
| #define PACKAGE "libphidget"
| #define VERSION "2.1.8.20151217"
| /* end confdefs.h. */