Seite 1 von 1

Qt4.6Beta für QNX6.4.0 kompilieren

Verfasst: 22. Oktober 2009 08:39
von urlauber
Hallo,

ich bin ein Neuling in Sachen Cross-compiling.
Betriebssystem: Ubuntu 9.04
Qt-Version: 4.6Beta
QNX-Version: 6.4.0

Ich konfiguriere Qt mit Qt mit folgendem Komando als root:

./configure -xplatform qws/qnx-i386-g++ -embedded i386 -little-endian -prefix /qt46 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support -no-exceptions -qt-gfx-qnx -qt-mouse-qnx -qt-kbd-qnx -no-exceptions -no-libtiff

Das "configure" läuft auch ohne Fehlermeldung durch. Nach erfolgreichem configure, starte ich make und bekomme folgende Fehlermeldung, mit der ich leider nichts anfangen kann:

ntox86-g++-4.2.4 -c -include .pch/release-shared-emb-i386/QtNetwork -pipe -fno-exceptions -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -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/qws/qnx-i386-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared-emb-i386 -Ikernel -I.moc/release-shared-emb-i386 -o .obj/release-shared-emb-i386/qhostinfo_unix.o kernel/qhostinfo_unix.cpp
In file included from ../../include/QtNetwork/private/qnet_unix_p.h:1,
from kernel/qhostinfo_unix.cpp:53:
../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:166: error: template with C linkage
kernel/qhostinfo_unix.cpp:387: error: expected `}' at end of input
make[1]: *** [.obj/release-shared-emb-i386/qhostinfo_unix.o] Error 1
make[1]: Leaving directory `/home/ahuy/QtSourcen/qt_master/src/network'
make: *** [sub-network-make_default-ordered] Error 2

Hat jemand von euch Erfahrungen mit dem cross-compiling auf qnx?
Danke im Vorraus für Antworten