проблема сборки 1.1.6 с --enable-unicode
-
Делаю:
./configure --prefix=/opt/netxms --with-agent --enable-unicode makeПолучаю:
... make[3]: Entering directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms' CXX agent.lo CXX array.lo CXX base64.lo CXX crypto.lo CC gen_uuid.lo CXX config.lo CXX geolocation.lo crypto.cpp: In function 'RSA* LoadRSAKeys(const wchar_t*)': crypto.cpp:476: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result CXX dload.lo config.cpp: In member function 'bool Config::loadConfigDirectory(const wchar_t*, const wchar_t*)': config.cpp:1086: error: 'DIRW' was not declared in this scope config.cpp:1086: error: 'dir' was not declared in this scope config.cpp:1091: error: 'wopendir' was not declared in this scope config.cpp:1097: error: 'wreaddir' was not declared in this scope config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w' config.cpp:1087: error: forward declaration of 'struct dirent_w' config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w' config.cpp:1087: error: forward declaration of 'struct dirent_w' config.cpp:1104: error: invalid use of incomplete type 'struct dirent_w' config.cpp:1087: error: forward declaration of 'struct dirent_w' config.cpp:1110: error: invalid use of incomplete type 'struct dirent_w' config.cpp:1087: error: forward declaration of 'struct dirent_w' config.cpp:1114: error: 'wclosedir' was not declared in this scope At global scope: cc1plus: warning: unrecognized command line option "-Wno-unused-result" make[3]: *** [config.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... At global scope: cc1plus: warning: unrecognized command line option "-Wno-unused-result" geolocation.cpp:239:1: error: converting to execution character set: Invalid or incomplete multibyte or wide character geolocation.cpp: In member function 'void GeoLocation::posToString(bool, double)': geolocation.cpp:189: error: converting to execution character set: Invalid or incomplete multibyte or wide character geolocation.cpp: In static member function 'static double GeoLocation::parse(const wchar_t*, bool, bool*)': geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character At global scope: cc1plus: warning: unrecognized command line option "-Wno-unused-result" make[3]: *** [geolocation.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src' ...Система gentoo.
Так же заметил, что если в параметрах указать --disable-unicode, то это воспринимается как --enable-unicode.
-
Unicode build dlja Linux esche ne dodelan. Ja planiruju k 1.2.0 ego dodelat'.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login