ONLYOFFICE / build_tools

Used to build ONLYOFFICE DocumentServer-related products
https://www.onlyoffice.com
GNU Affero General Public License v3.0
99 stars 174 forks source link

recipe for target 'core_build/linux_64/release/obj/hash.o' failed #721

Closed practisedaybyday closed 6 months ago

practisedaybyday commented 1 year ago

g++ -c -pipe -Wno-register -fvisibility=hidden -fvisibility-inlines-hidden -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DINTVER=7.3.1.0 -DWIN_INTVER=7,3,1,0 -DCOPYRIGHT_YEAR=2023 -DQT_VERSION_LESS_5_15 -DLINUX -D_LINUX -DDOCTRENDERER_USE_DYNAMIC_LIBRARY_BUILDING -DV8_VERSION_89_PLUS -DV8_COMPRESS_POINTERS -DV8_INSPECTOR -DSUPPORT_HARFBUZZ_SHAPER -DBUIDLER_OPEN_DOWNLOAD_ENABLED -DBUIDLER_OPEN_BASE64_ENABLED -DQT_NO_DEBUG -DQT_PLUGIN -I. -Ijs_internal -I../../Common/3dParty/v8_89/v8 -I../../Common/3dParty/v8_89/v8/include -Ijs_internal/v8/inspector -I../../Common/3dParty/boost/build/linux_64/include -I../../Common/3dParty/openssl/build/linux_64/include -I../../../build_tools/tools/linux/qt_build/Qt-5.9.9/gcc_64/mkspecs/linux-g++ -o core_build/linux_64/release/obj/home/administrator/onlyoffice1/core/Common/3dParty/pole/pole.o ../../Common/3dParty/pole/pole.cpp hash.cpp: In member function ‘unsigned char CHash::hash(const unsigned char, int, int)’: hash.cpp:44:24: error: ‘MD2’ was not declared in this scope MD2(data, d, pBufData); ^ hash.cpp: In function ‘void NSUtfs::Utf8_to_utf16le(const char, unsigned char&, size_t&)’: hash.cpp:117:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (code < 0x10000) \ ^ hash.cpp:141:5: note: in expansion of macro ‘WriteUtf16’ WriteUtf16(byteMain, utf16_cur); ^ hash.cpp: In function ‘void hash_iteration(unsigned char&, int, unsigned char&, int, size_t)’: hash.cpp:251:31: error: ‘MD2’ was not declared in this scope MD2(input, alg_size + 4, tmp); ^ hash.cpp: In member function ‘unsigned char CHash::hash2(const char, const char*, int, int)’: hash.cpp:326:40: error: ‘MD2’ was not declared in this scope MD2(inputData, inputDataLen, pBuffer1);

cc1plus: warning: unrecognized command line option ‘-Wno-register’ /home/administrator/onlyoffice1/build_tools/../core/DesktopEditor/doctrenderer/Makefile.doctrendererlinux_64:901: recipe for target 'core_build/linux_64/release/obj/hash.o' failed make[1]: *** [core_build/linux_64/release/obj/hash.o] Error 1

截屏2023-08-08 下午3 10 41

Operating system: ubuntu 16.04

Compiler version: 7,3,1,0

igwyd commented 10 months ago

Hi @practisedaybyday, sorry for the late reply. Have you followed our guide and have you updated your server? We have released a new version, could you please try compiling again?

Rita-Bubnova commented 6 months ago

This issue was closed due no response.