Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qsslcertificate error with make
Forum Updated to NodeBB v4.3 + New Features

Qsslcertificate error with make

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 6 Posters 5.0k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    joeborg
    wrote on last edited by
    #1

    @g++ -c -include .pch/Qt5Network -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.3.0 -I../../include/QtNetwork/5.3.0/QtNetwork -Ikernel -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qsslcertificate.o ssl/qsslcertificate.cpp
    In file included from ssl/qsslcertificate.cpp:116:0:
    ssl/qsslsocket_openssl_symbols_p.h:437:1: error: 'EC_KEY' does not name a type
    ssl/qsslsocket_openssl_symbols_p.h:438:20: error: variable or field 'q_EC_KEY_free' declared void
    ssl/qsslsocket_openssl_symbols_p.h:438:20: error: 'EC_KEY' was not declared in this scope
    ssl/qsslsocket_openssl_symbols_p.h:438:28: error: 'ecdh' was not declared in this scope
    gmake[3]: *** [.obj/qsslcertificate.o] Error 1
    gmake[3]: Leaving directory /tmp/qt-everywhere-opensource-src-5.3.0/qtbase/src/network' gmake[2]: *** [sub-network-make_first] Error 2 gmake[2]: Leaving directory /tmp/qt-everywhere-opensource-src-5.3.0/qtbase/src'
    gmake[1]: *** [sub-src-make_first] Error 2
    gmake[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.3.0/qtbase'
    gmake: *** [module-qtbase-make_first] Error 2
    @
    I get this error when trying to build 5.3.0 from source.
    I have the latest version of openSSL installed on CentOS 6.4 (64-bit).

    1 Reply Last reply
    0
    • I Offline
      I Offline
      iforce2d
      wrote on last edited by
      #2

      +1 same here (64bit Fedora 17)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        ppawell
        wrote on last edited by
        #3

        the same on RHEL 6.4 x86_64

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          From a quick search you might be missing ecdsa support in you OpenSSL versions.

          Hope it helps

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • I Offline
            I Offline
            iwyc
            wrote on last edited by
            #5

            Had same issue building Qt5.3 on CentOS 6.4.
            Updated the openssl and openssl-devel packages from version 1.0.0-27 to at least 1.0.1e-16. Qt builds OK!

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joeborg
              wrote on last edited by
              #6

              I built openssl-1.0.1h source in a directory, set PATH, LD_LIBRARY_PATH and PKG_CONFIG_PATH to there, but it still fails.

              Running openssl ecparam -out ec_key.pem -name sect571r1 -genkey, for example, works fine.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                joeborg
                wrote on last edited by
                #7

                To get this to work I had to edit ./qtbase/src/network/Makefile and add the new include dir to the INCPATH

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  Hibou
                  wrote on last edited by
                  #8

                  joeborg, excuse me for this question, but could you be more specific?
                  You said you added the new include directory to your INCPATH line in ./qtbase/src/network/Makefile. What include dir?
                  Thanks

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved