Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. проблема сборки 1.1.6 с --enable-unicode

проблема сборки 1.1.6 с --enable-unicode

Scheduled Pinned Locked Moved Support (Russian)
2 Posts 2 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U
    U
    user318
    wrote on last edited by
    #1

    Делаю:

    ./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.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Unicode build dlja Linux esche ne dodelan. Ja planiruju k 1.2.0 ego dodelat'.

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups