tbarbette / fastclick

FastClick - A faster version of the Click Modular Router featuring batching, advanced multi-processing and improved Netmap and DPDK support (ANCS'15). Check the metron branch for Metron specificities (NSDI'18). PacketMill modifications (ASPLOS'21) as well as MiddleClick(ToN, 2021) are merged in main.
Other
274 stars 81 forks source link

compile error about context #370

Closed hedj17 closed 1 year ago

hedj17 commented 1 year ago

Hi, Tom At last week, I proposed the issue about middle click, and you updated configure fie. Howeve, there are new issues during compile time and I haven't encountered this problem before. Could you help me?

In file included from ../elements/analysis/multireplay.hh:9:0, from ../elements/analysis/multireplay.cc:21: ../elements/analysis/replay.hh: In member function ‘bool ReplayBase::load_packets()’: ../elements/analysis/replay.hh:155:37: error: ‘Element::batch_mode Element::in_batch_mode’ is protected within this context if (input(i).element()->in_batch_mode) { ^~~~~ In file included from ../include/click/router.hh:4:0, from ../include/click/master.hh:4, from ../include/click/batchelement.hh:9, from ../elements/analysis/multireplay.hh:4, from ../elements/analysis/multireplay.cc:21: ../include/click/element.hh:382:21: note: declared protected here enum batch_mode in_batch_mode; ^~~~~ elements.mk:437: recipe for target 'multireplay.o' failed make[1]: *** [multireplay.o] Error 1

tbarbette commented 1 year ago

Ah yes, sorry I got interrupted and forgot! Compilation is fixed, I'll fix the CI later.