The library could not be configured for supporting multi-threaded applications
-
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 dependWhen 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 1I 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.
-
@develop-it
Hello,../util/domd: 31: ../util/domd: makedepend: not found
https://en.wikipedia.org/wiki/Makedepend
It's a tool, likemake
, so you have to install it on your system before you're able to use it.Kind regards.
-
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
dependenciesfloatmath 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. -
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. -
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 2May i have to continue or i have a problem ?
-
Correct sequence is:
configure make make install
So, after configure finished call make first.
-
Yes, that's what i've done
-
What was printed before this line:
Makefile:295 : la recette pour la cible « ../../lib/libQtNetwork.so.4.8.5 » a échouée
-
/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 -
Looks like you try to link dynamically against a static lib. But I don't know why that happens.
-
Don't worry, thanks for your help.
If someone else wants to help, you are welcome ! -
@develop-it
Where did thatlibssl.a
binary came from? It's really strange that it's compiled as position dependent. Are you trying to build Qt statically?