POV-Ray : Newsgroups : povray.unix : How to build boost to compile POVRay beta 32 : Re: How to build boost to compile POVRay beta 32 Server Time
14 Jun 2024 13:32:53 EDT (-0400)
  Re: How to build boost to compile POVRay beta 32  
From: Jon Boede
Date: 6 Dec 2010 13:30:00
Message: <web.4cfd2ab97815111181884760@news.povray.org>
"Wise" <wis### [at] intelcom> wrote:
> Nicolas Calimet <pov### [at] freefr> wrote:
> > > See `config.log' for more details.
> >
> >  Details?
> >
> >  - NC
>
> Thanks for your support.
> the config.log file is too big and newsgroup has no way to attached file.
> Anyway, I have some progress lastday after I got root account.
> After  I install boost into /usr/local/lib, POVRay configure can identify boost
> library and pass configure.
> I typed make check install,
> POVRay failed build at below:
>
> g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> -ffast-math -pthread  -L/usr/local/lib -o povray disp_sdl.o disp_text.o
> .../vfe/libvfe.a ../source/backend/libbackend.a ../source/frontend/libfrontend.a
> .../source/base/libbase.a ../source/libpovray.a  -ltiff -ljpeg -lpng12 -lz -lrt
> -lm -lboost_thread  -pthread
> .../vfe/libvfe.a(unixconsole.o)(.text+0x40d0): In function `main':
> : undefined reference to `vtable for boost::detail::thread_data_base'
> .../vfe/libvfe.a(unixconsole.o)(.text+0x40e0): In function `main':
> : undefined reference to `vtable for boost::detail::thread_data_base'
> .../vfe/libvfe.a(unixconsole.o)(.text+0x4b32): In function `main':
> : undefined reference to `boost::thread::start_thread()'
>
.../vfe/libvfe.a(unixconsole.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataIPFvvEEE+0x10):
> undefined reference to `typeinfo for boost::detail::thread_data_base'
>
.../vfe/libvfe.a(unixconsole.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataIPFvvEED1Ev+0x32):
> In function `boost::detail::thread_data<void (*)()>::~thread_data()':
> : undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
>
.../vfe/libvfe.a(unixconsole.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataIPFvvEED0Ev+0x32):
> In function `boost::detail::thread_data<void (*)()>::~thread_data()':
> : undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
> ........
> ........
> : undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
>
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN
3p
> ov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEED0Ev+0x112):
> In function `boost::detail::thread_data<boost::_bi::bind_t<void,
> boost::_mfi::mf1<void, pov::Task, boost::function0<void> const&>,
> boost::_bi::list2<boost::_bi::value<pov::Task*>,
> boost::_bi::value<boost::function0<void> > > > >::~thread_data()':
> : undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
> collect2: ld returned 1 exit status
> make[2]: *** [povray] Error 1
> make[2]: Leaving directory `/home/wchen18/povray/povray-3.7.0.beta.32/unix'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/wchen18/povray/povray-3.7.0.beta.32'
> make: *** [all] Error 2
>
> Any suggestion?
> Thanks,
> Wise

Wise... did you ever fix this?  I am having the "configure: error: Could not
link against boost_thread !" problem in Beta 40?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.