Russian Qt Forum
Ноябрь 27, 2024, 23:03 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1]   Вниз
  Печать  
Автор Тема: Не могу установить Qt 4.5.3 - Basic XLib functionality test failed  (Прочитано 7323 раз)
xintrea
Супер активный житель
*****
Offline Offline

Сообщений: 754



Просмотр профиля WWW
« : Февраль 05, 2010, 03:11 »

Здравствуйте!


Нужно мне установить Qt 4.5.3 под Linux (Debian Stable). Беру его отсюда: http://ftp://ftp.qt.nokia.com/qt/source/qt-all-opensource-src-4.5.3.tar.gz

Во время работы "./configure -prefix /opt/qt_4_5_3" вываливается ошибка:

Код:
Basic XLib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/xi/work/compilpro/compilpro_debian_5_0_4/qt-all-opensource-src-4.5.3/mkspecs/linux-g++.

Пакеты libx11-6 и libx11-dev установлены.

Погуглив, нахожу один и тот же скопипастеный совет - установить пакеты build-dep и qt4-qmake.

Пакета build-dep в стандартном дебиановском репозитарии нет.

А установка пакета qt4-qmake выглядит вообще феерично - нафига для сборки Qt нужен qmake, если этот qmake как раз и должен собираться при установке?

Вопрос - как установить эту версию Qt?
Записан

Собираю информацию по крупицам
http://webhamster.ru
xintrea
Супер активный житель
*****
Offline Offline

Сообщений: 754



Просмотр профиля WWW
« Ответ #1 : Февраль 05, 2010, 12:19 »

Ага, вопрос решился доустановкой пакетов

libx86-dev
libxext-dev
x11proto-xext-dev

Какой конкретно был нужен не скажу, так как поставил их одновременно. Видимо, достаточно было бы libxext-dev.

Записан

Собираю информацию по крупицам
http://webhamster.ru
crossly
Гость
« Ответ #2 : Февраль 07, 2010, 21:32 »

какая либа конкретно нужна можно посмотреть Makefile самого теста...
Записан
mannyz
Гость
« Ответ #3 : Февраль 12, 2010, 17:37 »

у меня таже фигня была. и действительно, помогла только установка libxext-dev.

xintrea, а вы не могли бы пояснить как вы дошли до того, что нехватает именно этих трех библиотек? дело в том, что я еще только учусь, и хочется научиться мыслить правильно в нестандартных ситуациях
Записан
mannyz
Гость
« Ответ #4 : Февраль 12, 2010, 18:04 »

