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. make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1
Forum Updated to NodeBB v4.3 + New Features

make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
31 Posts 4 Posters 6.6k 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.
  • jsulmJ jsulm

    @Sekhar You're trying to execute a 64bit binary on a 32bit OS, this is not going to work. You need 32bit Qt version. Also, why such an old Ubuntu version and such an old Qt version?!

    S Offline
    S Offline
    Sekhar
    wrote on last edited by
    #11

    @jsulm Sorry i forgot it. Error 1 solved. can you please give me solution for Error 2.

    jsulmJ 1 Reply Last reply
    0
    • S Sekhar

      @jsulm Sorry i forgot it. Error 1 solved. can you please give me solution for Error 2.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #12

      @Sekhar You have issue two commands: one on your device and one on your workstation. Did you do both?

      # This is done on workstation (host)
      workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img
      
      # This is done on device, adapt it to your environment don't just copy paste as is (device file name and IP could be different)
      root@Matilda:~# dd bs=1M if=/dev/mmcblk0|nc 192.168.7.1 19000
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Sekhar You have issue two commands: one on your device and one on your workstation. Did you do both?

        # This is done on workstation (host)
        workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img
        
        # This is done on device, adapt it to your environment don't just copy paste as is (device file name and IP could be different)
        root@Matilda:~# dd bs=1M if=/dev/mmcblk0|nc 192.168.7.1 19000
        
        S Offline
        S Offline
        Sekhar
        wrote on last edited by Sekhar
        #13

        @jsulm said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:

        This is done on workstation (host)

        workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img

        I had a problem on workstation.
        already i was upload a image on above conversation.

        jsulmJ 1 Reply Last reply
        0
        • S Sekhar

          @jsulm said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:

          This is done on workstation (host)

          workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img

          I had a problem on workstation.
          already i was upload a image on above conversation.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #14

          @Sekhar But did you issue the second command on the device also? Because without it the command on your workstation will timeout.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sekhar
            wrote on last edited by Sekhar
            #15

            i tried on both workstation and beaglebone also but didn't response. Ok i will try it once again.
            Nearly How much space(Memory) for this operation is required in my workstation(system).
            thank you.

            jsulmJ 1 Reply Last reply
            0
            • S Sekhar

              i tried on both workstation and beaglebone also but didn't response. Ok i will try it once again.
              Nearly How much space(Memory) for this operation is required in my workstation(system).
              thank you.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #16

              @Sekhar said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:

              Nearly How much space(Memory) for this operation

              Depends on the size of the device partition.
              Did you make sure you're using correct IP address?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sekhar
                wrote on last edited by
                #17

                @jsulm
                Thanks for your vlauble time to spent with my problems solving.
                that image file copied in my /opt/ folder.

                now I am trying to do next step: mount that image, but it shows an error message like

                file.JPG

                in my vertual system had remaing 2GB space only, after copied this image file. that image file takes nearly 16GB.

                jsulmJ 1 Reply Last reply
                0
                • S Sekhar

                  @jsulm
                  Thanks for your vlauble time to spent with my problems solving.
                  that image file copied in my /opt/ folder.

                  now I am trying to do next step: mount that image, but it shows an error message like

                  file.JPG

                  in my vertual system had remaing 2GB space only, after copied this image file. that image file takes nearly 16GB.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #18

                  @Sekhar said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:

                  in my vertual system had remaing 2GB

                  If it is a virtual system you can resize the virtual hard disk and then resize the partition in your virtual system.

                  Regarding mount issue: try to specify file system type using -t parameter (use same file system type used on your device).

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • S Offline
                    S Offline
                    Sekhar
                    wrote on last edited by
                    #19

                    As i was installed Ubuntu 19.04 and i would bi tried these steps mentioned in the document [https://wiki.qt.io/BeagleBone_Black_Beginners_Guide](link url)
                    but at the 3 point(Preparing workstation) i got an error.... like
                    1.JPG

                    and if i was followed another documentation [http://thoughtwaves.com/?p=50](link url) and i got an error like
                    2.JPG

                    i was struggled last 2 months for interfacing QT with Beaglebone Black.
                    my intention is to developing and run a basic QT application on my BeagleBone Black board.

                    could you please tell me how can i slove this error.

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

                      Start by stopping mixing Qt 4 and Qt 5 instruction sets.

                      Follow the Qt wiki instructions and only these.

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

                      S 1 Reply Last reply
                      1
                      • SGaistS SGaist

                        Start by stopping mixing Qt 4 and Qt 5 instruction sets.

                        Follow the Qt wiki instructions and only these.

                        S Offline
                        S Offline
                        Sekhar
                        wrote on last edited by
                        #21

                        @SGaist
                        if i was followed QT wiki instructions i got an error at the time of mount an image.

                        1.JPG

                        already asked is same query in the above conversation but some one told to specify the file system type using -t parameter
                        that's why i am using -o and -t

                        is there any other way to mount that iso. file. for move on next steps...

                        aha_1980A 1 Reply Last reply
                        0
                        • S Sekhar

                          @SGaist
                          if i was followed QT wiki instructions i got an error at the time of mount an image.

                          1.JPG

                          already asked is same query in the above conversation but some one told to specify the file system type using -t parameter
                          that's why i am using -o and -t

                          is there any other way to mount that iso. file. for move on next steps...

                          aha_1980A Offline
                          aha_1980A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on last edited by
                          #22

                          @Sekhar If you would post your console output as text, we could easily modify it and send it back to you. But as pic, that's impossible.

                          So just a rought template, the syntax is:

                          mount -t <filesystem-type> -o loop,<other parameters> <file.img> </path/to/mountpoint>
                          

                          Regards

                          Qt has to stay free or it will die.

                          S 1 Reply Last reply
                          0
                          • aha_1980A aha_1980

                            @Sekhar If you would post your console output as text, we could easily modify it and send it back to you. But as pic, that's impossible.

                            So just a rought template, the syntax is:

                            mount -t <filesystem-type> -o loop,<other parameters> <file.img> </path/to/mountpoint>
                            

                            Regards

                            S Offline
                            S Offline
                            Sekhar
                            wrote on last edited by Sekhar
                            #23

                            @aha_1980
                            thank you... it will working...

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Sekhar
                              wrote on last edited by
                              #24

                              If i was tried to create a make file
                              by following the Qt-wiki document i got an error..... in
                              7.Compiling qtbase (Qt 5.7)

                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
                              typedef struct x509_st X509;
                              ^
                              ssl/qsslcertificate_openssl.cpp: In member function 'QByteArray QSslCertificate::version() const':
                              ssl/qsslcertificate_openssl.cpp:93:68: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
                              QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
                              typedef struct x509_st X509;
                              ^
                              ssl/qsslcertificate_openssl.cpp: In member function 'QByteArray QSslCertificate::serialNumber() const':
                              ssl/qsslcertificate_openssl.cpp:102:45: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
                              ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
                              typedef struct x509_st X509;
                              ^
                              ssl/qsslcertificate_openssl.cpp: In member function 'QSslKey QSslCertificate::publicKey() const':
                              ssl/qsslcertificate_openssl.cpp:238:32: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
                              X509_PUBKEY *xkey = d->x509->cert_info->key;
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
                              typedef struct x509_st X509;
                              ^
                              ssl/qsslcertificate_openssl.cpp:242:29: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
                              if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
                              typedef struct evp_pkey_st EVP_PKEY;
                              ^
                              ssl/qsslcertificate_openssl.cpp:246:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
                              } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
                              typedef struct evp_pkey_st EVP_PKEY;
                              ^
                              ssl/qsslcertificate_openssl.cpp:251:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
                              } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) {
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
                              typedef struct evp_pkey_st EVP_PKEY;
                              ^
                              ssl/qsslcertificate_openssl.cpp:256:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
                              } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
                              ^
                              In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
                              from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
                              from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
                              from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
                              from ssl/qsslsocket_p.h:61,
                              from ssl/qsslsocket_openssl_p.h:69,
                              from ssl/qsslsocket_openssl_symbols_p.h:70,
                              from ssl/qsslcertificate_openssl.cpp:41:
                              /mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
                              typedef struct evp_pkey_st EVP_PKEY;
                              ^
                              ssl/qsslcertificate_openssl.cpp: In function 'uint qHash(const QSslCertificate&, uint)':
                              ssl/qsslcertificate_openssl.cpp:73:1: warning: control reaches end of non-void function [-Wreturn-type]
                              }
                              ^
                              make[2]: *** [Makefile:20795: .obj/qsslcertificate_openssl.o] Error 1
                              make[2]: Leaving directory '/opt/qt5bbb/qt5/qtbase/src/network'
                              make[1]: *** [Makefile:236: sub-network-make_first] Error 2
                              make[1]: Leaving directory '/opt/qt5bbb/qt5/qtbase/src'
                              make: *** [Makefile:47: sub-src-make_first] Error 2

                              could you please tell me how can i solve that errors.....
                              thank you

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

                                Are you trying to build Qt 5.7 using OpenSSL 1.1 ?
                                If so that won't work. Either use OpenSSL 1.0 or update Qt to version that is current.

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

                                S 1 Reply Last reply
                                0
                                • SGaistS SGaist

                                  Are you trying to build Qt 5.7 using OpenSSL 1.1 ?
                                  If so that won't work. Either use OpenSSL 1.0 or update Qt to version that is current.

                                  S Offline
                                  S Offline
                                  Sekhar
                                  wrote on last edited by Sekhar
                                  #26

                                  @SGaist
                                  If i was try to use openSSL 1.0 & openSSL 1.1 it doesn't configure

                                  it will shows an error "-openssl1.O: invalid command-line switch
                                  " or "1.O: unknown argument"
                                  same error for both openSSL 1.0 & openSSL 1.1

                                  Capture.JPG

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • S Sekhar

                                    @SGaist
                                    If i was try to use openSSL 1.0 & openSSL 1.1 it doesn't configure

                                    it will shows an error "-openssl1.O: invalid command-line switch
                                    " or "1.O: unknown argument"
                                    same error for both openSSL 1.0 & openSSL 1.1

                                    Capture.JPG

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #27

                                    @Sekhar There is no such parameter. You just need to use OpenSSL 1.0 header files and libs.

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    1
                                    • S Offline
                                      S Offline
                                      Sekhar
                                      wrote on last edited by
                                      #28

                                      by following the Qt-wiki document i got an error
                                      at the time of Run an application...................

                                      How to resolve this problem............

                                      Starting /opt/untitled/bin/untitled....
                                      This application failed to start because it could not find or load the Qt platform plugin "eglfs"
                                      in "".
                                      Available platform plugins are: linuxfb, minimal, offscreen.
                                      Reinstalling the application may fix this problem.
                                      Process killed by signal

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • S Sekhar

                                        by following the Qt-wiki document i got an error
                                        at the time of Run an application...................

                                        How to resolve this problem............

                                        Starting /opt/untitled/bin/untitled....
                                        This application failed to start because it could not find or load the Qt platform plugin "eglfs"
                                        in "".
                                        Available platform plugins are: linuxfb, minimal, offscreen.
                                        Reinstalling the application may fix this problem.
                                        Process killed by signal

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #29

                                        @Sekhar Did you properly deploy your app (including plug-ins)?

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        S 1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @Sekhar Did you properly deploy your app (including plug-ins)?

                                          S Offline
                                          S Offline
                                          Sekhar
                                          wrote on last edited by
                                          #30

                                          @jsulm
                                          could you please tell me how to including plug-ins

                                          jsulmJ 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