[PyQt] Build problem with latest PyQt snapshot on Windows

İsmail Dönmez ismail at namtrac.org
Wed Mar 4 07:18:50 GMT 2009


Hi;

Using Qt 4.5 SDK with latest PyQt snapshot on Windows using MingW, I
got the following error:

g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -shared -Wl,-subsystem,windows -Wl,-s -o QtCore.pyd sipQtCorecmodule.o sipQtC
oreQMap.o sipQtCoreQXmlStreamWriter.o sipQtCoreQXmlStreamReader.o sipQtCoreQXmlS
treamEntityResolver.o sipQtCoreQXmlStreamEntityDeclaration.o sipQtCoreQXmlStream
NotationDeclaration.o sipQtCoreQXmlStreamNamespaceDeclaration.o sipQtCoreQXmlStr
eamAttributes.o sipQtCoreQXmlStreamAttribute.o sipQtCoreQWaitCondition.o sipQtCo
reQVector.o sipQtCoreQVariant.o sipQtCoreQUuid.o sipQtCoreQUrlFormattingOptions.
o sipQtCoreQUrl.o sipQtCoreQTranslator.o sipQtCoreQTimer.o sipQtCoreQTimeLine.o
sipQtCoreQThreadPool.o sipQtCoreQThread.o sipQtCoreQTextStreamManipulator.o sipQ
tCoreQTextStreamNumberFlags.o sipQtCoreQTextStream.o sipQtCoreQTextDecoder.o sip
QtCoreQTextEncoder.o sipQtCoreQTextCodecConverterState.o sipQtCoreQTextCodecConv
ersionFlags.o sipQtCoreQTextCodec.o sipQtCoreQTextBoundaryFinderBoundaryReasons.
o sipQtCoreQTextBoundaryFinder.o sipQtCoreQTemporaryFile.o sipQtCoreQSystemSemap
hore.o sipQtCoreQStringMatcher.o sipQtCoreQStringList.o sipQtCoreQStringRef.o si
pQtCoreQLatin1String.o sipQtCoreQStringSectionFlags.o sipQtCoreQString.o sipQtCo
reQSocketNotifier.o sipQtCoreQSizeF.o sipQtCoreQSize.o sipQtCoreQSignalMapper.o
sipQtCoreQSharedMemory.o sipQtCoreQSettings.o sipQtCoreQSemaphore.o sipQtCoreQRu
nnable.o sipQtCoreQResource.o sipQtCoreQRegExp.o sipQtCoreQRectF.o sipQtCoreQRec
t.o sipQtCoreQWriteLocker.o sipQtCoreQReadLocker.o sipQtCoreQReadWriteLock.o sip
QtCoreQProcess.o sipQtCoreQPointF.o sipQtCoreQPoint.o sipQtCoreQPluginLoader.o s
ipQtCoreQPair.o sipQtCoreQGenericReturnArgument.o sipQtCoreQGenericArgument.o si
pQtCoreQMetaObject.o sipQtCoreQObjectCleanupHandler.o sipQtCoreQWidget.o sipQtCo
reQMutexLocker.o sipQtCoreQMutex.o sipQtCoreQMimeData.o sipQtCoreQMetaType.o sip
QtCoreQMetaClassInfo.o sipQtCoreQMetaProperty.o sipQtCoreQMetaEnum.o sipQtCoreQM
etaMethod.o sipQtCoreQSystemLocale.o sipQtCoreQLocaleNumberOptions.o sipQtCoreQL
ocale.o sipQtCoreQList.o sipQtCoreQLineF.o sipQtCoreQLine.o sipQtCoreQLibraryInf
o.o sipQtCoreQLibraryLoadHints.o sipQtCoreQLibrary.o sipQtCoreQIODeviceOpenMode.
o sipQtCoreQFSFileEngine.o sipQtCoreQFileSystemWatcher.o sipQtCoreQFileInfo.o si
pQtCoreQFilePermissions.o sipQtCoreQFile.o sipQtCoreQEventLoopProcessEventsFlags
.o sipQtCoreQEventLoop.o sipQtCoreQDirIteratorIteratorFlags.o sipQtCoreQDirItera
tor.o sipQtCoreQDirSortFlags.o sipQtCoreQDirFilters.o sipQtCoreQDir.o sipQtCoreQ
DateTime.o sipQtCoreQTime.o sipQtCoreQDate.o sipQtCoreQDataStream.o sipQtCoreQCr
yptographicHash.o sipQtCoreQDynamicPropertyChangeEvent.o sipQtCoreQChildEvent.o
sipQtCoreQTimerEvent.o sipQtCoreQEvent.o sipQtCoreQCoreApplication.o sipQtCoreMS
G.o sipQtCorePOINT.o sipQtCoreQChar.o sipQtCoreQLatin1Char.o sipQtCoreQByteArray
Matcher.o sipQtCoreQByteArray.o sipQtCoreQIODevice.o sipQtCoreQBuffer.o sipQtCor
eQBitArray.o sipQtCoreQBasicTimer.o sipQtCoreQAbstractListModel.o sipQtCoreQAbst
ractTableModel.o sipQtCoreQAbstractItemModel.o sipQtCoreQPersistentModelIndex.o
sipQtCoreQModelIndex.o sipQtCoreQAbstractFileEngineIterator.o sipQtCoreQAbstract
FileEngineHandler.o sipQtCoreQAbstractFileEngineFileFlags.o sipQtCoreQAbstractFi
leEngine.o sipQtCoreQObject.o sipQtCoreQAbstractEventDispatcher.o sipQtCoreQtTex
tInteractionFlags.o sipQtCoreQtMatchFlags.o sipQtCoreQtItemFlags.o sipQtCoreQtDr
opActions.o sipQtCoreQtToolBarAreas.o sipQtCoreQtDockWidgetAreas.o sipQtCoreQtIm
ageConversionFlags.o sipQtCoreQtWindowStates.o sipQtCoreQtWindowFlags.o sipQtCor
eQtAlignment.o sipQtCoreQtOrientations.o sipQtCoreQtMouseButtons.o sipQtCoreQtKe
yboardModifiers.o sipQtCoreQt.o sipQtCoreQSysInfo.o -LC:\Users\cartman\Downloads
\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-snapshot-20090303\qpy\QtCor
e\release -LC:\python26\libs -Lc:/Qt/2009.01/qt/lib -lqpycore -lpython26 -lQtCor
e4 -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0x33): undefined reference to `_imp__qpycore_pyqtProperty_Typ
e'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0x44): undefined reference to `_imp__qpycore_pyqtProperty_Typ
e'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0x69): undefined reference to `_imp__qpycore_pyqtProperty_Typ
e'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0x97): undefined reference to `_imp__qpycore_pyqtSignal_Type'

