Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tsschecker won't compile
1
Hello everyone,

I'm trying to compile the last build of tsschecker released by s0uthwes and tihmstar

https://twitter.com/s0uthwes/status/1183418585932279814

https://github.com/tihmstar/tsschecker

I get the following error when trying to compile it.

the configure part is ok:
 
Code:
  ________________________________________________________________________________ | /Volumes/TJD128GB/iPhone-src/tsschecker-13-10-2019 @ MacBook Pro (suzughia)  | => ./autogen.sh --prefix=/Volumes/TJD128GB/iPhone-src/tsschecker-bin/ glibtoolize: putting auxiliary files in '.'. glibtoolize: linking file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: linking file 'm4/libtool.m4' glibtoolize: linking file 'm4/ltoptions.m4' glibtoolize: linking file 'm4/ltsugar.m4' glibtoolize: linking file 'm4/ltversion.m4' glibtoolize: linking file 'm4/lt~obsolete.m4' configure.ac:10: installing './compile' configure.ac:5: installing './missing' tsschecker/Makefile.am:6: warning: source file '$(top_srcdir)/external/jssy/jssy/jssy.c' is in a subdirectory, tsschecker/Makefile.am:6: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled.  For now, the corresponding output automake: object file(s) will be placed in the top-level directory.  However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. tsschecker/Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...  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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no 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... 196608 checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no 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 a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes 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... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld 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 pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libplist >= 1.0... yes checking for libcurl >= 1.0... yes checking for libfragmentzip >= 1.0... yes checking for libirecovery >= 0.2.0... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for error_at_line... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for mkdir... yes checking for pow... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tsschecker/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands ________________________________________________________________________________ | /Volumes/TJD128GB/iPhone-src/tsschecker-13-10-2019 @ MacBook Pro (suzughia)  | => 

but when I try to compile it... it suddenly fails.
 
Code:
  ________________________________________________________________________________ | /Volumes/TJD128GB/iPhone-src/tsschecker-13-10-2019 @ MacBook Pro (suzughia)  | => make /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive Making all in tsschecker /bin/sh ../libtool  --tag=CC   --mode=link gcc -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libfragmentzip/46/include -I/usr/local/Cellar/libzip/1.5.2/include   -I/usr/local/Cellar/libirecovery/git0/include  -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"294\" -D TSSCHECKER_VERSION_SHA=\"04c4044893513248c46a45ef250de544856d9a9e\" -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/libfragmentzip/46/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz -lcurl  -L/usr/local/Cellar/libirecovery/git0/lib -lirecovery -lm  -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o -L/usr/local/Cellar/libplist/2.0.0_1/lib -lplist -L/usr/local/Cellar/libfragmentzip/46/lib -L/usr/local/Cellar/libzip/1.5.2/lib -lfragmentzip -lzip -lcurl -lz -lcurl  -L/usr/local/Cellar/libirecovery/git0/lib -lirecovery -lm libjssy.a  libtool: link: gcc -I/usr/local/Cellar/libplist/2.0.0_1/include -I/usr/local/Cellar/libfragmentzip/46/include -I/usr/local/Cellar/libzip/1.5.2/include -I/usr/local/Cellar/libirecovery/git0/include -I../external/jssy/jssy/ -g -O2 -std=c11 -D TSSCHECKER_VERSION_COUNT=\"294\" -D TSSCHECKER_VERSION_SHA=\"04c4044893513248c46a45ef250de544856d9a9e\" -o tsschecker tsschecker-tsschecker.o tsschecker-tss.o tsschecker-download.o tsschecker-main.o  -L/usr/local/Cellar/libplist/2.0.0_1/lib -L/usr/local/Cellar/libfragmentzip/46/lib -L/usr/local/Cellar/libzip/1.5.2/lib -L/usr/local/Cellar/libirecovery/git0/lib -lplist -lfragmentzip -lzip -lz -lcurl -lirecovery -lm libjssy.a Undefined symbols for architecture x86_64:   "__plist_dict_get_bool", referenced from:       _tss_request_add_ap_tags in tsschecker-tss.o       _tss_request_add_rose_tags in tsschecker-tss.o       _tss_request_add_veridian_tags in tsschecker-tss.o   "__plist_dict_get_uint", referenced from:       _tss_request_add_baseband_tags in tsschecker-tss.o       _tss_request_add_rose_tags in tsschecker-tss.o       _tss_request_add_veridian_tags in tsschecker-tss.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [tsschecker] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ________________________________________________________________________________ | /Volumes/TJD128GB/iPhone-src/tsschecker-13-10-2019 @ MacBook Pro (suzughia)  | => 

there is an issue just posted here on GitHub

https://github.com/tihmstar/tsschecker/issues/144

and it has a dirty workaround but I can't use it for fixing the error.

Any one that would or could help me?

Thanks!
Reply

Users browsing this thread:
1 Guest(s)


Forum Jump: