Re: [C++-sig] Using boost.python with Makefile (no bjam)

2010-10-06 Thread Philipp Münzel
, 2010 at 5:43 AM, Philipp Münzel wrote: >> Oh crap, the command that links is of course: >> >> $ g++ -shared -Wl,-soname,"libhello.so" -L/usr/local/lib -lboost_python >> -o libhello.so hello.o >> >> But I get the undefined symbols nevertheless: >

[C++-sig] Using boost.python with Makefile (no bjam)

2010-10-06 Thread Philipp Münzel
Oh crap, the command that links is of course: $ g++ -shared -Wl,-soname,"libhello.so" -L/usr/local/lib -lboost_python -o libhello.so hello.o But I get the undefined symbols nevertheless: U PyString_Type w _Jv_RegisterClasses U _Py_NoneStruct U _Unwind_Resume@@GCC_3.0

[C++-sig] Using boost.python with Makefile (no bjam)

2010-10-06 Thread Philipp Münzel
Hi everyone, thanks to hints on this list I've now got a working build of boost.python. I built the hello world exmaple (using the jam-file) and ran the testsuite with success. Now I want to get used to boost.python by exporting a few functions of a C++ lib I'm working on. This lib uses make as

Re: [C++-sig] How to compile Boost.Python for 32bit on 64bit Linux

2010-10-05 Thread Philipp Münzel
ng a whole afternoon figuring out the different platform nightmares :( Philipp On 10/05/2010 05:24 PM, Stefan Seefeld wrote: > On 10/05/2010 11:07 AM, Philipp Münzel wrote: >> Hi Charles, >> >> thanks for the fast answer! >> So I downloaded python 2.7 source and did: &

Re: [C++-sig] How to compile Boost.Python for 32bit on 64bit Linux

2010-10-05 Thread Philipp Münzel
= -1 bases = 0x0 result = 0xf74ff7ec to_merge = 0x0 bases_aslist = #2 0x08150400 in ?? () No symbol table info available. Backtrace stopped: previous frame inner to this frame (corrupt stack?) Philipp On 10/05/2010 05:07 PM, Philipp Münzel wrote: > Hi

Re: [C++-sig] How to compile Boost.Python for 32bit on 64bit Linux

2010-10-05 Thread Philipp Münzel
ll not be able to > load the binaries. > > Charles > > On Tue, Oct 5, 2010 at 8:41 AM, Philipp Münzel wrote: >> Hi everyone, >> >> I'm trying to build a Boost.Python 32bit static library on a 64bit Linux >> (Suse 11.3). >> >> Of course, I ha

[C++-sig] How to compile Boost.Python for 32bit on 64bit Linux

2010-10-05 Thread Philipp Münzel
Hi everyone, I'm trying to build a Boost.Python 32bit static library on a 64bit Linux (Suse 11.3). Of course, I have the respective python-devel and python32 packages for my platform installed. I build my minimal work environment of boost-thread, -system and -python with this command: sudo ./bj