Record Detail

Compile Error

/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

Information

Submit By
Type
Submission
Homework
Assignment 8
Language
C++
Submit At
2018-08-03 18:17:58
Judged At
2018-08-03 18:17:58
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes