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. CentOS Make Errors - agent_tunnel.h

CentOS Make Errors - agent_tunnel.h

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 38.6k 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.
  • W
    W
    webeck5
    wrote on last edited by
    #1

    During make process in a centos installation, I have run into this error;

    ----------------------------------------------------------------------------------------------------
    In file included from agent.cpp:24:0:
    ../../../src/server/include/agent_tunnel.h:89:4: error: ‘SSL_CTX’ does not name a type
        SSL_CTX *m_context;
        ^
    ../../../src/server/include/agent_tunnel.h:90:4: error: ‘SSL’ does not name a type
        SSL *m_ssl;
        ^
    ../../../src/server/include/agent_tunnel.h:123:24: error: expected ‘)’ before ‘*’ token
        AgentTunnel(SSL_CTX *context, SSL *ssl, SOCKET sock, const InetAddress& addr, UINT32 nodeId, UINT32 zoneUIN);
                            ^
    ../../../src/server/include/agent_tunnel.h:154:28: error: ‘SSL_CTX’ was not declared in this scope
     bool SetupServerTlsContext(SSL_CTX *context);
                                ^
    ../../../src/server/include/agent_tunnel.h:154:37: error: ‘context’ was not declared in this scope
     bool SetupServerTlsContext(SSL_CTX *context);
                                        ^
    make[4]: *** [libnxcore_la-agent.lo] Error 1
    -------------------------------------------------------------------------------------------------------------

    Configure ran clean using the following;

    sh ./configure --with-server --with-mysql --with-agent --disable-encryption --disable-ssh --disable-mqtt --without-openssl

    Please advise if you would need the config.log.... Thanks

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

      Hi,

      what version you are trying to build?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • W
        W
        webeck5
        wrote on last edited by
        #3

        Victor,

            I knew I should have added that .... Netxms 2.2.4 on Centos 7.

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

          Hi,

          I overlook that you are trying to build server, not agent. Building server without encryption support is no longer supported. You should install openssl development package and re-run configure without options --disable-encryption and --without-openssl. We have updated configure scxript for next release so it will display meaningful error message in that case.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • W
            W
            webeck5
            wrote on last edited by
            #5

            Victor,

                Understand, Thanks .... I will add openssl. Initially I built this on Windows, to remote CentOS server with Maria db (using the mysql driver) and it worked fine. Before going production fully on CentOS server I wanted to run through the build process and familiarize myself better with the process. During this build I ran across needing several devel libraries. Is there any documentation which defines the libraries required for the options allowed?

                I will consider this issue resolved. Thanks again ...

            Regards,
            Wayne

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

              Probably it's not documented, but list is quite short actually. You definitely need openssl, for SSH support you need libssh, libmosquitto for MQTT support, libcurl for Jira integration and some SMS drivers, and JDK for Java subagents.

              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