The library could not be configured for supporting multi-threaded applications
-
wrote on 17 Jun 2016, 07:30 last edited by
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. -
wrote on 17 Jun 2016, 08:04 last edited by develop-it
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.
-
wrote on 17 Jun 2016, 08:15 last edited by
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
-
wrote on 17 Jun 2016, 08:39 last edited by
/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.
-
wrote on 17 Jun 2016, 09:15 last edited by
Don't worry, thanks for your help.
If someone else wants to help, you are welcome ! -
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?
12/12