Skip to content

fix macro conflict#23

Open
kirazero17 wants to merge 2 commits into
HapCommSys:mainfrom
long-in-hust:fix-log-macro-conflict
Open

fix macro conflict#23
kirazero17 wants to merge 2 commits into
HapCommSys:mainfrom
long-in-hust:fix-log-macro-conflict

Conversation

@kirazero17

Copy link
Copy Markdown

Somehow I've got this error while building ns-3.39 with p4sim:

/home/p4/ns-3/ns3.39/src/core/model/log.h:275:38: error: expected unqualified-id before numeric constant
  275 | #define NS_LOG_INFO(msg) NS_LOG(ns3::LOG_INFO, msg)

The enum LOG_INFO is conflicting with the behavioral model LOG_INFO and is replaced as ns3::<some number>, causing a compilation error.

…he libbmruntime.a from the bmv2 build folder to /usr/local/lib, then edit the cmakelist and the set_pkg_config_env script as I do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant