I'm getting a compile error with Debian 10 Linux (amd64), fully patched.  No 
trouble compiling 2.3.0-rc1.  But here is what fails on rc2:

My cmake/compile commands:
cmake -DCMAKE_INSTALL_PREFIX=../../install/ -DWSJT_SKIP_MANPAGES=ON 
-DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.3.0-rc2
cmake --build ~/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2 --target install -- 
-j

Failure points:
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Failed
-- Configuring incomplete, errors occurred!
See also 
"/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeOutput.log".
See also 
"/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeError.log".
make[3]: *** [CMakeFiles/wsjtx-install.dir/build.make:73: 
wsjtx-prefix/src/wsjtx-stamp/wsjtx-configure] Error 1
make[2]: *** [CMakeFiles/Makefile2:361: CMakeFiles/wsjtx-install.dir/all] Error 
2
make[1]: *** [CMakeFiles/Makefile2:432: CMakeFiles/install.dir/rule] Error 2
make: *** [Makefile:261: install] Error 2


Snippets from CMakeError.log:

Performing C SOURCE FILE Test HAVE_MATH failed with the following output:
Change Dir: 
/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3bcda/fast"
make[4]: Entering directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_3bcda.dir/build.make 
CMakeFiles/cmTC_3bcda.dir/build
make[5]: Entering directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3bcda.dir/src.c.o
/usr/bin/cc -DHAVE_MATH -o CMakeFiles/cmTC_3bcda.dir/src.c.o -c 
/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_3bcda
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3bcda.dir/link.txt 
--verbose=1
/usr/bin/cc -DHAVE_MATH CMakeFiles/cmTC_3bcda.dir/src.c.o -o cmTC_3bcda
/usr/bin/ld: CMakeFiles/cmTC_3bcda.dir/src.c.o: in function `main':
src.c:(.text+0x11): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/cmTC_3bcda.dir/build.make:87: cmTC_3bcda] Error 1
make[5]: Leaving directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
make[4]: *** [Makefile:121: cmTC_3bcda/fast] Error 2
make[4]: Leaving directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'

Also:

Run Build Command:"/usr/bin/make" "cmTC_32eb3/fast"
make[4]: Entering directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_32eb3.dir/build.make 
CMakeFiles/cmTC_32eb3.dir/build
make[5]: Entering directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_32eb3.dir/HAMLIB_OLD_CACHING.c.o
/usr/bin/cc 
-I/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/hamlib-prefix/include
 -I/usr/include/libusb-1.0 -o CMakeFiles/cmTC_32eb3.dir/HAMLIB_OLD_CACHING.c.o 
-c /home/myuser/wsjt$
/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CheckTypeSize/HAMLIB_OLD_CACHING.c:24:22:
 error: ‘CACHE_ALL’ undeclared here (not in a function); d$
#define SIZE (sizeof(CACHE_ALL))
^~~~~~~~~
/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CheckTypeSize/HAMLIB_OLD_CACHING.c:26:12:
 note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
make[5]: *** [CMakeFiles/cmTC_32eb3.dir/build.make:66: 
CMakeFiles/cmTC_32eb3.dir/HAMLIB_OLD_CACHING.c.o] Error 1
make[5]: Leaving directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
make[4]: *** [Makefile:121: cmTC_32eb3/fast] Error 2
make[4]: Leaving directory 
'/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CMakeTmp'
/home/myuser/wsjtx/wsjtx-2.3.0-rc2/build/wsjtx-2.3.0-rc2/wsjtx-prefix/src/wsjtx-build/CMakeFiles/CheckTypeSize/HAMLIB_OLD_CACHING.c:


73, KD0KZE / Paul
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to