[Hamlib-developer] Issue with latest pull and building WSJT-X 2.7.0 [ clock_gettime64 could not be
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Hamlib D. <ham...@ou...> - 2025-05-18 11:26:26
|
Hi Folks, An issue has been encountered with Hamlib pulled from master as of UTC 2025-05-18 @ 08:00:00 . The development environment is a fully clean and deployed JTSDK 4.0.1u1 (see https://sourceforge.net/projects/hamlib-sdk/ ) and has worked perfectly up until the time that Mike W9MDB became SK (and of course he is therefore of no help to us now ☹) “Fully updated” means that the deployed MSYS2 environment is FULLY updated with pacman -Syuu, LibUSB is the supplied 1.0.28 version that is known to work, and a known-to-work Boost 1.88.0 environment has also been deployed with the kit. The Qt environ is publicly-available Qt version being Qt 5.15.2. These are known facts: * Hamlib pulls the latest code from GIT, updates and compiles cleanly. * WSJT-X pulls the latest code from GIT and compiles cleanly. But on execution of a freshly built WSJT-X 2.7.0 the following message is displayed: The procedure entry point clock_gettime64 could not be located in the dynamic link library c:\wsjt\wsjtx\bin\libhamlib4-dll The environment here is: * A fully updated JTSDK 4.0.0.1u2 and previously functional Hamlib build environment (including pacman updates of the embedded MSYS2 environment) * LibUSB 1.0.28 * Boost 1.88.0 * Windows 11 25H4 [ Fully updatesd ] This issue has been replicated on a number of machines. Any suggestions? Remember the aim of this kit is to be able to build everything from scratch ! What further information do you require? 73 Hamlib SDK Developers Ps: If one drops in the DLL's from https://n0nb.users.sourceforge.net/ (i.e. https://n0nb.users.sourceforge.net/hamlib-w64-4.7~git-20250518-ad824fa85.zip ) then the WSJT-X 2.7.0 that we have just built works ! The issue is building from the LATEST GIT Pull with the VERY LATEST MSYS2 packages. All should just work ! ................................................................................................................ $ build-hamlib ________________________________ JTSDK64 Tools MSYS2 Hamlib Build Script v4.0.0.1 ________________________________ * This script compiles Hamlib Libraries for the JTSDK build system. ________________________________ COMPILE INFORMATION [ Hamlib ] Script Option(s) ...: None (Default = Dynamic with LibUSB) Date ...............: 18-05-2025 Package ............: Hamlib User ...............: stepheni CPU/Job Count ......: 1 Compiler ...........: /mingw64/bin/gcc Platform ...........: MINGW64 Source Dir .........: /home/stepheni/ Build Dir ..........: /home/stepheni/src/hamlib/build LibUSB Include .....: /c/JTSDK64-Tools/tools/libusb/1.0.28/include LibUSB DLL .........: /c/JTSDK64-Tools/tools/libusb/1.0.28/bin Package Config......: /c/JTSDK64-Tools/tools/hamlib/qt/5.15.2/lib/pkgconfig/hamlib.pc Install Prefix .....: /c/JTSDK64-Tools/tools/hamlib/qt/5.15.2 ________________________________ CHECKING TOOL-CHAIN [ QT 5.15.2 ] ar .................: OK nm .................: OK ld .................: OK gcc ................: OK g++ ................: OK ranlib .............: OK Compiler ...........: gcc.exe (Rev4, Built by MSYS2 project) 15.1.0 Compiler Path ......: /mingw64/bin Bin Utils ..........: GNU ranlib (GNU Binutils) 2.44 Libtool ............: libtool (GNU libtool) 2.5.4 Pkg-Config .........: 2.3.0 Tool-Chain .........: OK ________________________________ CLONING GIT REPOSITORY [ MASTER ] Already up to date. ________________________________ PERFORM BOOTSTRAP [ Hamlib ] * Performing bootstrap Running 'autoreconf -i' to process configure.ac and generate the configure script. ________________________________ CONFIGURING [ Hamlib ] * Running configure script: This may take a several minutes to complete --> Build Type: Shared/Dynamic built with LibUSB --> configure: loading site script /etc/config.site checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for gawk... (cached) gawk checking whether ln -s works... no, using cp -pR checking for g++... yes checking for ar... ar checking the archiver (ar) interface... ar checking for inline... inline checking AM_CFLAGS for maximum warnings... -Wall checking AM_CXXFLAGS for maximum warnings... -Wall checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for limits.h... yes checking for locale.h... yes checking for malloc.h... yes checking for netdb.h... no checking for sgtty.h... no checking for stddef.h... yes checking for termio.h... no checking for termios.h... no checking for values.h... no checking for arpa/inet.h... no checking for dev/ppbus/ppbconf.hdev/ppbus/ppi.h... no checking for linux/hidraw.h... no checking for linux/ioctl.h... no checking for linux/parport.h... no checking for linux/ppdev.h... no checking for netinet/in.h... no checking for sys/ioccom.h... no checking for sys/ioctl.h... no checking for sys/param.h... yes checking for sys/socket.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for sys/select.h... no checking for glob.h... no checking build system type... x86_64-w64-mingw32 checking host system type... x86_64-w64-mingw32 checking for ws2tcpip.h... yes checking for wspiapi.h... yes checking for library containing nanosleep... none required checking for pthread.h... yes checking for sys/types.h... (cached) yes checking for windows.h... yes checking for winioctl.h... yes checking for winbase.h... yes checking for getopt... yes checking for getopt_long... yes checking for usleep... yes checking for sleep... yes checking for nanosleep... yes checking for gettimeofday... yes checking for struct timezone... yes checking for ssize_t... yes checking for getopt... (cached) yes checking for getopt_long... (cached) yes checking for usleep... (cached) yes checking for gettimeofday... (cached) yes checking for Sleep... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking POSIX termios... no checking for size_t... yes checking for siginfo_t... no checking for sig_atomic_t... yes checking for sin... yes checking for connect... no checking for main in -lsocket... no checking for accept... no checking for gethostbyname... no checking for main in -lnsl... no checking for gethostbyname... (cached) no checking for main in -lws2_32... yes checking for timeBeginPeriod... no checking for main in -lwinmm... yes checking for gcc options needed to detect all undeclared functions... none needed checking for struct addrinfo... yes checking whether gai_strerror is declared... yes checking for getaddrinfo... (cached) yes checking for cfmakeraw... no checking for floor... yes checking for getpagesize... yes checking for getpagesize... (cached) yes checking for gettimeofday... (cached) yes checking for inet_ntoa... no checking for ioctl... no checking for memchr... yes checking for memmove... yes checking for memset... yes checking for pow... yes checking for rint... yes checking for select... no checking for setitimer... no checking for setlocale... yes checking for sigaction... no checking for signal... yes checking for snprintf... yes checking for socket... no checking for sqrt... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for glob... no checking for socketpair... no checking for working alloca.h... no checking for alloca... yes 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... C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe checking if the linker (C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B checking the name lister (/mingw64/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 8192 checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32 checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32 checking for C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for ranlib... ranlib checking for archiver @file<https://github.com/file> support... @ checking for strip... strip checking command to parse /mingw64/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... no checking for as... as checking for dlltool... (cached) dlltool checking for objdump... (cached) objdump checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe checking if the linker (C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (C:/JTSDK64-Tools/tools/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for windres... windres checking whether C99 struct/array initializers are supported... yes checking whether to build USB dependent backends... yes checking for libusb_init in -lusb-1.0... yes checking for libusb.h... no checking for libusb-1.0/libusb.h... yes checking whether to use readline in rigctl/rotctl... yes checking for a readline compatible library... -lreadline checking for readline.h... no checking for readline/readline.h... yes checking whether readline supports history... yes checking for history.h... no checking for readline/history.h... yes checking whether to use INDI in rigctl/rotctl... checking whether to build HTML rig feature matrix... check checking for gd.h... no checking whether to build rigmem XML support... no checking whether to build USRP backend... no checking whether to build C++ binding... no checking whether to build perl binding... no checking whether to build python binding... no checking Whether to build Tcl bindings... no checking whether to build lua binding... no checking whether to build bindings... no checking whether to build winradio backend... yes checking whether to build parallel port devices... yes checking for dlopen in -ldl... no configure: WARNING: dlopen was not found in libdl--linradio backend will be disabled checking whether g++ supports C++11 features with -std=c++11... yes Build_OS is mingw32 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating macros/Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating security/Makefile config.status: creating c++/Makefile config.status: creating bindings/Makefile config.status: creating doc/Makefile config.status: creating doc/hamlib.cfg config.status: creating rotators/amsat/Makefile config.status: creating rotators/apex/Makefile config.status: creating rotators/ars/Makefile config.status: creating rotators/celestron/Makefile config.status: creating rotators/cnctrk/Makefile config.status: creating rotators/grbltrk/Makefile config.status: creating rotators/easycomm/Makefile config.status: creating rotators/ether6/Makefile config.status: creating rotators/flir/Makefile config.status: creating rotators/fodtrack/Makefile config.status: creating rotators/gs232a/Makefile config.status: creating rotators/heathkit/Makefile config.status: creating rotators/ioptron/Makefile config.status: creating rotators/m2/Makefile config.status: creating rotators/meade/Makefile config.status: creating rotators/prosistel/Makefile config.status: creating rotators/rotorez/Makefile config.status: creating rotators/sartek/Makefile config.status: creating rotators/saebrtrack/Makefile config.status: creating rotators/spid/Makefile config.status: creating rotators/ts7400/Makefile config.status: creating rotators/indi/Makefile config.status: creating rotators/satel/Makefile config.status: creating rotators/skywatcher/Makefile config.status: creating rotators/radant/Makefile config.status: creating rigs/adat/Makefile config.status: creating rigs/alinco/Makefile config.status: creating rigs/aor/Makefile config.status: creating rigs/barrett/Makefile config.status: creating rigs/codan/Makefile config.status: creating rigs/commradio/Makefile config.status: creating rigs/dorji/Makefile config.status: creating rigs/drake/Makefile config.status: creating rigs/dummy/Makefile config.status: creating rigs/elad/Makefile config.status: creating rigs/flexradio/Makefile config.status: creating rigs/icmarine/Makefile config.status: creating rigs/icom/Makefile config.status: creating rigs/jrc/Makefile config.status: creating rigs/kachina/Makefile config.status: creating rigs/kenwood/Makefile config.status: creating rigs/kit/Makefile config.status: creating rigs/lowe/Makefile config.status: creating rigs/pcr/Makefile config.status: creating rigs/prm80/Makefile config.status: creating rigs/racal/Makefile config.status: creating rigs/rft/Makefile config.status: creating rigs/rs/Makefile config.status: creating rigs/skanti/Makefile config.status: creating rigs/tapr/Makefile config.status: creating rigs/tentec/Makefile config.status: creating rigs/tuner/Makefile config.status: creating rigs/uniden/Makefile config.status: creating rigs/winradio/Makefile config.status: creating rigs/wj/Makefile config.status: creating rigs/yaesu/Makefile config.status: creating rigs/gomspace/Makefile config.status: creating rigs/mds/Makefile config.status: creating rigs/anytone/Makefile config.status: creating rigs/motorola/Makefile config.status: creating tests/Makefile config.status: creating scripts/Makefile config.status: creating android/Makefile config.status: creating amplifiers/elecraft/Makefile config.status: creating amplifiers/gemini/Makefile config.status: creating amplifiers/expert/Makefile config.status: creating simulators/Makefile config.status: creating hamlib.pc config.status: creating include/hamlib/config.h config.status: include/hamlib/config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands ________________________________ Hamlib Version 4.7~git configuration: Prefix /c/JTSDK64-Tools/tools/hamlib/qt/5.15.2 Preprocessor gcc -E -I/c/JTSDK64-Tools/tools/libusb/1.0.28/include C Compiler gcc -g -O2 C++ Compiler g++ -std=c++11 -g -O2 Package features: With C++ binding no With Perl binding no With Python binding no With TCL binding no With Lua binding no With rigmem XML support no With Readline support yes With INDI support no Enable HTML rig feature matrix no Enable WinRadio yes Enable Parallel yes Enable USRP no Enable USB backends yes Enable shared libs yes Enable static libs no ________________________________ ________________________________ RUNNING MAKE CLEAN [ Hamlib ] * /c/JTSDK64-Tools/config/hlclean flag not set ________________________________ INSTALLING [ Hamlib ] * Clearing out old /c/JTSDK64-Tools/tools/hamlib/qt/5.15.2: Complete ,,,, (etc) |