emmericp / MoonGen

MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.03k stars 234 forks source link

Fix multiple definition compile error #323

Closed gierens closed 2 years ago

gierens commented 2 years ago

Newer versions of the C++ compiler treat multiple definitions as errors during linking. This adds the linker option to ignore multiple definitions. It should probably just be a temporary fix until the multiple definitions in libmoon have been removed.

This fixes #322

emmericp commented 2 years ago

Thank you! :)