Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2003-12-26 19:32:54


David Abrahams wrote:

> David Abrahams <dave_at_[hidden]> writes:
>
>
>>>* Boost.Python doesn't build in MinGW. I've tried looking at this one
>>> but it seems to be a problem with the way MinGW exports variables in
>>> a DLL.
>>
>>Whoa, that's a new one on me. I'd been testing Boost.Python with
>>MinGW for quite some time. I'll see if I can reproduce this one.
>
>
> Hmm, it's working for me. What problems are you seeing?

If you look at the build logs...

        http://www.boost.org/build-logs

You'll see my errors.

An example:

gcc-Link-action
bin\boost\libs\python\build\boost_python.dll\mingw\debug\boost_python-mgw-d-1_31.dll
bin\boost\libs\python\build\boost_python.dll\mingw\debug\boost_python-mgw-d-1_31.lib
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 python22_NULL_THUNK_DATA: symbol not found
Creating library file:
bin\boost\libs\python\build\boost_python.dll\mingw\debug\boost_python-mgw-d-1_31.lib
bin\boost\libs\python\build\boost_python.dll\mingw\debug\numeric.obj(.text+0x76):
In function
`ZN5boost6python7numeric68_GLOBAL__N_C__CVSROOTs_Boost_boost_libs_python_src_numeric.cppIQq5hb18throw_load_failureEv':
C:/CVSROOTs/Boost/boost/libs/python/src/numeric.cpp:29: undefined reference to
`_imp__PyExc_ImportError'
bin\boost\libs\python\build\boost_python.dll\mingw\debug\numeric.obj(.text+0x26a):
In function
`ZN5boost6python7numeric68_GLOBAL__N_C__CVSROOTs_Boost_boost_libs_python_src_numeric.cppIQq5hb4loadEb':
C:/CVSROOTs/Boost/boost/libs/python/src/numeric.cpp:57: undefined reference to
`_imp__PyType_Type'

And so on for all references to Python exported globals.

Which version of MinGW are you using? And how are you building?

I'm at MinGW 3.1.0-1, which is GCC 3.2.3.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera_at_[hidden] - grafik_at_[hidden] - 102708583_at_icq

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk