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
Forum Updated to NodeBB v4.3 + New Features

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 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.
  • develop-itD Offline
    develop-itD Offline
    develop-it
    wrote on 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
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      • develop-itD Offline
        develop-itD Offline
        develop-it
        wrote on 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
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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
          • develop-itD Offline
            develop-itD Offline
            develop-it
            wrote on last edited by
            #7

            Yes, that's what i've done

            1 Reply Last reply
            0
            • jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on 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
              • develop-itD Offline
                develop-itD Offline
                develop-it
                wrote on 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
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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
                  • develop-itD Offline
                    develop-itD Offline
                    develop-it
                    wrote on last edited by
                    #11

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

                    kshegunovK 1 Reply Last reply
                    0
                    • develop-itD develop-it

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

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on 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

                      • Login

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