Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------- Build: Debug in FileLib (compiler: GNU GCC Compiler)---------------
- 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
- obj/Debug/InFileb.o: In function `OutFile::~OutFile()':
- /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
- obj/Debug/InFileb.o: In function `BaseFile::destroy(BaseFile*)':
- /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
- obj/Debug/main.o: In function `OutFile::~OutFile()':
- /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
- obj/Debug/main.o: In function `BaseFile::destroy(BaseFile*)':
- /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
- obj/Debug/OutFileb.o: In function `OutFile::~OutFile()':
- /home/myuser/Projects/FileLib/MainHeader.hpp:42: multiple definition of `BaseFile::create(FileObjectType)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:42: first defined here
- obj/Debug/OutFileb.o: In function `BaseFile::destroy(BaseFile*)':
- /home/myuser/Projects/FileLib/MainHeader.hpp:50: multiple definition of `BaseFile::destroy(BaseFile*)'
- obj/Debug/InFile.o:/home/myuser/Projects/FileLib/MainHeader.hpp:50: first defined here
- collect2: error: ld returned 1 exit status
- Process terminated with status 1 (0 minute(s), 0 second(s))
- 12 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Advertisement
Add Comment
Please, Sign In to add comment