Boost Users :
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-30 00:43:36
Sebastien Gerega wrote:
> I am running FC4 with gcc4.0.1 and I installed boost-devel using yum.
> When I compile with gcc and run the serialization example located at
> http://www.boost.org/libs/serialization/example/demo.cpp I have no
> However, the project I am working on requires that I use compatgcc32 for
I have no idea what compatgcc32 is.
> When I compile with gcc32 and run the same example I get
> the following output with a seg fault:
> Segmentation fault
> I am guessing this is because of different compilers being used or
> different versions of libstdc++ being required but I am able to compile
> and run examples using other Boost libraries
Which libraries? Are those compiled ones?
> without problems. Is there
> any way around this?
Well, if you've installed boost-serialization using package management tool,
and that version is built with gcc 4.0.1 and then you're building
application with gcc 3.2 and link to 4.0.1 library, you won't get anything
working at all.
You have to rebuild the serialization library with 3.2
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net