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. Getting make errors while compiling in Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Getting make errors while compiling in Ubuntu

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 4 Posters 580 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.
  • V Offline
    V Offline
    vamshi_122s
    wrote on 28 Jun 2024, 07:43 last edited by
    #1

    I am getting these error could you please help to figure out![alt text](Screenshot from 2024-06-28 13-11-05.png

    In file included from /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp:5:
    /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp: In member function ‘QByteArray QOpcUaX509CertificateSigningRequestPrivate::createSelfSignedCertificate(const QOpcUaKeyPair&, int)’:
    /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp:426:34: error: cannot convert ‘GENERAL_NAMES*’ {aka ‘stack_st_GENERAL_NAME*’} to ‘OPENSSL_STACK*’ {aka ‘stack_st*’}
    426 | q_sk_GENERAL_NAME_push(akid->issuer, generalName);
    /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/openssl_symbols_p.h:433:60: note: in definition of macro ‘q_sk_GENERAL_NAME_push’
    433 | #define q_sk_GENERAL_NAME_push(st, val) q_OPENSSL_sk_push((st), (val))
    | ^~
    In file included from /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/openssl_symbols_p.h:211,
    from /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp:5:
    /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qsslsocket_openssl11_symbols_p.h:60:57: note: initializing argument 1 of ‘void q_OPENSSL_sk_push(OPENSSL_STACK*, void*)’

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Jun 2024, 19:00 last edited by
      #2

      Hi,

      Which Linux distribution are you using ?
      Which version of OpenSSL do you have installed ?

      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
      • G Offline
        G Offline
        growly
        wrote on 10 Jul 2024, 21:58 last edited by
        #3

        I'm also hitting this error. I'm running Debian 11.3 with (debian maintained versions of) openssl 1.1.1w, gcc 10.2.1.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 11 Jul 2024, 04:50 last edited by
          #4

          Qt 6.7 needs openssl 3

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          G 1 Reply Last reply 11 Jul 2024, 08:56
          0
          • C Christian Ehrlicher
            11 Jul 2024, 04:50

            Qt 6.7 needs openssl 3

            G Offline
            G Offline
            growly
            wrote on 11 Jul 2024, 08:56 last edited by
            #5

            Thank you!

            1 Reply Last reply
            0
            • G Offline
              G Offline
              growly
              wrote on 11 Jul 2024, 20:12 last edited by growly 7 Nov 2024, 20:13
              #6

              update for anyone else this affects: after installing openssl-3.3.1 form source, I also had to add /usr/local/lib64 to the ldconfig search path (sudo ldconfig /usr/local/lib64). This is the default openssl-3.3.1 install location and had not been used by anything else on my Debian 11.3 system

              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