lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-users] _imp__ error on MinGW



Hi,

I am trying to make a dll file for python binding on libvirt.
(libvirtmod.dll)

python bindings static library is successfully build.(on make install)
But if I add -no-undefined, dll files are also trying created but failed.
The error are follows(these functions are should be existed on python25.dll)
============================
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1630: undefined reference to `_imp__PyArg_ParseTuple'
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1632: undefined reference to `_imp___Py_NoneStruct'
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1633: undefined reference to `_imp__PyEval_ThreadsInitialized'
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1636: undefined reference to `_imp__PyEval_ThreadsInitialized'
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1636: undefined reference to `_imp__PyEval_RestoreThread'
C:/msys/1.0/home/Administrator/work/libvirt-0.4.4/python/libvirt-py.c:1633: undefined reference to `_imp__PyEval_SaveThread'
collect2: ld returned 1 exit status
===========================

I am trying to change the location of python25.dll file.
but it does not solved yet.
If you have any idea, Please suggest me.

The libvirt compilation on MinGW procedure is follows.
https://www.redhat.com/archives/libvir-list/2008-June/msg00235.html

Thanks
Atsushi SAKAI




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users