C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0xb5): undefined reference to `_imp__qpycore_pyqtSignal_Type'

C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0xdc): undefined reference to `_imp__qpycore_pyqtBoundSignal_
Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0xed): undefined reference to `_imp__qpycore_pyqtBoundSignal_
Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_post_init.o):qpycore_po
st_init.cpp:(.text+0x269): undefined reference to `_imp__qpycore_pyqtSignal_Type
'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_init.o):qpycore_init.cp
p:(.text+0xf): undefined reference to `_imp__qpycore_pyqtWrapperType_Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_init.o):qpycore_init.cp
p:(.text+0x1a): undefined reference to `_imp__qpycore_pyqtWrapperType_Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_init.o):qpycore_init.cp
p:(.text+0x30): undefined reference to `_imp__qpycore_pyqtWrapperType_Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_init.o):qpycore_init.cp
p:(.text+0xc6): undefined reference to `_imp__qpycore_pyqtWrapperType_Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_types.o):qpycore_types.
cpp:(.text+0x644): undefined reference to `_imp__qpycore_pyqtProperty_Type'
C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303\qpy\QtCore\release/libqpycore.a(qpycore_types.o):qpycore_types.
cpp:(.text+0x83d): undefined reference to `_imp__qpycore_pyqtSignal_Type'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [QtCore.pyd] Error 1
mingw32-make[1]: Leaving directory `C:/Users/cartman/Downloads/PyQt-win-gpl-4.5-
snapshot-20090303/PyQt-win-gpl-4.5-snapshot-20090303/QtCore'
mingw32-make: *** [all] Error 2

C:\Users\cartman\Downloads\PyQt-win-gpl-4.5-snapshot-20090303\PyQt-win-gpl-4.5-s
napshot-20090303>

Any help is appreciated.

-- 
İsmail DÖNMEZ



More information about the PyQt mailing list