On 2015-04-02 10:50, Yaakov Selkowitz wrote:
| There are currently seven packages,
| readpst                                      Jari Aalto

Unfortunately this does not compile under 32bit (ok in 64). There are
some problems with Python bindings that I'm not familiar with.

If someone can suggest anything, I'm all ears...

Jari

$ python --version
Python 2.7.8

gcc (GCC) 4.9.2
make  all-recursive
...
Making all in python
make[2]: Entering directory 
'/home/user/cygwin-package/readpst/libpst-0.6.59/.build/build/python'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -module -no-undefined 
-avoid-version -Wl,--no-undefined -o _libpst.la -rpath 
/usr/lib/python2.7/site-packages python-libpst.lo -lboost_python 
../src/libpst.la 
libtool: link: rm -fr  .libs/_libpst.dll.a
libtool: link: g++ -shared -nostdlib 
/usr/lib/gcc/i686-pc-cygwin/4.9.2/crtbeginS.o  .libs/python-libpst.o  
-Wl,--whole-archive ../src/.libs/libpst.a -Wl,--no-whole-archive  
-lboost_python -L/usr/lib /usr/lib/libiconv.dll.a -L/usr/local/lib 
-L/usr/lib/gcc/i686-pc-cygwin/4.9.2 
-L/usr/lib/gcc/i686-pc-cygwin/4.9.2/../../../../i686-pc-cygwin/lib 
-L/usr/lib/gcc/i686-pc-cygwin/4.9.2/../../.. -lstdc++ -lgcc_s -lgcc -lcygwin 
-ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc 
/usr/lib/gcc/i686-pc-cygwin/4.9.2/crtend.o  -Wl,--no-undefined   -o 
.libs/_libpst.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker 
.libs/_libpst.dll.a
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRhEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRyEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyLong_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRiEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRjEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRsEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRxEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyLong_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRKiEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRKSsEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyString_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python6detail21converter_target_typeINS0_15to_python_valueIRKjEEE10get_pytypeEv':
/usr/include/boost/python/detail/caller.hpp:103: undefined reference to 
`_imp__PyInt_Type'
.libs/python-libpst.o: In function 
`ZN5boost6python9converter22shared_ptr_from_pythonI9__sFILE64E11convertibleEP7_object':
/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZN5boost6python9converter22shared_ptr_from_pythonI8FILETIMEE11convertibleEP7_object':
/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZN5boost6python9converter22shared_ptr_from_pythonI11pst_entryidE11convertibleEP7_object':
/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZN5boost6python9converter22shared_ptr_from_pythonI12pst_index_llE11convertibleEP7_object':
/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZN5boost6python9converter22shared_ptr_from_pythonI12pst_id2_treeE11convertibleEP7_object':
/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o:/usr/include/boost/python/converter/shared_ptr_from_python.hpp:35:
 more undefined references to `_imp___Py_NoneStruct' follow
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKjEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRhEclERKh':
/usr/include/boost/python/converter/builtin_converters.hpp:119: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRyEclERKy':
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRjEclERKj':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRyEclERKy':
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRyEclERKy':
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRsEclERKs':
/usr/include/boost/python/converter/builtin_converters.hpp:121: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o:/usr/include/boost/python/converter/builtin_converters.hpp:122:
 more undefined references to `PyInt_FromLong' follow
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRyEclERKy':
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRxEclERKx':
/usr/include/boost/python/converter/builtin_converters.hpp:149: undefined 
reference to `PyLong_FromLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRyEclERKy':
/usr/include/boost/python/converter/builtin_converters.hpp:150: undefined 
reference to `PyLong_FromUnsignedLongLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRiEclERKi':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function `pointer_arg_from_python':
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKiEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
.libs/python-libpst.o: In function `pointer_arg_from_python':
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKjEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRjEclERKj':
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyInt_FromLong'
/usr/include/boost/python/converter/builtin_converters.hpp:122: undefined 
reference to `PyLong_FromUnsignedLong'
.libs/python-libpst.o: In function `arg_to_python':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `incref<_object>':
/usr/include/boost/python/refcount.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `arg_to_python':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `incref<_object>':
/usr/include/boost/python/refcount.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `pointer_arg_from_python':
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKSsEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `pointer_arg_from_python':
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKSsEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `pointer_arg_from_python':
/usr/include/boost/python/converter/arg_from_python.hpp:269: undefined 
reference to `_imp___Py_NoneStruct'
.libs/python-libpst.o: In function 
`ZNK5boost6python15to_python_valueIRKSsEclES3_':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `arg_to_python':
/usr/include/boost/python/converter/builtin_converters.hpp:162: undefined 
reference to `PyString_FromStringAndSize'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `incref<_object>':
/usr/include/boost/python/refcount.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o:/usr/include/boost/python/detail/none.hpp:16: more 
undefined references to `_imp___Py_NoneStruct' follow
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `postcall<_object*>':
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `_imp__PyExc_IndexError'
/usr/include/boost/python/with_custodian_and_ward.hpp:97: undefined reference 
to `PyErr_SetString'
.libs/python-libpst.o: In function `none':
/usr/include/boost/python/detail/none.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
.libs/python-libpst.o: In function `incref<_object>':
/usr/include/boost/python/refcount.hpp:16: undefined reference to 
`_imp___Py_NoneStruct'
collect2: error: ld returned 1 exit status
Makefile:314: recipe for target '_libpst.la' failed
make[2]: *** [_libpst.la] Error 1
...

Reply via email to