On Mon, Sep 28, 2020 at 7:22 AM Bill Somerville <[email protected]>
wrote:

> On 28/09/2020 13:13, Richard Shaw wrote:
>
> Looking at building test packages for Fedora and ran into this:
>
> /builddir/build/BUILD/wsjtx-2.3.0-rc1/wsjtx/Transceiver/HamlibTransceiver.cpp:
> In member function 'virtual int HamlibTransceiver::do_start()':
> /builddir/build/BUILD/wsjtx-2.3.0-rc1/wsjtx/Transceiver/HamlibTransceiver.cpp:612:69:
> error: 'HAMLIB_CACHE_ALL' was not declared in this scope
>   612 |   auto orig_cache_timeout = rig_get_cache_timeout_ms (rig_.data
> (), HAMLIB_CACHE_ALL);
>       |
>   ^~~~~~~~~~~~~~~~
>
> Hamlib is from a 4.0 checkout in June:
> 4.0-0.9.fc33.20200615git779cd69287
>
> Thanks,
> Richard
> KF5OIM
>
> Hi Richard,
>
> that is a surprise, there should be a configure check for that. Please
> reply with the contents of wsjtx_config.h which you will find at the root
> of the build tree.
>

# cat wsjtx_config.h
#ifndef WSJTX_CONFIG_H__
#define WSJTX_CONFIG_H__

#ifdef __cplusplus
extern "C"  {
#endif

#define WSJTX_VERSION_MAJOR 2
#define WSJTX_VERSION_MINOR 3
#define WSJTX_VERSION_PATCH 0-rc1

#define CMAKE_INSTALL_DATAROOTDIR "share"
#define CMAKE_INSTALL_DOCDIR "share/doc/WSJT-X"
#define CMAKE_INSTALL_DATADIR "share"
#define CMAKE_PROJECT_NAME "wsjtx"
#define PROJECT_MANUAL "wsjtx-main"
#define PROJECT_HOMEPAGE "
http://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html";
#define PROJECT_MANUAL_DIRECTORY_URL "
http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-doc/";
#define PROJECT_SAMPLES_URL "http://downloads.sourceforge.net/project/wsjt/";
#define PROJECT_SUMMARY_DESCRIPTION "WSJT-X - Digital Modes for Weak Signal
Communications in Amateur Radio."

#define HAVE_HAMLIB_CACHING 1

#define WSJT_SHARED_RUNTIME 0
#define WSJT_QDEBUG_TO_FILE 0
#define WSJT_QDEBUG_IN_RELEASE 0
#define WSJT_TRACE_CAT 0
#define WSJT_TRACE_CAT_POLLS 0
#define WSJT_HAMLIB_TRACE 0
#define WSJT_HAMLIB_VERBOSE_TRACE 0
#define WSJT_SOFT_KEYING 1
#define WSJT_ENABLE_EXPERIMENTAL_FEATURES 0
#define WSJT_RIG_NONE_CAN_SPLIT 0
#define WSJT_TRACE_UDP 0

#define WSJTX_STRINGIZE1(x) #x
#define WSJTX_STRINGIZE(x) WSJTX_STRINGIZE1(x)

/* consistent UNICODE behaviour */
#ifndef UNICODE
# undef _UNICODE
#else
# ifndef _UNICODE
# define _UNICODE
# endif
#endif

  /* typedef for consistent gfortran ABI for charlen type hidden arguments
*/
#if __GNUC__ > 7
#ifdef __cplusplus
#include <cstddef>
#else
#include <stddef.h>
#endif
  typedef size_t fortran_charlen_t;
#else
  typedef int fortran_charlen_t;
#endif

#ifdef __cplusplus
}
#endif

#endif


Thanks,
Richard
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to