Невозможно скомпилировать Hyperion1.2 с помощью компилятора g ++ MinGW

Привет всем, я пытаюсь для компиляции Hyperion 1.2 и получаю ошибки. Вот команда, которую я использую:

x86_64-w64-mingw32-g++ Hyperion-1.2/Src/Crypter/hyperion.cpp -o Hyperion.exe

Я получаю ошибки:

/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x4b1): undefined reference to `hyperion::OstreamLog::OstreamLog(bool)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x550): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x563): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x572): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x585): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x594): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x5a7): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x5b6): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x5c9): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x5e8): undefined reference to `hyperion::FileInMemory::FileInMemory(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x62a): undefined reference to `hyperion::PE32Analysis::PE32Analysis(hyperion::FileInMemory*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x670): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x695): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6a8): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6b7): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6ca): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6d9): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6ec): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x6fb): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x70e): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x72c): undefined reference to `hyperion::createFasmInfileArray(hyperion::FileInMemory*, unsigned int, unsigned int)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x763): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x798): undefined reference to `hyperion::createFasmInclude(char const*, char const*, unsigned int)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x7cf): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x804): undefined reference to `hyperion::createFasmInclude(char const*, char const*, unsigned int)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x83b): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x860): undefined reference to `hyperion::createFasmKeySize(unsigned int, unsigned int)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x897): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x8b7): undefined reference to `hyperion::createFasmLogfileInc(bool)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x8ee): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x975): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x99a): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x9a9): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x9bc): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x9cb): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x9de): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0x9ed): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xa00): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc04): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc13): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc26): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc38): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc47): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc5a): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc6c): undefined reference to `hyperion::OstreamLog::operator<<(char const*)'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xc7b): undefined reference to `hyperion::OstreamLog::operator<<(std::ostream& (*)(std::ostream&))'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xd90): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xece): undefined reference to `hyperion::FileInMemory::~FileInMemory()'
/tmp/ccKr1FvG.o:hyperion.cpp:(.text+0xfc0): undefined reference to `hyperion::OstreamLog::OstreamLog(bool)'
collect2: error: ld returned 1 exit status

-1
19.06.2018, 09:36
1 ответ

После установки mingw -64 выполните эту команду:

i686-w64-mingw32-c++  Hyperion-1.2/Src/Crypter/*.cpp -o hyperion.exe 

Это команда, необходимая для компиляции Hyperion с помощью MingW.Команда, которую вы пытаетесь использовать, также не сработала для меня. Выше есть.

1
28.01.2020, 05:11

Теги

Похожие вопросы