[Qt-creator] src build failed: `gst_element_link_pads_full'

Bryce Schober bryce.schober at gmail.com
Fri May 11 19:40:51 CEST 2012


I was thinking about probing into why some of my projects' source isn't
being correctly understood, and decided to build Qt Creator from source. I
used the reference from
www.qt-project.org/wiki/How_To_Build_Qt_Creator_From_Source. I have the Qt
SDK 4.8 installed, updated to 4.8.1 with sources. I used Qt Creator 2.5.0
final as the IDE to build latest git/master.

I got a warning about not having the QtDeclarative module, so I went ahead
and
defined QT_PRIVATE_HEADERS=/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include
even though the wiki suggested that shouldn't be a problem with 4.8.

Then the build proceeded without any module warnings until the link step,
where it failed with:

g++ -c -pipe -g -Wall -W -D_REENTRANT -DWITH_TESTS
-DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION
-DQWEAKPOINTER_ENABLE_ARROW -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB
-DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/mkspecs/linux-g++
-I/home/bschober/git/qt-creator/src/tools/qmlpuppet/qmlpuppet
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtCore
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtNetwork
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtGui
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtTest
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtWebKit
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include/QtDeclarative
-I/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/include
-I../../../../src -I/home/bschober/git/qt-creator/src/libs
-I/home/bschober/git/qt-creator/tools
-I/home/bschober/git/qt-creator/src/plugins
-I/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include
-I/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include/QtCore
-I/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include/QtGui
-I/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include/QtScript
-I/home/bschober/bin/QtSDK-4.8/QtSources/4.8.1/include/QtDeclarative
-I/home/bschober/git/qt-creator/share/qtcreator/qml/qmlpuppet/qmlpuppet/instances
-I/home/bschober/git/qt-creator/share/qtcreator/qml/qmlpuppet/instances
-I/home/bschober/git/qt-creator/share/qtcreator/qml/qmlpuppet/commands
-I/home/bschober/git/qt-creator/share/qtcreator/qml/qmlpuppet/container
-I/home/bschober/git/qt-creator/share/qtcreator/qml/qmlpuppet/interfaces
-I.moc/debug-shared -I. -o .obj/debug-shared/qrc_qmlpuppet.o
.rcc/qrc_qmlpuppet.cpp

g++ -Wl,-z,origin
'-Wl,-rpath,/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/lib:$ORIGIN:$ORIGIN/..:$ORIGIN/../lib/qtcreator'
-o ../../../../bin/qmlpuppet .obj/debug-shared/qt4nodeinstanceserver.o
.obj/debug-shared/qt4nodeinstanceclientproxy.o
.obj/debug-shared/qt4informationnodeinstanceserver.o
.obj/debug-shared/qt4rendernodeinstanceserver.o
.obj/debug-shared/qt4previewnodeinstanceserver.o
.obj/debug-shared/graphicsobjectnodeinstance.o
.obj/debug-shared/qmlgraphicsitemnodeinstance.o
.obj/debug-shared/positionernodeinstance.o
.obj/debug-shared/behaviornodeinstance.o
.obj/debug-shared/dummycontextobject.o
.obj/debug-shared/childrenchangeeventfilter.o
.obj/debug-shared/componentnodeinstance.o
.obj/debug-shared/dummynodeinstance.o
.obj/debug-shared/nodeinstanceclientproxy.o
.obj/debug-shared/nodeinstancemetaobject.o
.obj/debug-shared/nodeinstanceserver.o
.obj/debug-shared/nodeinstancesignalspy.o
.obj/debug-shared/objectnodeinstance.o
.obj/debug-shared/qmlpropertychangesnodeinstance.o
.obj/debug-shared/qmlstatenodeinstance.o
.obj/debug-shared/qmltransitionnodeinstance.o
.obj/debug-shared/servernodeinstance.o
.obj/debug-shared/anchorchangesnodeinstance.o
.obj/debug-shared/synchronizecommand.o .obj/debug-shared/tokencommand.o
.obj/debug-shared/componentcompletedcommand.o
.obj/debug-shared/completecomponentcommand.o
.obj/debug-shared/statepreviewimagechangedcommand.o
.obj/debug-shared/childrenchangedcommand.o
.obj/debug-shared/changebindingscommand.o
.obj/debug-shared/changefileurlcommand.o
.obj/debug-shared/changeidscommand.o
.obj/debug-shared/changenodesourcecommand.o
.obj/debug-shared/changestatecommand.o
.obj/debug-shared/changevaluescommand.o
.obj/debug-shared/informationchangedcommand.o
.obj/debug-shared/removeinstancescommand.o
.obj/debug-shared/removepropertiescommand.o
.obj/debug-shared/reparentinstancescommand.o
.obj/debug-shared/valueschangedcommand.o
.obj/debug-shared/clearscenecommand.o
.obj/debug-shared/createinstancescommand.o
.obj/debug-shared/createscenecommand.o
.obj/debug-shared/pixmapchangedcommand.o
.obj/debug-shared/changeauxiliarycommand.o
.obj/debug-shared/addimportcontainer.o .obj/debug-shared/imagecontainer.o
.obj/debug-shared/idcontainer.o .obj/debug-shared/informationcontainer.o
.obj/debug-shared/instancecontainer.o .obj/debug-shared/reparentcontainer.o
.obj/debug-shared/propertyabstractcontainer.o
.obj/debug-shared/propertybindingcontainer.o
.obj/debug-shared/propertyvaluecontainer.o
.obj/debug-shared/nodeinstanceserverinterface.o .obj/debug-shared/main.o
.obj/debug-shared/moc_qt4nodeinstanceserver.o
.obj/debug-shared/moc_qt4nodeinstanceclientproxy.o
.obj/debug-shared/moc_qt4informationnodeinstanceserver.o
.obj/debug-shared/moc_qt4rendernodeinstanceserver.o
.obj/debug-shared/moc_qt4previewnodeinstanceserver.o
.obj/debug-shared/moc_dummycontextobject.o
.obj/debug-shared/moc_childrenchangeeventfilter.o
.obj/debug-shared/moc_nodeinstanceclientproxy.o
.obj/debug-shared/moc_nodeinstanceserver.o
.obj/debug-shared/moc_nodeinstanceserverinterface.o
.obj/debug-shared/qrc_qmlpuppet.o
-L/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/lib
-L/home/bschober/git/qtcreator-build-desktop/lib/qtcreator -lQtDeclarative
-L/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/lib -lQtScript -lQtSvg
-L/usr/X11R6/lib -lQtSql -lQtXmlPatterns -lQtWebKit -lQtTest -lQtGui
-lQtNetwork -lQtCore -lpthread

/home/bschober/bin/QtSDK-4.8/Desktop/Qt/4.8.1/gcc/lib/libQtWebKit.so:
undefined reference to `gst_element_link_pads_full'

Any pointers about where to go from here?
FWIW, I'm on an Ubuntu 10.04 i686 system w/ an older 4.3.4 gcc.

<><  <><  <><
Bryce Schober
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120511/60a84e82/attachment.html>


More information about the Qt-creator mailing list