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
  3. 4.1.333 Build from source fails

4.1.333 Build from source fails

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 19.1k 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.
  • G
    G
    gmonk63
    wrote on last edited by
    #1

    Trying to build from source fails with the following

    OS: Debian Buster
    here is my config    ./configure --with-server --with-client --with-snmp --with-pgsql --with-agent --with-client-proxy --with-vmgr

    Making all in nxcproxy
    make[3]: Entering directory '/home/gmonk/netxms-4.1.333/src/nxcproxy'
    /usr/bin/perl ../../tools/mc.pl messages.mc
      CXX      nxcproxy-listener.o
      CXX      nxcproxy-nxcproxy.o
    nxcproxy.cpp: In function ‘int main(int, char**)’:
    nxcproxy.cpp:372:25: error: ‘CP_ACP’ was not declared in this scope
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
                            ^~~~~~
    nxcproxy.cpp:372:25: note: suggested alternative: ‘P_ALL’
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
                            ^~~~~~
                            P_ALL
    nxcproxy.cpp:372:33: error: ‘MB_PRECOMPOSED’ was not declared in this scope
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
                                    ^~~~~~~~~~~~~~
    nxcproxy.cpp:372:33: note: suggested alternative: ‘MSGRECV_CLOSED’
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
                                    ^~~~~~~~~~~~~~
                                    MSGRECV_CLOSED
    nxcproxy.cpp:372:5: error: ‘MultiByteToWideChar’ was not declared in this scope
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
        ^~~~~~~~~~~~~~~~~~~
    nxcproxy.cpp:372:5: note: suggested alternative: ‘MultiByteToWideCharSysLocale’
        MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, optarg, -1, g_configFile, MAX_PATH);
        ^~~~~~~~~~~~~~~~~~~
        MultiByteToWideCharSysLocale
    make[3]: *** [Makefile:627: nxcproxy-nxcproxy.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/home/gmonk/netxms-4.1.333/src/nxcproxy'
    make[2]: *** [Makefile:467: all-recursive] Error 1
    make[2]: Leaving directory '/home/gmonk/netxms-4.1.333/src'
    make[1]: *** [Makefile:520: all-recursive] Error 1
    make[1]: Leaving directory '/home/gmonk/netxms-4.1.333'
    make: *** [Makefile:452: all] Error 2

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

      Hi,

      looks like nobody checked that client proxy actually compiles. Do you really use it? If not, just remove --with-client-proxy from configure (we will fix compilation anyway though).

      Best regards,
      Victor

      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