товарищи, у меня новая проблема. Уже после установки libxext-dev. Пишет следующее:
Цитировать
/moc_qtimer.o .obj/release-shared/moc_qtranslator.o .obj/release-shared/moc_qobjectcleanuphandler.o .obj/release-shared/moc_qsharedmemory.o .obj/release-shared/moc_qeventdispatcher_unix_p.o .obj/release-shared/moc_qtextcodecplugin.o .obj/release-shared/moc_qabstractstate.o .obj/release-shared/moc_qstate.o .obj/release-shared/moc_qfinalstate.o .obj/release-shared/moc_qhistorystate.o .obj/release-shared/moc_qabstracttransition.o .obj/release-shared/moc_qsignaltransition.o .obj/release-shared/moc_qeventtransition.o   -L/opt/qtSDKnow/qt/lib -lpthread -lm -ldl -lrt
.obj/release-shared/qthread_unix.o: In function `QThreadPrivate::createEventDispatcher(QThreadData*)':
/opt/qtSDKnow/qt/src/corelib/thread/qthread_unix.cpp:200: undefined reference to `QEventDispatcherGlib::QEventDispatcherGlib(QObject*)'
/opt/qtSDKnow/qt/src/corelib/thread/qthread_unix.cpp:197: undefined reference to `QEventDispatcherGlib::versionSupported()'
.obj/release-shared/qcoreapplication.o: In function `QCoreApplicationPrivate::createEventDispatcher()':
/opt/qtSDKnow/qt/src/corelib/kernel/qcoreapplication.cpp:316: undefined reference to `QEventDispatcherGlib::QEventDispatcherGlib(QObject*)'
/opt/qtSDKnow/qt/src/corelib/kernel/qcoreapplication.cpp:315: undefined reference to `QEventDispatcherGlib::versionSupported()'
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtCore.so.4.6.1] Error 1
make[1]: Leaving directory `/opt/qtSDKnow/qt/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2

к сожалению, ответа пока не нашел. может подскажите, что нибудь?
пробовал
Цитировать
sudo apt-get install libglib2.0-dev
, но тщетно. Также произвел установку librte-dev и librtai-dev (только не знаю зачем )).

Может это потому что конфишурил с ключом -platform linux-g++-32? (я про 32)
Записан
mannyz
Гость
« Ответ #5 : Февраль 12, 2010, 20:09 »

мне показалось, что упущена компилияция kernel/qeventdispatcher_glib.cpp.
 я попытался Makefile подправить. Теперь выдает следующее:
Цитировать
make[1]: Entering directory `/opt/qtSDKnow/qt/src/corelib'
g++ -c -include .pch/release-shared/QtCore -m32 -pipe -g -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-32 -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include -o .obj/release-shared/qeventdispatcher_glib.o kernel/qeventdispatcher_glib.cpp
/opt/qtSDKnow/qt/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-32 -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include kernel/qeventdispatcher_glib_p.h -o .moc/release-shared/moc_qeventdispatcher_glib_p.cpp
g++ -c -include .pch/release-shared/QtCore -m32 -pipe -g -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-32 -I. -I../../include -I../../include/QtCore -I.rcc/release-shared -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include -o .obj/release-shared/moc_qeventdispatcher_glib_p.o .moc/release-shared/moc_qeventdispatcher_glib_p.cpp
rm -f libQtCore.so.4.6.1 libQtCore.so libQtCore.so.4 libQtCore.so.4.6
g++ -m32 -Wl,-rpath-link,/opt/qtSDKnow/qt/lib -Wl,--no-undefined -Wl,-e,qt_core_boilerplate -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.6.1/lib -Wl,-rpath,/usr/local/Trolltech/Qt-4.6.1/lib -shared -Wl,-soname,libQtCore.so.4 -o libQtCore.so.4.6.1 .obj/release-shared/qabstractanimation.o .obj/release-shared/qvariantanimation.o .obj/release-shared/qpropertyanimation.o .obj/release-shared/qanimationgroup.o .obj/release-shared/qsequentialanimationgroup.o .obj/release-shared/qparallelanimationgroup.o .obj/release-shared/qpauseanimation.o .obj/release-shared/qfuture.o .obj/release-shared/qfutureinterface.o .obj/release-shared/qfuturesynchronizer.o .obj/release-shared/qfuturewatcher.o .obj/release-shared/qrunnable.o .obj/release-shared/qtconcurrentfilter.o .obj/release-shared/qtconcurrentmap.o .obj/release-shared/qtconcurrentresultstore.o .obj/release-shared/qtconcurrentthreadengine.o .obj/release-shared/qtconcurrentiteratekernel.o .obj/release-shared/qtconcurrentexception.o .obj/release-shared/qthreadpool.o .obj/release-shared/qglobal.o .obj/release-shared/qlibraryinfo.o .obj/release-shared/qmalloc.o .obj/release-shared/qnumeric.o .obj/release-shared/qatomic.o .obj/release-shared/qmutex.o .obj/release-shared/qreadwritelock.o .obj/release-shared/qmutexpool.o .obj/release-shared/qsemaphore.o .obj/release-shared/qthread.o .obj/release-shared/qthreadstorage.o .obj/release-shared/qmutex_unix.o .obj/release-shared/qthread_unix.o .obj/release-shared/qwaitcondition_unix.o .obj/release-shared/qbitarray.o .obj/release-shared/qbytearray.o .obj/release-shared/qbytearraymatcher.o .obj/release-shared/qcryptographichash.o .obj/release-shared/qdatetime.o .obj/release-shared/qeasingcurve.o .obj/release-shared/qhash.o .obj/release-shared/qline.o .obj/release-shared/qlinkedlist.o .obj/release-shared/qlist.o .obj/release-shared/qlocale.o .obj/release-shared/qpoint.o .obj/release-shared/qmap.o .obj/release-shared/qmargins.o .obj/release-shared/qcontiguouscache.o .obj/release-shared/qrect.o .obj/release-shared/qregexp.o .obj/release-shared/qshareddata.o .obj/release-shared/qsharedpointer.o .obj/release-shared/qsize.o .obj/release-shared/qstring.o .obj/release-shared/qstringbuilder.o .obj/release-shared/qstringlist.o .obj/release-shared/qtextboundaryfinder.o .obj/release-shared/qtimeline.o .obj/release-shared/qvector.o .obj/release-shared/qvsnprintf.o .obj/release-shared/adler32.o .obj/release-shared/compress.o .obj/release-shared/crc32.o .obj/release-shared/deflate.o .obj/release-shared/gzio.o .obj/release-shared/inffast.o .obj/release-shared/inflate.o .obj/release-shared/inftrees.o .obj/release-shared/trees.o .obj/release-shared/uncompr.o .obj/release-shared/zutil.o .obj/release-shared/harfbuzz-buffer.o .obj/release-shared/harfbuzz-gdef.o .obj/release-shared/harfbuzz-gsub.o .obj/release-shared/harfbuzz-gpos.o .obj/release-shared/harfbuzz-impl.o .obj/release-shared/harfbuzz-open.o .obj/release-shared/harfbuzz-stream.o .obj/release-shared/harfbuzz-shaper-all.o .obj/release-shared/qharfbuzz.o .obj/release-shared/qabstractfileengine.o .obj/release-shared/qbuffer.o .obj/release-shared/qdatastream.o .obj/release-shared/qdebug.o .obj/release-shared/qdir.o .obj/release-shared/qdiriterator.o .obj/release-shared/qfile.o .obj/release-shared/qfileinfo.o .obj/release-shared/qiodevice.o .obj/release-shared/qnoncontiguousbytedevice.o .obj/release-shared/qprocess.o .obj/release-shared/qtextstream.o .obj/release-shared/qtemporaryfile.o .obj/release-shared/qresource.o .obj/release-shared/qresource_iterator.o .obj/release-shared/qurl.o .obj/release-shared/qsettings.o .obj/release-shared/qfsfileengine.o .obj/release-shared/qfsfileengine_iterator.o .obj/release-shared/qfilesystemwatcher.o .obj/release-shared/qfsfileengine_unix.o .obj/release-shared/qfsfileengine_iterator_unix.o .obj/release-shared/qprocess_unix.o .obj/release-shared/qfilesystemwatcher_inotify.o .obj/release-shared/qfilesystemwatcher_dnotify.o .obj/release-shared/qpluginloader.o .obj/release-shared/qfactoryloader.o .obj/release-shared/quuid.o .obj/release-shared/qlibrary.o .obj/release-shared/qlibrary_unix.o .obj/release-shared/qabstracteventdispatcher.o .obj/release-shared/qabstractitemmodel.o .obj/release-shared/qbasictimer.o .obj/release-shared/qeventloop.o .obj/release-shared/qcoreapplication.o .obj/release-shared/qcoreevent.o .obj/release-shared/qmetaobject.o .obj/release-shared/qmetatype.o .obj/release-shared/qmimedata.o .obj/release-shared/qobject.o .obj/release-shared/qobjectcleanuphandler.o .obj/release-shared/qsignalmapper.o .obj/release-shared/qsocketnotifier.o .obj/release-shared/qtimer.o .obj/release-shared/qtranslator.o .obj/release-shared/qvariant.o .obj/release-shared/qcoreglobaldata.o .obj/release-shared/qsharedmemory.o .obj/release-shared/qsystemsemaphore.o .obj/release-shared/qpointer.o .obj/release-shared/qmath.o .obj/release-shared/qcore_unix.o .obj/release-shared/qcrashhandler.o .obj/release-shared/qsharedmemory_unix.o .obj/release-shared/qsystemsemaphore_unix.o .obj/release-shared/qeventdispatcher_glib.o .obj/release-shared/qeventdispatcher_unix.o .obj/release-shared/qisciicodec.o .obj/release-shared/qlatincodec.o .obj/release-shared/qsimplecodec.o .obj/release-shared/qtextcodec.o .obj/release-shared/qtsciicodec.o .obj/release-shared/qutfcodec.o .obj/release-shared/qtextcodecplugin.o .obj/release-shared/qfontlaocodec.o .obj/release-shared/qiconvcodec.o .obj/release-shared/qstatemachine.o .obj/release-shared/qabstractstate.o .obj/release-shared/qstate.o .obj/release-shared/qfinalstate.o .obj/release-shared/qhistorystate.o .obj/release-shared/qabstracttransition.o .obj/release-shared/qsignaltransition.o .obj/release-shared/qeventtransition.o .obj/release-shared/qxmlstream.o .obj/release-shared/qxmlutils.o .obj/release-shared/moc_qfuturewatcher.o .obj/release-shared/moc_qthreadpool.o .obj/release-shared/moc_qnamespace.o .obj/release-shared/moc_qthread.o .obj/release-shared/moc_qeasingcurve.o .obj/release-shared/moc_qlocale.o .obj/release-shared/moc_qtimeline.o .obj/release-shared/moc_qfile.o .obj/release-shared/moc_qiodevice.o .obj/release-shared/moc_qnoncontiguousbytedevice_p.o .obj/release-shared/moc_qtemporaryfile.o .obj/release-shared/moc_qsettings.o .obj/release-shared/moc_qfilesystemwatcher_p.o .obj/release-shared/moc_qfilesystemwatcher_inotify_p.o .obj/release-shared/moc_qfilesystemwatcher_dnotify_p.o .obj/release-shared/moc_qpluginloader.o .obj/release-shared/moc_qlibrary.o .obj/release-shared/moc_qfactoryloader_p.o .obj/release-shared/moc_qabstracteventdispatcher.o .obj/release-shared/moc_qabstractitemmodel.o .obj/release-shared/moc_qeventloop.o .obj/release-shared/moc_qcoreapplication.o .obj/release-shared/moc_qcoreevent.o .obj/release-shared/moc_qmimedata.o .obj/release-shared/moc_qsocketnotifier.o .obj/release-shared/moc_qtimer.o .obj/release-shared/moc_qtranslator.o .obj/release-shared/moc_qobjectcleanuphandler.o .obj/release-shared/moc_qsharedmemory.o .obj/release-shared/moc_qeventdispatcher_glib_p.o .obj/release-shared/moc_qeventdispatcher_unix_p.o .obj/release-shared/moc_qtextcodecplugin.o .obj/release-shared/moc_qabstractstate.o .obj/release-shared/moc_qstate.o .obj/release-shared/moc_qfinalstate.o .obj/release-shared/moc_qhistorystate.o .obj/release-shared/moc_qabstracttransition.o .obj/release-shared/moc_qsignaltransition.o .obj/release-shared/moc_qeventtransition.o   -L/opt/qtSDKnow/qt/lib -lpthread -lm -ldl -lrt
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlib::wakeUp()':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:568: undefined reference to `g_main_context_wakeup'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier*)':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:490: undefined reference to `g_source_remove_poll'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlib::hasPendingEvents()':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:427: undefined reference to `g_main_context_pending'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:412: undefined reference to `g_main_context_iteration'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:414: undefined reference to `g_main_context_iteration'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlibPrivate':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:306: undefined reference to `g_main_context_ref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:314: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:316: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:317: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:322: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:324: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:325: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:329: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:333: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:334: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:337: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:339: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:340: undefined reference to `g_source_set_priority'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:341: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:308: undefined reference to `g_main_context_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:296: undefined reference to `g_threads_got_initialized'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:297: undefined reference to `g_thread_init'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:305: undefined reference to `g_main_context_default'
.obj/release-shared/qeventdispatcher_glib.o: In function `~QEventDispatcherGlib':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:365: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:366: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:368: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:369: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:375: undefined reference to `g_source_remove_poll'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:379: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:380: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:384: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:385: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:389: undefined reference to `g_main_context_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:365: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:366: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:368: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:369: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:375: undefined reference to `g_source_remove_poll'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:379: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:380: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:384: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:385: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:389: undefined reference to `g_main_context_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:365: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:366: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:368: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:369: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:375: undefined reference to `g_source_remove_poll'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:379: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:380: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:384: undefined reference to `g_source_destroy'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:385: undefined reference to `g_source_unref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:389: undefined reference to `g_main_context_unref'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*)':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:466: undefined reference to `g_source_add_poll'
.obj/release-shared/qeventdispatcher_glib.o: In function `QEventDispatcherGlibPrivate':
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:306: undefined reference to `g_main_context_ref'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:314: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:316: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:317: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:322: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:324: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:325: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:329: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:333: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:334: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:337: undefined reference to `g_source_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:339: undefined reference to `g_source_set_can_recurse'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:340: undefined reference to `g_source_set_priority'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:341: undefined reference to `g_source_attach'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:308: undefined reference to `g_main_context_new'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:296: undefined reference to `g_threads_got_initialized'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:297: undefined reference to `g_thread_init'
/opt/qtSDKnow/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:305: undefined reference to `g_main_context_default'
collect2: ld returned 1 exit status
make[1]: *** [../../lib/libQtCore.so.4.6.1] Error 1
make[1]: Leaving directory `/opt/qtSDKnow/qt/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2
Все-таки наверное надо искать другие пути решения проблемы. Помогите, пожалуйста..

А, кстати, когда qt-sdk из бинарника ставишь, надо компилировать Qt потом вручную - может, я лишней работой занимаюсь?
Дело в том, что под виндой надо вручную компилить...
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.117 секунд. Запросов: 22.