/tmp/cc32TnAd.o: In function `main':
ex1.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccaJhmWK.o:main.cpp:(.text.startup+0x0): first defined here
/tmp/ccaJhmWK.o: In function `main':
main.cpp:(.text.startup+0x2b): undefined reference to `ex1_ordered_vector()'
main.cpp:(.text.startup+0x37): undefined reference to `ex1_ordered_queue()'
main.cpp:(.text.startup+0x3e): undefined reference to `ex1_reverse_array()'
main.cpp:(.text.startup+0x45): undefined reference to `ex1_reverse_vector()'
main.cpp:(.text.startup+0x4c): undefined reference to `ex1_reverse_stack()'
main.cpp:(.text.startup+0x53): undefined reference to `ex1_ordered_array()'
/tmp/cc32TnAd.o: In function `main':
ex1.cpp:(.text.startup+0x5): undefined reference to `ex4_reverse_array()'
ex1.cpp:(.text.startup+0xa): undefined reference to `ex4_reverse_vector()'
ex1.cpp:(.text.startup+0xf): undefined reference to `ex4_reverse_stack()'
ex1.cpp:(.text.startup+0x14): undefined reference to `ex4_ordered_array()'
ex1.cpp:(.text.startup+0x19): undefined reference to `ex4_ordered_vector()'
ex1.cpp:(.text.startup+0x1e): undefined reference to `ex4_ordered_queue()'
collect2: error: ld returned 1 exit status