USNavalResearchLaboratory / norm

NACK-Oriented Reliable Multicast (NORM) implementation & tools (RFCs 5740, 5401)
https://www.nrl.navy.mil/Our-Work/Areas-of-Research/Information-Technology/NCS/NORM/
Other
98 stars 36 forks source link

PROTO_ADDR_BROADCAST not declared #12

Closed scij closed 4 years ago

scij commented 4 years ago

When trying to build NORM from the latest commit (norm and Protolib) I am getting this error:

../src/common/normSession.cpp:5110:20: error: use of undeclared identifier 'PROTO_ADDR_BROADCAST' etherDst = PROTO_ADDR_BROADCAST; And yes, there is no such definition in the source code. I re-ran waf configure --build-java but no changes. My system macOS 10.15.5 with the latest Xcode installed.

bebopagogo commented 4 years ago

I just pushed the accompanying protolib update that I overlooked doing. Sorry for the inconvenience. I think a "cd norm; git pull" should suffice to get the update, but you may also need to do a "git submodule update" within the the 'norm' directory to pull the updated protolib submodulate into your norm tree

scij commented 4 years ago

Wow - that was quick. Tks so much. And yes, git submodule update was necessary.