Martin Zink created MINIFICPP-1493:
--------------------------------------

             Summary: GPS extension incompatible with newer gpsd versions (3.21 
or higher)
                 Key: MINIFICPP-1493
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1493
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Martin Zink


GPS extension is incompatible with the latest gpsd library releases.

Causing build error
{code:java}
[ 47%] Building CXX object extensions/gps/CMakeFiles/minifi-gps.dir/GetGPS.cpp.o
./nifi-minifi-cpp/extensions/gps/GetGPS.cpp: In member function ‘virtual void 
org::apache::nifi::minifi::processors::GetGPS::onTrigger(const 
std::shared_ptr<org::apache::nifi::minifi::core::ProcessContext>&, const 
std::shared_ptr<org::apache::nifi::minifi::core::ProcessSession>&)’:
./nifi-minifi-cpp/extensions/gps/GetGPS.cpp:109:22: error: ‘struct gps_data_t’ 
has no member named ‘status’{code}
This is due to that gpsd 3.21 (released in 2020-08-04)  changed gps_data_t 
struct.

https://gitlab.com/gpsd/gpsd/commit/29991d6ffeb41ecfc8297db68bb68be0128c8514



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to