Guest User

Untitled

a guest
May 2nd, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. -------------- Build: Debug in FileLib (compiler: GNU GCC Compiler)---------------
  2.  
  3. g++ -shared -L/usr/lib/i386-linux-gnu obj/Debug/InFile.o obj/Debug/InFileb.o obj/Debug/main.o obj/Debug/OutFileb.o -o bin/Debug/libFileLib.so
  4. obj/Debug/InFileb.o: In function `OutFile::~OutFile()':
  5. /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
  6. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
  7. obj/Debug/InFileb.o: In function `BaseFile::destroy(BaseFile*)':
  8. /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
  9. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
  10. obj/Debug/main.o: In function `OutFile::~OutFile()':
  11. /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
  12. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
  13. obj/Debug/main.o: In function `BaseFile::destroy(BaseFile*)':
  14. /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
  15. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
  16. obj/Debug/OutFileb.o: In function `OutFile::~OutFile()':
  17. /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
  18. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
  19. obj/Debug/OutFileb.o: In function `BaseFile::destroy(BaseFile*)':
  20. /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
  21. obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
  22. collect2: error: ld returned 1 exit status
  23. Process terminated with status 1 (0 minute(s), 0 second(s))
  24. 12 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Advertisement
Add Comment
Please, Sign In to add comment