i downloaded nftytool-1.1.tar.gz
i made configure and all ok but after make have error
log ./configure
Code
[root@petrila nftytool]# ./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
config.status: config.h is unchanged
Display More
and make
Code
[root@petrila nftytool]# make
make -C lib
make[1]: Entering directory `/var/nftytool/lib'
make[1]: `libinfinity.a' is up to date.
make[1]: Leaving directory `/var/nftytool/lib'
make -C plugins
make[1]: Entering directory `/var/nftytool/plugins'
gcc -Wall -I../include -L../lib -o wafercard.o -c wafercard.c
wafercard.c: In function ârunâ:
wafercard.c:438:8: warning: variable âe_readâ set but not used [-Wunused-but-set-variable]
gcc -Wall -I../include -L../lib -o wafercard.so wafercard.o -linfinity -lusb -shared
/usr/bin/ld: wafercard.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
wafercard.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [wafercard.so] Error 1
rm wafercard.o
make[1]: Leaving directory `/var/nftytool/plugins'
make: *** [plugins] Error 2
[root@petrila nftytool]#
Display More
Please help