DanieleDeSensi / peafowl

High performance Deep Packet Inspection (DPI) framework to identify L7 protocols and extract and process data and metadata from network traffic.
MIT License
117 stars 42 forks source link

Failing build #16

Closed lmangani closed 6 years ago

lmangani commented 6 years ago

Building on arm64 Ubuntu Xenial fails with:

[ 94%] Building CXX object demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o
In file included from /usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp:46:0,
                 from /usr/src/peafowl/include/peafowl/external/fastflow/ff/ubuffer.hpp:73,
                 from /usr/src/peafowl/demo/http_pattern_matching/http_pm_seq.cpp:53:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::SWSR_Ptr_Buffer::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:225:17: error: ‘WMB’ was not declared in this scope
             WMB();
                 ^
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::SWSR_Ptr_Buffer::multipush(void* const*, int)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:257:17: error: ‘WMB’ was not declared in this scope
             WMB();
                 ^
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::Lamport_Buffer::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:456:17: error: ‘WMB’ was not declared in this scope
             WMB();
                 ^
In file included from /usr/src/peafowl/include/peafowl/external/fastflow/ff/ubuffer.hpp:73:0,
                 from /usr/src/peafowl/demo/http_pattern_matching/http_pm_seq.cpp:53:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp: In member function ‘bool ff::dynqueue::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp:168:13: error: ‘WMB’ was not declared in this scope
         WMB();
             ^
demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/build.make:62: recipe for target 'demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o' failed
make[2]: *** [demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o] Error 1
CMakeFiles/Makefile2:520: recipe for target 'demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/all' failed
make[1]: *** [demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
DanieleDeSensi commented 6 years ago

Fixed in 31639b4c287c0b1ec976b90ecee3cce8043ec2d1