Sunday, July 6th 2008, 12:27am UTC+1

You are not logged in.

  • Login
  • Register

SteM

Beginner

1

Wednesday, March 12th 2008, 10:17am

Problem compiling Qt4.3.1

Hi all,
i'm compiling Qt4.3.1 on Montavista Linux.
I receive the following error:

collect2: ld terminated with signal 9 [Killed]
make[1]: *** {../../lib/libQtGui.so.4.3.1] Error 1
make[1]: Leaving directory ........
make: *** [sub-gui-make_default-ordererd] Error 2

Any idea ?
Thanks
SteM
  • Go to the top of the page

SteM

Beginner

2

Wednesday, March 12th 2008, 1:58pm

RE: Problem compiling Qt4.3.1

Other problem:

cd src/tools/moc/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/moc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/moc'
cd src/tools/rcc/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/rcc'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/rcc'
cd src/tools/uic/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/uic'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/tools/uic'
cd src/corelib/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/corelib'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/corelib'
cd src/xml/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/xml'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/xml'
cd src/gui/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/gui'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/gui'
cd src/sql/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/sql'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/sql'
cd src/network/ && make -f Makefile
make[1]: Entering directory `/usr/src/qt-x11-commercial-src-4.3.1/src/network'
g++ -c -include .pch/release-shared/QtNetwork -pipe -g -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I/usr/include -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qsslcertificate.o qsslcertificate.cpp
In file included from qsslsocket_openssl_p.h:57,
from qsslsocket_openssl_symbols_p.h:51,
from qsslcertificate.cpp:102:
/usr/include/openssl/asn1.h:905: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/asn1.h:915: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/asn1.h:920: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/asn1.h:933: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/asn1.h:938: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/asn1.h:985: error: invalid conversion from 'void (*)()' to 'void*'
In file included from qsslsocket_openssl_p.h:62,
from qsslsocket_openssl_symbols_p.h:51,
from qsslcertificate.cpp:102:
/usr/include/openssl/pem.h:558: error: invalid conversion from 'void (*)()' to 'void*'
/usr/include/openssl/pem.h:564: error: invalid conversion from 'void (*)()' to 'void*'
make[1]: *** [.obj/release-shared/qsslcertificate.o] Error 1
make[1]: Leaving directory `/usr/src/qt-x11-commercial-src-4.3.1/src/network'
make: *** [sub-network-make_default-ordered] Error 2


How can i solve ???
SteM
  • Go to the top of the page

SteM

Beginner

3

Wednesday, March 12th 2008, 5:55pm

Solved ...

First one was caused from a low memory problem.

The second one is an openssl compilation problem. Openssl version I had was old (0.9.8c instead of, at least 0.9.8f)

Regards!
SteM
  • Go to the top of the page

Rate this thread