/usr/bin/ld: /tmp/ccL6F4sW.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccHYYVJd.o:migrations.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccHYYVJd.o: in function `main':
migrations.cpp:(.text.startup+0xf8): undefined reference to `send_message(int, int, int)'
/usr/bin/ld: migrations.cpp:(.text.startup+0x1d1): undefined reference to `longest_path(std::vector<int, std::allocator<int> >)'
/usr/bin/ld: /tmp/ccL6F4sW.o: in function `main':
stub.cpp:(.text.startup+0xa9): undefined reference to `send_message(int, int, int)'
/usr/bin/ld: stub.cpp:(.text.startup+0x230): undefined reference to `longest_path(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status