Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. The library could not be configured for supporting multi-threaded applications

The library could not be configured for supporting multi-threaded applications

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 3 Posters 4.5k 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.
  • D Offline
    D Offline
    develop-it
    wrote on 16 Jun 2016, 09:55 last edited by
    #1

    Hello,
    I am following this tutorial: http://www.appfruits.com/2015/01/compiling-qt-4-8-5-for-arietta-g25/
    I am doing this for an Berta A5 LCD board, so i replace all gnueabi by gnueabihf.

    I have this when i launch the ./Configure for ssl:

    The library could not be configured for supporting multi-threaded
    applications as the compiler options required on this system are not known.
    See file INSTALL for details if you need multi-threading.

    Because of configuration changes, you MUST do the following before
    building:
    make depend

    When i launch make depend, i have this:

    making depend in crypto...
    make[1] : on entre dans le répertoire « /home/bryan/tempdir/openssl-1.0.2h/crypto »
    ../util/domd: 31: ../util/domd: makedepend: not found
    mv: cannot stat 'Makefile.new': No such file or directory
    Makefile:136 : la recette pour la cible « local_depend » a échouée
    make[1]: *** [local_depend] Erreur 127
    make[1] : on quitte le répertoire « /home/bryan/tempdir/openssl-1.0.2h/crypto »
    Makefile:471 : la recette pour la cible « depend » a échouée
    make: *** [depend] Erreur 1

    I can continue, but when i arrive to the ./configure for Qt, i have many errors, warning and fatal errors.

    Can somebody solve my problem?

    Thanks.

    K 1 Reply Last reply 16 Jun 2016, 14:02
    0
    • D develop-it
      16 Jun 2016, 09:55

      Hello,
      I am following this tutorial: http://www.appfruits.com/2015/01/compiling-qt-4-8-5-for-arietta-g25/
      I am doing this for an Berta A5 LCD board, so i replace all gnueabi by gnueabihf.

      I have this when i launch the ./Configure for ssl:

      The library could not be configured for supporting multi-threaded
      applications as the compiler options required on this system are not known.
      See file INSTALL for details if you need multi-threading.

      Because of configuration changes, you MUST do the following before
      building:
      make depend

      When i launch make depend, i have this:

      making depend in crypto...
      make[1] : on entre dans le répertoire « /home/bryan/tempdir/openssl-1.0.2h/crypto »
      ../util/domd: 31: ../util/domd: makedepend: not found
      mv: cannot stat 'Makefile.new': No such file or directory
      Makefile:136 : la recette pour la cible « local_depend » a échouée
      make[1]: *** [local_depend] Erreur 127
      make[1] : on quitte le répertoire « /home/bryan/tempdir/openssl-1.0.2h/crypto »
      Makefile:471 : la recette pour la cible « depend » a échouée
      make: *** [depend] Erreur 1

      I can continue, but when i arrive to the ./configure for Qt, i have many errors, warning and fatal errors.

      Can somebody solve my problem?

      Thanks.

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 16 Jun 2016, 14:02 last edited by kshegunov
      #2

      @develop-it
      Hello,

      ../util/domd: 31: ../util/domd: makedepend: not found

      https://en.wikipedia.org/wiki/Makedepend
      It's a tool, like make, so you have to install it on your system before you're able to use it.

      Kind regards.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        develop-it
        wrote on 17 Jun 2016, 07:30 last edited by
        #3

        Hello,
        Thank you for your fast answer, it helps me. But i always have the warnings and the fatal errors..
        A warning :
        You have not explicitly asked to use pkg-config and are cross-compiling.
        pkg-config will not be used to automatically query cflag/lib parameters for
        dependencies

        floatmath auto-detection... ()
        arm-linux-gnueabihf-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-arm-gnueabihf-g++ -I. -I/usr/local/arm/include -I/usr/local/arm/ssl/include -o floatmath.o floatmath.cpp
        floatmath.cpp:44:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
        int main(int argc, char **argv)

        An error :
        arm-linux-gnueabihf-g++ -c -pipe -mmmx -O2 -Wall -W -I../../../mkspecs/linux-arm-gnueabihf-g++ -I. -I/usr/local/arm/include -I/usr/local/arm/ssl/include -o mmx.o mmx.cpp
        arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-mmmx’
        Makefile:187 : la recette pour la cible « mmx.o » a échouée
        make: *** [mmx.o] Erreur 1
        mmx disabled.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 17 Jun 2016, 07:48 last edited by
          #4

          MMX is x86 specific and not available on ARM.
          Not sure why -mmmx is passed to compiler.
          At which stage does it happen? While executing configure? If so then it is not an issue and just tells you that MMX will be disabled because not supported on the target platform. Just continue.

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

          1 Reply Last reply
          1
          • D Offline
            D Offline
            develop-it
            wrote on 17 Jun 2016, 08:04 last edited by develop-it
            #5

            Yes, it happen when i launch the ./configure command. I tried to continue but when i launch make install, i have the following :
            Makefile:295 : la recette pour la cible « ../../lib/libQtNetwork.so.4.8.5 » a échouée
            make[1]: *** [../../lib/libQtNetwork.so.4.8.5] Erreur 1
            make[1] : on quitte le répertoire « /home/bryan/tempdir/qt-everywhere-opensource-src-4.8.5/src/network »
            Makefile:291 : la recette pour la cible « sub-network-install_subtargets-ordered » a échouée
            make: *** [sub-network-install_subtargets-ordered] Erreur 2

            May i have to continue or i have a problem ?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 17 Jun 2016, 08:06 last edited by
              #6

              Correct sequence is:

              configure
              make
              make install
              

              So, after configure finished call make first.

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

              1 Reply Last reply
              0
              • D Offline
                D Offline
                develop-it
                wrote on 17 Jun 2016, 08:15 last edited by
                #7

                Yes, that's what i've done

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 17 Jun 2016, 08:35 last edited by
                  #8

                  What was printed before this line:

                  Makefile:295 : la recette pour la cible « ../../lib/libQtNetwork.so.4.8.5 » a échouée
                  

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

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    develop-it
                    wrote on 17 Jun 2016, 08:39 last edited by
                    #9

                    /usr/local/arm/ssl/lib/libssl.a(s3_srvr.o): réadressage de R_ARM_THM_MOVW_ABS_NC en vertu de « a local symbol » ne peut être utilisé lors de la création d'un objet partagé; recompilez avec -fPIC
                    /usr/local/arm/ssl/lib/libssl.a : erreur lors de l'ajout de symboles : Mauvaise valeur
                    collect2: error: ld returned 1 exit status

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 17 Jun 2016, 08:59 last edited by
                      #10

                      Looks like you try to link dynamically against a static lib. But I don't know why that happens.

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

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        develop-it
                        wrote on 17 Jun 2016, 09:15 last edited by
                        #11

                        Don't worry, thanks for your help.
                        If someone else wants to help, you are welcome !

                        K 1 Reply Last reply 17 Jun 2016, 10:56
                        0
                        • D develop-it
                          17 Jun 2016, 09:15

                          Don't worry, thanks for your help.
                          If someone else wants to help, you are welcome !

                          K Offline
                          K Offline
                          kshegunov
                          Moderators
                          wrote on 17 Jun 2016, 10:56 last edited by
                          #12

                          @develop-it
                          Where did that libssl.a binary came from? It's really strange that it's compiled as position dependent. Are you trying to build Qt statically?

                          Read and abide by the Qt Code of Conduct

                          1 Reply Last reply
                          0

                          7/12

                          17 Jun 2016, 08:15

                          • Login

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