Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Issues with linux compile script #26

Open
sebastiansam55 opened this issue Mar 24, 2021 · 1 comment
Open

More Issues with linux compile script #26

sebastiansam55 opened this issue Mar 24, 2021 · 1 comment

Comments

@sebastiansam55
Copy link

After applying the changes to the compile script discussed here;

Not well informed about C++ so not even sure where to start working the problem.

from y-cruncher/trunk/VSS - DigitViewer2 directory;

>  bash ./Compile-Linux.sh
mkdir: cannot create directory ‘Binaries’: File exists
/home/sam/git/y-cruncher/trunk/VSS - DigitViewer2/.
Compiling 05-A64 (x64 SSE3)...
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::InconsistentMetaData::get_typename() const':
SMC_DigitViewer2.cpp:(.text+0x8f0): multiple definition of `DigitViewer2::InconsistentMetaData::get_typename() const'; /tmp/ccaN0VCo.o:InconsistentMetadataException.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o:(.rodata+0xd0): multiple definition of `DigitViewer2::InconsistentMetaData::TYPENAME'; /tmp/ccaN0VCo.o:(.rodata+0x0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::InconsistentMetaData::move_from()':
SMC_DigitViewer2.cpp:(.text+0x11c0): multiple definition of `DigitViewer2::InconsistentMetaData::move_from()'; /tmp/ccaN0VCo.o:InconsistentMetadataException.cpp:(.text+0x10): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::InconsistentMetaData::fire() const':
SMC_DigitViewer2.cpp:(.text.unlikely+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::fire() const'; /tmp/ccaN0VCo.o:InconsistentMetadataException.cpp:(.text.unlikely+0x0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)':
SMC_DigitViewer2.cpp:(.text+0x3020): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)'; /tmp/cc6wUZVn.o:ParsingTools.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)':
SMC_DigitViewer2.cpp:(.text+0x3120): multiple definition of `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)'; /tmp/cc6wUZVn.o:ParsingTools.cpp:(.text+0x220): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::parse_uL(char const*)':
SMC_DigitViewer2.cpp:(.text+0x31e0): multiple definition of `DigitViewer2::parse_uL(char const*)'; /tmp/cc6wUZVn.o:ParsingTools.cpp:(.text+0x2e0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)':
SMC_DigitViewer2.cpp:(.text+0x4110): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)'; /tmp/cc6wUZVn.o:ParsingTools.cpp:(.text+0x100): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::ClearLine()':
SMC_DigitViewer2.cpp:(.text+0x56a0): multiple definition of `DigitViewer2::ClearLine()'; /tmp/ccePu47q.o:PrintHelpers.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)':
SMC_DigitViewer2.cpp:(.text+0x5fc0): multiple definition of `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)'; /tmp/ccePu47q.o:PrintHelpers.cpp:(.text+0x110): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o: in function `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)':
SMC_DigitViewer2.cpp:(.text+0x6140): multiple definition of `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)'; /tmp/ccePu47q.o:PrintHelpers.cpp:(.text+0x2a0): first defined here
/usr/bin/ld: /tmp/ccegWgJp.o:(.bss+0x0): multiple definition of `DigitViewer2::InconsistentMetaData_Instance'; /tmp/ccaN0VCo.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Compiling 07-PNR (x64 SSE4.1)...
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::InconsistentMetaData::get_typename() const':
SMC_DigitViewer2.cpp:(.text+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::get_typename() const'; /tmp/ccMHqNEe.o:InconsistentMetadataException.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o:(.rodata+0xd0): multiple definition of `DigitViewer2::InconsistentMetaData::TYPENAME'; /tmp/ccMHqNEe.o:(.rodata+0x0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::InconsistentMetaData::move_from()':
SMC_DigitViewer2.cpp:(.text+0x1280): multiple definition of `DigitViewer2::InconsistentMetaData::move_from()'; /tmp/ccMHqNEe.o:InconsistentMetadataException.cpp:(.text+0x10): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::InconsistentMetaData::fire() const':
SMC_DigitViewer2.cpp:(.text.unlikely+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::fire() const'; /tmp/ccMHqNEe.o:InconsistentMetadataException.cpp:(.text.unlikely+0x0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)':
SMC_DigitViewer2.cpp:(.text+0x3520): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)'; /tmp/cc8umcUf.o:ParsingTools.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)':
SMC_DigitViewer2.cpp:(.text+0x3620): multiple definition of `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)'; /tmp/cc8umcUf.o:ParsingTools.cpp:(.text+0x220): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::parse_uL(char const*)':
SMC_DigitViewer2.cpp:(.text+0x36e0): multiple definition of `DigitViewer2::parse_uL(char const*)'; /tmp/cc8umcUf.o:ParsingTools.cpp:(.text+0x2e0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)':
SMC_DigitViewer2.cpp:(.text+0x4600): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)'; /tmp/cc8umcUf.o:ParsingTools.cpp:(.text+0x100): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::ClearLine()':
SMC_DigitViewer2.cpp:(.text+0x5b90): multiple definition of `DigitViewer2::ClearLine()'; /tmp/cc8uG0Nd.o:PrintHelpers.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)':
SMC_DigitViewer2.cpp:(.text+0x64b0): multiple definition of `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)'; /tmp/cc8uG0Nd.o:PrintHelpers.cpp:(.text+0x110): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o: in function `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)':
SMC_DigitViewer2.cpp:(.text+0x6630): multiple definition of `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)'; /tmp/cc8uG0Nd.o:PrintHelpers.cpp:(.text+0x2a0): first defined here
/usr/bin/ld: /tmp/cctL0N9b.o:(.bss+0x0): multiple definition of `DigitViewer2::InconsistentMetaData_Instance'; /tmp/ccMHqNEe.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Compiling 13-HSW (x64 AVX2)...
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::InconsistentMetaData::get_typename() const':
SMC_DigitViewer2.cpp:(.text+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::get_typename() const'; /tmp/cccEzOJS.o:InconsistentMetadataException.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o:(.rodata+0xd0): multiple definition of `DigitViewer2::InconsistentMetaData::TYPENAME'; /tmp/cccEzOJS.o:(.rodata+0x0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::InconsistentMetaData::move_from()':
SMC_DigitViewer2.cpp:(.text+0x1100): multiple definition of `DigitViewer2::InconsistentMetaData::move_from()'; /tmp/cccEzOJS.o:InconsistentMetadataException.cpp:(.text+0x10): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::InconsistentMetaData::fire() const':
SMC_DigitViewer2.cpp:(.text.unlikely+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::fire() const'; /tmp/cccEzOJS.o:InconsistentMetadataException.cpp:(.text.unlikely+0x0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)':
SMC_DigitViewer2.cpp:(.text+0x3100): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)'; /tmp/ccchhQUS.o:ParsingTools.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)':
SMC_DigitViewer2.cpp:(.text+0x3200): multiple definition of `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)'; /tmp/ccchhQUS.o:ParsingTools.cpp:(.text+0x220): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::parse_uL(char const*)':
SMC_DigitViewer2.cpp:(.text+0x32c0): multiple definition of `DigitViewer2::parse_uL(char const*)'; /tmp/ccchhQUS.o:ParsingTools.cpp:(.text+0x2e0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)':
SMC_DigitViewer2.cpp:(.text+0x41f0): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)'; /tmp/ccchhQUS.o:ParsingTools.cpp:(.text+0x100): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::ClearLine()':
SMC_DigitViewer2.cpp:(.text+0x5780): multiple definition of `DigitViewer2::ClearLine()'; /tmp/ccEaTsjS.o:PrintHelpers.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)':
SMC_DigitViewer2.cpp:(.text+0x60a0): multiple definition of `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)'; /tmp/ccEaTsjS.o:PrintHelpers.cpp:(.text+0x110): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o: in function `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)':
SMC_DigitViewer2.cpp:(.text+0x6220): multiple definition of `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)'; /tmp/ccEaTsjS.o:PrintHelpers.cpp:(.text+0x2a0): first defined here
/usr/bin/ld: /tmp/ccaI3wtS.o:(.bss+0x0): multiple definition of `DigitViewer2::InconsistentMetaData_Instance'; /tmp/cccEzOJS.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Compiling 17-SKX (x64 AVX512BW)...
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::InconsistentMetaData::get_typename() const':
SMC_DigitViewer2.cpp:(.text+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::get_typename() const'; /tmp/ccYyA9Gr.o:InconsistentMetadataException.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o:(.rodata+0xd0): multiple definition of `DigitViewer2::InconsistentMetaData::TYPENAME'; /tmp/ccYyA9Gr.o:(.rodata+0x0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::InconsistentMetaData::move_from()':
SMC_DigitViewer2.cpp:(.text+0x12f0): multiple definition of `DigitViewer2::InconsistentMetaData::move_from()'; /tmp/ccYyA9Gr.o:InconsistentMetadataException.cpp:(.text+0x10): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::InconsistentMetaData::fire() const':
SMC_DigitViewer2.cpp:(.text.unlikely+0x0): multiple definition of `DigitViewer2::InconsistentMetaData::fire() const'; /tmp/ccYyA9Gr.o:InconsistentMetadataException.cpp:(.text.unlikely+0x0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)':
SMC_DigitViewer2.cpp:(.text+0x3810): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BufferedReader&, char)'; /tmp/cc2l72et.o:ParsingTools.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)':
SMC_DigitViewer2.cpp:(.text+0x3910): multiple definition of `DigitViewer2::grab_until_delim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char)'; /tmp/cc2l72et.o:ParsingTools.cpp:(.text+0x220): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::parse_uL(char const*)':
SMC_DigitViewer2.cpp:(.text+0x39d0): multiple definition of `DigitViewer2::parse_uL(char const*)'; /tmp/cc2l72et.o:ParsingTools.cpp:(.text+0x2e0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)':
SMC_DigitViewer2.cpp:(.text+0x48e0): multiple definition of `DigitViewer2::grab_until_delim[abi:cxx11](ymp::FileIO::BasicFile&, char)'; /tmp/cc2l72et.o:ParsingTools.cpp:(.text+0x100): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::ClearLine()':
SMC_DigitViewer2.cpp:(.text+0x5e60): multiple definition of `DigitViewer2::ClearLine()'; /tmp/cc9I5wqt.o:PrintHelpers.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)':
SMC_DigitViewer2.cpp:(.text+0x6780): multiple definition of `DigitViewer2::DisplayChar(char, unsigned long*, unsigned long*, unsigned long*)'; /tmp/cc9I5wqt.o:PrintHelpers.cpp:(.text+0x110): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o: in function `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)':
SMC_DigitViewer2.cpp:(.text+0x6900): multiple definition of `DigitViewer2::DisplayFancy(unsigned long, char const*, unsigned long)'; /tmp/cc9I5wqt.o:PrintHelpers.cpp:(.text+0x2a0): first defined here
/usr/bin/ld: /tmp/cc4d4n0s.o:(.bss+0x0): multiple definition of `DigitViewer2::InconsistentMetaData_Instance'; /tmp/ccYyA9Gr.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
@Mysticial
Copy link
Owner

Try the Digit Viewer repo since I just pushed some changes there. I'll fix this repo later since the changes are more substantial (due to other stuff).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants