Advertisement
chrisasl

output of compilation with -g -O0

Jan 12th, 2012
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. out: In function `_start':
  2. (.text+0x0): multiple definition of `_start'
  3. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10
  4. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 11
  5. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
  6. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
  7. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 10
  8. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 12
  9. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 12
  10. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 12
  11. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 2
  12. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 2
  13. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 11
  14. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 12
  15. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 12
  16. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 12
  17. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 12
  18. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 12
  19. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 12
  20. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 12
  21. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 12
  22. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 12
  23. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 19
  24. /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2
  25. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o:/build/buildd/eglibc-2.13/csu/../sysdeps/x86_64/elf/start.S:109: first defined here
  26. out: In function `_fini':
  27. (.fini+0x0): multiple definition of `_fini'
  28. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crti.o:(.fini+0x0): first defined here
  29. out:(.rodata+0x0): multiple definition of `_IO_stdin_used'
  30. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o:(.rodata.cst4+0x0): first defined here
  31. out: In function `__data_start':
  32. (.data+0x0): multiple definition of `__data_start'
  33. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o:(.data+0x0): first defined here
  34. out: In function `__data_start':
  35. (.data+0x8): multiple definition of `__dso_handle'
  36. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbegin.o:(.data+0x0): first defined here
  37. out: In function `_init':
  38. (.init+0x0): multiple definition of `_init'
  39. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crti.o:(.init+0x0): first defined here
  40. /tmp/ccPkESvh.o: In function `main':
  41. main.cpp:(.text+0x0): multiple definition of `main'
  42. out:(.text+0xe4): first defined here
  43. /tmp/cc4xupU8.o: In function `random_products::random_products()':
  44. random_products.cpp:(.text+0x0): multiple definition of `random_products::random_products()'
  45. out:(.text+0x1f8): first defined here
  46. /tmp/cc4xupU8.o: In function `random_products::search_AM(int const&, int const&)':
  47. random_products.cpp:(.text+0x1d8): multiple definition of `random_products::search_AM(int const&, int const&)'
  48. out:(.text+0x3d0): first defined here
  49. /tmp/cc4xupU8.o: In function `random_products::get_AM()':
  50. random_products.cpp:(.text+0x158): multiple definition of `random_products::get_AM()'
  51. out:(.text+0x350): first defined here
  52. /tmp/cc4xupU8.o: In function `random_products::get_probability()':
  53. random_products.cpp:(.text+0x18e): multiple definition of `random_products::get_probability()'
  54. out:(.text+0x386): first defined here
  55. /tmp/cc4xupU8.o: In function `random_products::searchnreturn(int const&)':
  56. random_products.cpp:(.text+0x240): multiple definition of `random_products::searchnreturn(int const&)'
  57. out:(.text+0x438): first defined here
  58. /tmp/cc4xupU8.o: In function `random_products::random_products()':
  59. random_products.cpp:(.text+0x0): multiple definition of `random_products::random_products()'
  60. out:(.text+0x1f8): first defined here
  61. /tmp/cc4dQ3C0.o: In function `Student::Student(random_products&)':
  62. student.cpp:(.text+0x0): multiple definition of `Student::Student(random_products&)'
  63. out:(.text+0x510): first defined here
  64. /tmp/cc4dQ3C0.o: In function `Student::print_student()':
  65. student.cpp:(.text+0x9a): multiple definition of `Student::print_student()'
  66. out:(.text+0x5aa): first defined here
  67. /tmp/cc4dQ3C0.o: In function `Student::Student(random_products&)':
  68. student.cpp:(.text+0x0): multiple definition of `Student::Student(random_products&)'
  69. out:(.text+0x510): first defined here
  70. /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtend.o:(.dtors+0x0): multiple definition of `__DTOR_END__'
  71. out:(.dtors+0x8): first defined here
  72. /usr/bin/ld: error in out(.eh_frame); no .eh_frame_hdr table will be created.
  73. collect2: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement