Hi guys
I am having some issues with nftytool-1.1 for Infinity USB phoenix
let me explain the issue
1- installed libusb1.12 drivers
2- downloaded the nftytool.tar.gz
3- extracted folder and placed it in usr/local/nftytool-1.1
4- installed libusb-dev, build essentials etc..
5- browsed to folder nftytool-1.1
6- ./configure works fines here is the output
QuoteDisplay More/usr/local/nftytool-1.1# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for dlsym in -ldl... yes
checking for usb_interrupt_read in -lusb... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strdup... yes
checking for strrchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
then i execute the make cmd and i get the following error
QuoteDisplay Moreroot@desktop:/usr/local/nftytool-1.1# make
gcc -Wall -Wstrict-prototypes -I. -Iinclude/ -Llib/ -c cfgfile.c -o cfgfile.o
gcc -Wall -Wstrict-prototypes -I. -Iinclude/ -Llib/ -c nftytool.c -o nftytool.o
nftytool.c: In function ‘main’:
nftytool.c:196: warning: pointer targets in passing argument 2 of ‘infinity_get_product_name’ differ in signedness
include/infinity.h:81: note: expected ‘unsigned char *’ but argument is of type ‘char *’
nftytool.c:198: warning: pointer targets in passing argument 2 of ‘infinity_get_firmware_version’ differ in signedness
include/infinity.h:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’
nftytool.c:98: warning: unused variable ‘j’
gcc -Wall -Wstrict-prototypes -I. -Iinclude/ -Llib/ -c plugins.c -o plugins.o
plugins.c: In function ‘plugins_load_all’:
plugins.c:81: warning: unused variable ‘j’
make -C lib
make[1]: Entering diretóry `/usr/local/nftytool-1.1/lib'
make[1]: `libinfinity.a' its updated.
make[1]: Leaving directory `/usr/local/nftytool-1.1/lib'
make -C plugins
make[1]: Entering diretóry `/usr/local/nftytool-1.1/plugins'
make[1]: Nothing to be done `all'.
make[1]: Leaving directory `/usr/local/nftytool-1.1/plugins'
gcc -Wall -Wstrict-prototypes -I. -Iinclude/ -Llib/ cfgfile.o nftytool.o plugins.o -lusb -ldl -linfinity -o nftytool
/usr/bin/ld: skipping incompatible lib//libinfinity.a when searching for -linfinity
/usr/bin/ld: cannot find -linfinity
collect2: ld returned 1 exit status
make: ** [all] Error 1
Any ideas on what i might be doing wrong??????????/
this is an old reader i am setting back up again i used in it linux 3 years ago with nftytool under x32 ubuntu version.. and i have done it the same way back in the past it worked perfet
but now its not working at all the only difference now is that i use x64 ubuntu version........
any ideas or comments are welcome..