/usr/bin/ld: /tmp/ccdcw2Us.o: in function `send_packet(std::vector<bool, std::allocator<bool> >)':
stub.cpp:(.text+0x240): multiple definition of `send_packet(std::vector<bool, std::allocator<bool> >)'; /tmp/ccfD39Ll.o:message.cpp:(.text+0x610): first defined here
/usr/bin/ld: /tmp/ccdcw2Us.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccfD39Ll.o:message.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccfD39Ll.o: in function `(anonymous namespace)::run_scenario()':
message.cpp:(.text+0x16e): undefined reference to `send_message(std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >)'
/usr/bin/ld: message.cpp:(.text+0x24e): undefined reference to `receive_message(std::vector<std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > > >)'
/usr/bin/ld: /tmp/ccdcw2Us.o: in function `(anonymous namespace)::run_decoder()':
stub.cpp:(.text+0x65c): undefined reference to `receive_message(std::vector<std::vector<bool, std::allocator<bool> >, std::allocator<std::vector<bool, std::allocator<bool> > > >)'
/usr/bin/ld: /tmp/ccdcw2Us.o: in function `(anonymous namespace)::run_encoder()':
stub.cpp:(.text+0xbf8): undefined reference to `send_message(std::vector<bool, std::allocator<bool> >, std::vector<bool, std::allocator<bool> >)'
collect2: error: ld returned 1 exit status