[PyKDE] can't install sip using mingw

Phil Thompson phil at riverbankcomputing.co.uk
Fri Mar 25 14:35:31 GMT 2005


On Friday 25 March 2005 9:41 am, mrx wrote:
> Hi!
>
> I can't install sip on my windows machine using mingw
>
> As output imto cmd.exe, I get:
>
>
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> makefile:30: warning: overriding commands for target `.c.o'
> makefile:27: warning: ignoring old commands for target `.c.o'
> Cannot export .idata$4: symbol not found
> Cannot export .idata$5: symbol not found
> Cannot export .idata$6: symbol not found
> Cannot export .text: symbol not found
> Cannot export ⌂python24_NULL_THUNK_DATA: symbol not found
> siplib.o(.text+0x16):siplib.c: undefined reference to `_imp__PyType_Type'
> siplib.o(.text+0x43):siplib.c: undefined reference to
> `_imp__PyBaseObject_Type' siplib.o(.text+0x18e):siplib.c: undefined
> reference to `_imp__PyBaseObject_Type'
>
> siplib.o(.text+0x261):siplib.c: undefined reference to
> `_imp___Py_NoneStruct' siplib.o(.text+0x269):siplib.c: undefined reference
> to `_imp___Py_NoneStruct' siplib.o(.text+0x2e1):siplib.c: undefined
> reference to `_imp___Py_NoneStruct' siplib.o(.text+0x2e9):siplib.c:
> undefined reference to `_imp___Py_NoneStruct'
> siplib.o(.text+0x4c1):siplib.c: undefined reference to
> `_imp___Py_NoneStruct' siplib.o(.text+0x4ef):siplib.c: undefined reference
> to `_imp__PyExc_TypeError' siplib.o(.text+0x524):siplib.c: undefined
> reference to `_imp__PyExc_RuntimeError '
> siplib.o(.text+0x623):siplib.c: undefined reference to
> `_imp__PyExc_IndexError' siplib.o(.text+0x64b):siplib.c: undefined
> reference to `_imp__PyMethod_Type' siplib.o(.text+0x65e):siplib.c:
> undefined reference to `_imp__PyExc_TypeError'
> siplib.o(.text+0x67b):siplib.c: undefined reference to
> `_imp__PyFunction_Type' siplib.o(.text+0x6b8):siplib.c: undefined reference
> to `_imp__PyExc_TypeError' siplib.o(.text+0x712):siplib.c: undefined
> reference to `_imp__PyExc_SystemError'
>
> siplib.o(.text+0x777):siplib.c: undefined reference to `_imp__PyTuple_Type'
> siplib.o(.text+0x805):siplib.c: undefined reference to
> `_imp__PyExc_SystemError'
>
> siplib.o(.text+0x8ec):siplib.c: undefined reference to
> `_imp__PyString_Type' siplib.o(.text+0x95c):siplib.c: undefined reference
> to `_imp___Py_NoneStruct' siplib.o(.text+0x97a):siplib.c: undefined
> reference to `_imp__PyString_Type' siplib.o(.text+0x9ab):siplib.c:
> undefined reference to `_imp___Py_NoneStruct'
> siplib.o(.text+0xa1f):siplib.c: undefined reference to
> `_imp___Py_NoneStruct' siplib.o(.text+0xa2c):siplib.c: undefined reference
> to `_imp__PyString_Type' siplib.o(.text+0xa88):siplib.c: undefined
> reference to `_imp___Py_NoneStruct' siplib.o(.text+0xd22):siplib.c:
> undefined reference to `_imp__PyExc_AttributeErr or'
> siplib.o(.text+0xd56):siplib.c: undefined reference to
> `_imp__PyExc_ValueError' siplib.o(.text+0xd7e):siplib.c: undefined
> reference to `_imp__PyExc_AttributeErr or'
> siplib.o(.text+0xe10):siplib.c: undefined reference to
> `_imp__PyExc_AttributeErr or'
> siplib.o(.text+0xfc6):siplib.c: undefined reference to
> `_imp__PyExc_TypeError' siplib.o(.text+0xff6):siplib.c: undefined reference
> to `_imp__PyExc_SystemError'
>
> siplib.o(.text+0x1016):siplib.c: undefined reference to
> `_imp__PyExc_TypeError' siplib.o(.text+0x10ce):siplib.c: undefined
> reference to `_imp__PyExc_ValueError'
>
> siplib.o(.text+0x10f7):siplib.c: undefined reference to
> `_imp__PyExc_TypeError' siplib.o(.text+0x112e):siplib.c: undefined
> reference to `_imp__PyExc_TypeError' siplib.o(.text+0x13ea):siplib.c:
> undefined reference to `_imp__PyExc_RuntimeErro r'
>
> and then it just keeps on complaining about undefined references to
> god knows what.
>
> I've used the latest release of sip (sip-4.1.1), python 2.4 and MinGW.

That's not the latest release of SIP.

> What on earth am I suppose to do to be able to use pyqt?

Have you got a MinGW compatible version of the Python library as it says in 
the SIP documentation/

Phil




More information about the PyQt mailing list