`In file included from /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:1: /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:12:7: error: ‘VectorVal’ in namespace ‘zeek’ does not name a type zeek::VectorVal* goose_data_array_as_val(const std::vector * dataArray); ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:12:1: note: suggested alternative: ‘RecordVal’ zeek::VectorVal* goose_data_array_as_val(const std::vector * dataArray); ^~~~ RecordVal /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:23:2: error: ‘RecordVal’ does not name a type RecordVal * scriptLandData; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:24:2: error: ‘VectorVal’ does not name a type VectorVal * currentVectorVal; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:25:2: error: ‘uint32’ does not name a type; did you mean ‘uint32_t’? uint32 parsedBytes; ^~~~~~ uint32_t /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:26:2: error: ‘uint32’ does not name a type; did you mean ‘uint32_t’? uint32 totalSize; ^~~~~~ uint32_t /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:28:30: error: expected ‘)’ before ‘tag’ GOOSEDataRecursionInfo(uint8 tag, uint32 maxSize, RecordVal * newData) ~ ^~~~ ) /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:44:3: error: ‘RecordVal’ has not been declared RecordVal * newData) ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: In function ‘void binpac::GOOSE::push_data_array(binpac::GOOSE::GOOSEDataArrayRecursionStack&, const binpac::GOOSE::GOOSEData&, int*)’: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:47:17: error: invalid use of incomplete type ‘const class binpac::GOOSE::GOOSEData’ vstack.emplace(data.tag(), data.len()->value(), newData); ^~~~ In file included from /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:1: /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:9:7: note: forward declaration of ‘class binpac::GOOSE::GOOSEData’ class GOOSEData; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:47:29: error: invalid use of incomplete type ‘const class binpac::GOOSE::GOOSEData’ vstack.emplace(data.tag(), data.len()->value(), newData); ^~~~ In file included from /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:1: /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:9:7: note: forward declaration of ‘class binpac::GOOSE::GOOSEData’ class GOOSEData; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: At global scope: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:53:3: error: ‘uint8’ has not been declared uint8 tag) ^~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: In function ‘void binpac::GOOSE::push_data_array(binpac::GOOSE::GOOSEDataArrayRecursionStack&, const binpac::GOOSE::GOOSEData&, int)’: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:56:20: error: expected type-specifier before ‘RecordVal’ auto tmpDat = new RecordVal(BifType::Record::GOOSE::Data); ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:57:26: error: ‘val_mgr’ is not a member of ‘zeek’ tmpDat->Assign(0, zeek::val_mgr->Count(tag)); ^~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: At global scope: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:66:3: error: variable or field ‘assignDataRecordContent’ declared void RecordVal * recordGooseData, ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:66:3: error: ‘RecordVal’ was not declared in this scope /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:66:3: note: suggested alternative: In file included from /mnt/zeek/src/include/zeek/net_util.h:42, from /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:3, from /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:1: /mnt/zeek/src/include/zeek/util.h:119:7: note: ‘zeek::RecordVal’ class RecordVal; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:66:15: error: ‘recordGooseData’ was not declared in this scope RecordVal * recordGooseData, ^~~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:66:15: note: suggested alternative: ‘VectorOfGOOSEData’ RecordVal * recordGooseData, ^~~~~~~~~~~~~~~ VectorOfGOOSEData /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:67:3: error: ‘uint8’ was not declared in this scope uint8 tag, ^~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:67:3: note: suggested alternative: ‘uint’ uint8 tag, ^~~~~ uint /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:68:3: error: expected primary-expression before ‘const’ const GOOSEData & binpacGooseData) ^~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:138:2: error: ‘RecordVal’ has not been declared RecordVal * & loopDataPtr) ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: In function ‘bool binpac::GOOSE::iteration_end_code(std::vector::const_iterator&, const const_iterator&, binpac::GOOSE::GOOSEDataArrayRecursionStack&, int*&)’: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:143:3: error: ‘RecordVal’ was not declared in this scope RecordVal * tmpDat; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:143:3: note: suggested alternative: In file included from /mnt/zeek/src/include/zeek/net_util.h:42, from /mnt/zeek/src/analyzer/protocol/goose/gooseData.h:3, from /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:1: /mnt/zeek/src/include/zeek/util.h:119:7: note: ‘zeek::RecordVal’ class RecordVal; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:143:15: error: ‘tmpDat’ was not declared in this scope RecordVal * tmpDat; ^~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:143:15: note: suggested alternative: ‘tmpnam’ RecordVal * tmpDat; ^~~~~~ tmpnam /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:144:3: error: ‘VectorVal’ was not declared in this scope VectorVal * tmpVV; ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:144:15: error: ‘tmpVV’ was not declared in this scope VectorVal * tmpVV; ^~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:144:15: note: suggested alternative: ‘tmpnam’ VectorVal * tmpVV; ^~~~~ tmpnam /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:149:37: error: ‘__gnu_cxx::__alloc_traits, binpac::GOOSE::GOOSEDataRecursionInfo>::value_type’ {aka ‘class binpac::GOOSE::GOOSEDataRecursionInfo’} has no member named ‘scriptLandData’ tmpDat = stackOfDataArrays.top().scriptLandData; ^~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:150:67: error: ‘__gnu_cxx::__alloc_traits, binpac::GOOSE::GOOSEDataRecursionInfo>::value_type’ {aka ‘class binpac::GOOSE::GOOSEDataRecursionInfo’} has no member named ‘currentVectorVal’ tmpDat->Assign(GOOSE_DATA_ARRAY_INDEX, stackOfDataArrays.top().currentVectorVal); ^~~~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:155:36: error: ‘__gnu_cxx::__alloc_traits, binpac::GOOSE::GOOSEDataRecursionInfo>::value_type’ {aka ‘class binpac::GOOSE::GOOSEDataRecursionInfo’} has no member named ‘currentVectorVal’ tmpVV = stackOfDataArrays.top().currentVectorVal; ^~~~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:160:36: error: ‘__gnu_cxx::__alloc_traits, binpac::GOOSE::GOOSEDataRecursionInfo>::value_type’ {aka ‘class binpac::GOOSE::GOOSEDataRecursionInfo’} has no member named ‘scriptLandData’ tmpDat = stackOfDataArrays.top().scriptLandData; ^~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:161:66: error: ‘__gnu_cxx::__alloc_traits, binpac::GOOSE::GOOSEDataRecursionInfo>::value_type’ {aka ‘class binpac::GOOSE::GOOSEDataRecursionInfo’} has no member named ‘currentVectorVal’ tmpDat->Assign(GOOSE_DATA_ARRAY_INDEX, stackOfDataArrays.top().currentVectorVal); ^~~~~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc: At global scope: /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:175:8: error: ‘RecordVal’ does not name a type static RecordVal * goose_data_array_as_record_val( ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/gooseData.cc:252:1: error: ‘VectorVal’ does not name a type VectorVal* goose_data_array_as_val(const VectorOfGOOSEData * dataArray) ^~~~~~~~~ make[3]: *** [src/analyzer/protocol/goose/CMakeFiles/plugin-Zeek-GOOSE.dir/build.make:168: src/analyzer/protocol/goose/CMakeFiles/plugin-Zeek-GOOSE.dir/gooseData.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 66%] Building CXX object src/packet_analysis/protocol/pbb/CMakeFiles/plugin-PacketAnalyzer-PBB.dir/Plugin.cc.o /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc: In member function ‘virtual bool zeek::packet_analysis::PA_Goose::GooseAnalyzer::AnalyzePacket(size_t, const uint8_t*, zeek::Packet*)’: /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:32:17: error: ‘GOOSE_Message’ is not a member of ‘binpac::GOOSE’ binpac::GOOSE::GOOSE_Message msg; ^~~~~~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:35:3: error: ‘msg’ was not declared in this scope msg.Parse(data, data + len); ^~~ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:37:16: error: ‘Exception’ in namespace ‘binpac’ does not name a type catch(binpac::Exception & e) { ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:39:13: error: ‘e’ was not declared in this scope errmsg += e.c_msg(); ^ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:50:5: error: ‘msg’ was not declared in this scope if(msg.PDU_case_index() == binpac::GOOSE::GOOSE_PDU && goose_message) ^~~ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:50:44: error: ‘GOOSE_PDU’ is not a member of ‘binpac::GOOSE’ if(msg.PDU_case_index() == binpac::GOOSE::GOOSE_PDU && goose_message) ^~~~~~~~~ /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:50:44: note: suggested alternative: ‘GOOSEData’ if(msg.PDU_case_index() == binpac::GOOSE::GOOSE_PDU && goose_message) ^~~~~~~~~ GOOSEData /mnt/zeek/src/analyzer/protocol/goose/GooseAnalyzer.cc:54:5: error: ‘goosePdu_as_val’ was not declared in this scope goosePdu_as_val(msg.goosePdu())); ^~~~~~~~~~~~~~~ make[3]: *** [src/analyzer/protocol/goose/CMakeFiles/plugin-Zeek-GOOSE.dir/build.make:154: src/analyzer/protocol/goose/CMakeFiles/plugin-Zeek-GOOSE.dir/GooseAnalyzer.cc.o] Error 1