[Hamlib-developer] [Hamlib/Hamlib] 5fe81c: Fix compilation errors and warnings and link failure
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Nate B. <no...@gi...> - 2025-05-22 22:31:59
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: 5fe81cdef4fcceff52c7cedc0eac6788c2f64881 https://github.com/Hamlib/Hamlib/commit/5fe81cdef4fcceff52c7cedc0eac6788c2f64881 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: 2025-05-17 (Sat, 17 May 2025) Changed paths: M rigs/kit/usrp.c M rigs/kit/usrp_impl.cc Log Message: ----------- Fix compilation errors and warnings and link failure Compile-tested with commit 8ea3f0e (tag: 3.4.10) from https://github.com/osmocom/libusrp Fixes: usrp_impl.cc:33:10: fatal error: usrp_standard.h: No such file or directory usrp_impl.cc:49:63: error: expected '(' before 'malloc' usrp_impl.cc:49:100: error: expected ')' before ';' token usrp_impl.cc:72:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:86:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:104:39: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:129:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:151:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:169:45: error: invalid 'static_cast' from type 'rig_state*' to type 'usrp_priv_data*' usrp_impl.cc:114:37: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] usrp_impl.cc:139:38: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] /usr/bin/ld: ../src/.libs/libhamlib.so: undefined reference to `usrp_caps' Commit: 9b177cd8b3bcbc47126961377e6b14c689918af2 https://github.com/Hamlib/Hamlib/commit/9b177cd8b3bcbc47126961377e6b14c689918af2 Author: Nate Bargmann <n0...@n0...> Date: 2025-05-22 (Thu, 22 May 2025) Changed paths: M rigs/kit/usrp.c M rigs/kit/usrp_impl.cc Log Message: ----------- Merge GitHub PR #1739. Compare: https://github.com/Hamlib/Hamlib/compare/91a4d914d9dd...9b177cd8b3bc To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |