POV-Ray : Newsgroups : povray.unix : Problems compiling 3.7 on FreeBSD Server Time
23 Dec 2024 10:44:23 EST (-0500)
  Problems compiling 3.7 on FreeBSD (Message 1 to 7 of 7)  
From: jhu
Subject: Problems compiling 3.7 on FreeBSD
Date: 28 Aug 2011 11:55:01
Message: <web.4e5a645d75e998c43b47249a0@news.povray.org>
Just installed FreeBSD 8.2 on my new file server and decided it could also
double as a render node. So I installed boost libraries using pkg_add,
downloaded and ./configure povray 3.7. No errors during configure. When I type
'make', the first thing I get is

g++ -DHAVE_CONFIG_H -I. -I../..  -I../..  -I../../source  -I../../source
-I../../source/base  -I../../unix  -I../../vfe  -I../../vfe/unix   -pipe
-Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
-march=native -D_THREAD_SAFE -pthread -MT fnpovfpu.o -MD -MP -MF
..deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' || echo
'./'`vm/fnpovfpu.cpp
In file included from ../../vfe/unix/syspovconfigbase.h:93,
                 from ../../source/base/configbase.h:98,
                 from ../../source/backend/frame.h:112,
                 from vm/fnpovfpu.cpp:296:
.../../vfe/unix/syspovconfig.h:127:32: error: boost/shared_ptr.hpp: No such file
or directory


WTF? configure detected the presence of boost libraries, how can these things
not be there? Is there something about FreeBSD's package libraries? They're
located in /usr/local/lib and I also tried explicitly stating that to no avail.


Post a reply to this message

From: clipka
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 28 Aug 2011 19:31:06
Message: <4e5acfba$1@news.povray.org>
Am 28.08.2011 17:53, schrieb jhu:
> Just installed FreeBSD 8.2 on my new file server and decided it could also
> double as a render node. So I installed boost libraries using pkg_add,
> downloaded and ./configure povray 3.7. No errors during configure. When I type
> 'make', the first thing I get is
>
> g++ -DHAVE_CONFIG_H -I. -I../..  -I../..  -I../../source  -I../../source
> -I../../source/base  -I../../unix  -I../../vfe  -I../../vfe/unix   -pipe
> -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
> -march=native -D_THREAD_SAFE -pthread -MT fnpovfpu.o -MD -MP -MF
> ...deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' || echo
> './'`vm/fnpovfpu.cpp
> In file included from ../../vfe/unix/syspovconfigbase.h:93,
>                   from ../../source/base/configbase.h:98,
>                   from ../../source/backend/frame.h:112,
>                   from vm/fnpovfpu.cpp:296:
> ..../../vfe/unix/syspovconfig.h:127:32: error: boost/shared_ptr.hpp: No such file
> or directory
>
>
> WTF? configure detected the presence of boost libraries, how can these things
> not be there? Is there something about FreeBSD's package libraries? They're
> located in /usr/local/lib and I also tried explicitly stating that to no avail.

It might be helpful to see the log output of ./configure.


Post a reply to this message

From: jhu
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 31 Aug 2011 11:55:00
Message: <web.4e5e591c5237611c590073930@news.povray.org>
I just deleted the FreeBSD pkg of boost and downloaded the libraries from the
main website, compiled, and installed it. Still I get the same error. What
should I be looking for in the config.log?

I found this:

BOOST_CPPFLAGS='-pthread -I/usr/local/include'
BOOST_LDFLAGS='-pthread -L/usr/local/lib'
BOOST_THREAD_LIB='-lboost_thread'

which is exactly where the boost libraries are installed. First error message
is:

from vm/fnpovfpu.cpp:296:
.../../vfe/unix/syspovconfig.h:127:32: error: boost/shared_ptr.hpp: No such file
or directory

However:

[root@athlon64_FreeBSD:/usr/local/include/boost]$ dir shared_ptr.hpp
/usr/local/include/boost
2 -rw-r--r--  1 root  wheel  539 Aug 31 08:46 shared_ptr.hpp

WTF?????


Post a reply to this message

From: jhu
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 31 Aug 2011 23:50:00
Message: <web.4e5f00185237611c590073930@news.povray.org>
I was comparing the compiler messages between my Debian and FreeBSD machines.
For some reason, in FreeBSD, -I/usr/local/include isn't being passed along. So
now I've tried  CFLAGS="-I/usr/local/include" CXXFLAGS="-I/usr/local/include"
../configure

It starts compiling, but now produces an error after a while:

g++ -DHAVE_CONFIG_H -I. -I../..  -I../..  -I../../source  -I../../source
-I../../unix  -I../../vfe  -I../../vfe/unix   -pipe -Wno-multichar
-Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math -march=native
-I/usr/local/include -D_THREAD_SAFE -pthread -MT image.o -MD -MP -MF
..deps/image.Tpo -c -o image.o `test -f 'image/image.cpp' || echo
'./'`image/image.cpp
image/image.cpp: In constructor
'pov_base::FileBackedPixelContainer::FileBackedPixelContainer(long int, long
int, long int)':
image/image.cpp:2889: error: 'lseek64' was not declared in this scope
image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::ReadPixel(long int, long int,
pov_base::FileBackedPixelContainer::pixel_type&)':
image/image.cpp:3060: error: 'lseek64' was not declared in this scope
image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::WriteCurrentBlock()':
image/image.cpp:3083: error: 'lseek64' was not declared in this scope


Post a reply to this message

From: jhu
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 1 Sep 2011 00:50:03
Message: <web.4e5f0e5a5237611c590073930@news.povray.org>
Turns out lseek64 is a Linux-only thing, so I added -Dlseek64=lseek, then I had
to add #include <sys/wait.h> in vfe/unix/vfeplatform.cpp because of some other
error regarding not finding WEXITSTATUS. And now there are issues linking it
looks like

g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -I/usr/local/include -Dlseek64=lseek -D_THREAD_SAFE
-pthread  -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
.../vfe/libvfe.a(unixconsole.o)(.text+0x1ba4): In function `main':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../vfe/libvfe.a(unixconsole.o)(.text+0x21a1): In function `main':
: undefined reference to `boost::thread::start_thread()'
.../vfe/libvfe.a(unixconsole.o)(.text+0x2494): In function `main':
: undefined reference to `boost::thread::~thread()'
.../vfe/libvfe.a(unixconsole.o)(.text+0x2865): In function `main':
: undefined reference to `boost::thread::~thread()'
.../vfe/libvfe.a(unixconsole.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataIPFvvEED0Ev+0xc):
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_dataIPFvvEED1Ev+0x8):
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.r._ZTIN5boost6detail11thread_dataIPFvvEEE+0x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../vfe/libvfe.a(vfesession.o)(.text+0x571): In function
`vfe::vfeSession::Shutdown(bool)':
: undefined reference to `boost::thread::join()'
.../vfe/libvfe.a(vfesession.o)(.text+0x585): In function
`vfe::vfeSession::Shutdown(bool)':
: undefined reference to `boost::thread::~thread()'
.../vfe/libvfe.a(vfesession.o)(.text+0x1686): In function
`vfe::vfeSession::WorkerThread()':
: undefined reference to `boost::this_thread::yield()'
.../vfe/libvfe.a(vfesession.o)(.text+0x7a82): In function
`vfe::vfeSession::GetStatus(bool, int)':
: undefined reference to `boost::detail::get_current_thread_data()'
.../vfe/libvfe.a(vfesession.o)(.text+0x7ba1): In function
`vfe::vfeSession::GetStatus(bool, int)':
: undefined reference to `boost::this_thread::interruption_point()'
.../vfe/libvfe.a(vfesession.o)(.text+0x8463): In function
`vfe::vfeSession::Initialize(vfe::vfeDestInfo*, vfe::vfeAuthInfo*)':
: undefined reference to `boost::thread::start_thread()'
.../vfe/libvfe.a(vfesession.o)(.text+0x8495): In function
`vfe::vfeSession::Initialize(vfe::vfeDestInfo*, vfe::vfeAuthInfo*)':
: undefined reference to `boost::thread::join()'
.../vfe/libvfe.a(vfesession.o)(.text+0x84aa): In function
`vfe::vfeSession::Initialize(vfe::vfeDestInfo*, vfe::vfeAuthInfo*)':
: undefined reference to `boost::thread::~thread()'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataIN3vfe10vfeSession16vfeSessionWorkerEED0Ev+
0xc):
In function
`boost::detail::thread_data<vfe::vfeSession::vfeSessionWorker>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataIN3vfe10vfeSession16vfeSessionWorkerEED1Ev+
0x8):
In function
`boost::detail::thread_data<vfe::vfeSession::vfeSessionWorker>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.t._ZN5boost6thread16make_thread_infoIN3vfe10vfeSession16vfeSessionWorkerEE
ENS_10shared_ptrINS_6detail16thread_data_baseEEET_+0x4b):
In function `boost::shared_ptr<boost::detail::thread_data_base>
boost::thread::make_thread_info<vfe::vfeSession::vfeSessionWorker>(vfe::vfeSession::vfeSessionWorker)':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.t._ZN5boost22condition_variable_any10timed_waitINS_11unique_lockINS_5mutex
EEEEEbRT_RKNS_5xtimeE+0x2de):
In function `bool
boost::condition_variable_any::timed_wait<boost::unique_lock<boost::mutex>
>(boost::unique_lock<boost::mutex>&, boost::xtime const&)':
: undefined reference to `boost::detail::get_current_thread_data()'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.t._ZN5boost22condition_variable_any10timed_waitINS_11unique_lockINS_5mutex
EEEEEbRT_RKNS_5xtimeE+0x3ee):
In function `bool
boost::condition_variable_any::timed_wait<boost::unique_lock<boost::mutex>
>(boost::unique_lock<boost::mutex>&, boost::xtime const&)':
: undefined reference to `boost::this_thread::interruption_point()'
.../vfe/libvfe.a(vfesession.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataIN3vfe10vfeSession16vfeSessionWorkerEEE+0
x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../vfe/libvfe.a(vfepovms.o)(.text+0x1666): In function
`vfe::SysQNode::Receive(int*, bool)':
: undefined reference to `boost::detail::get_current_thread_data()'
.../vfe/libvfe.a(vfepovms.o)(.text+0x1711): In function
`vfe::SysQNode::Receive(int*, bool)':
: undefined reference to `boost::this_thread::interruption_point()'
.../source/backend/libbackend.a(povray.o)(.text+0x155): In function
`povray_terminate()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(povray.o)(.text+0x17c): In function
`povray_terminate()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(povray.o)(.text+0x190): In function
`povray_terminate()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(povray.o)(.text+0x633): In function `(anonymous
namespace)::ConnectToFrontend(POVMSData*, POVMSData*, int, void*)':
: undefined reference to `zlibVersion'
.../source/backend/libbackend.a(povray.o)(.text+0x839): In function `(anonymous
namespace)::ConnectToFrontend(POVMSData*, POVMSData*, int, void*)':
: undefined reference to `png_get_libpng_ver'
.../source/backend/libbackend.a(povray.o)(.text+0xc02): In function `(anonymous
namespace)::ConnectToFrontend(POVMSData*, POVMSData*, int, void*)':
: undefined reference to `TIFFGetVersion'
.../source/backend/libbackend.a(povray.o)(.text+0x119e): In function
`povray_init(boost::function0<void> const&, void**)':
: undefined reference to `boost::thread::start_thread()'
.../source/backend/libbackend.a(povray.o)(.text+0x1214): In function
`povray_init(boost::function0<void> const&, void**)':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(povray.o)(.text+0x1907): In function `(anonymous
namespace)::MainThreadFunction(boost::function0<void> const&)':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvRKNS_9functi
on0IvEEENS2_5list1INS2_5valueIS5_EEEEEEED0Ev+0x5b):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >
>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvRKNS_9functi
on0IvEEENS2_5list1INS2_5valueIS5_EEEEEEED0Ev+0x7c):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >
>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvRKNS_9functi
on0IvEEENS2_5list1INS2_5valueIS5_EEEEEEED1Ev+0x74):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >
>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvRKNS_9functi
on0IvEEENS2_5list1INS2_5valueIS5_EEEEEEED1Ev+0x69):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >
>::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail13heap_new_implINS0_11thread_dataINS_3_bi6bin
d_tIvPFvRKNS_9function0IvEEENS3_5list1INS3_5valueIS6_EEEEEEEERSF_EEPT_T0_+0x88):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > > >*
boost::detail::heap_new_impl<boost::detail::thread_data<boost::_bi::bind_t<void,
void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > > >,
boost::_bi::bind_t<void, void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > >
>&>(boost::_bi::bind_t<void, void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >&)':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.t._ZN5boost6detail13heap_new_implINS0_11thread_dataINS_3_bi6bin
d_tIvPFvRKNS_9function0IvEEENS3_5list1INS3_5valueIS6_EEEEEEEERSF_EEPT_T0_+0x572):
In function `boost::detail::thread_data<boost::_bi::bind_t<void, void
(*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > > >*
boost::detail::heap_new_impl<boost::detail::thread_data<boost::_bi::bind_t<void,
void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > > >,
boost::_bi::bind_t<void, void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > >
>&>(boost::_bi::bind_t<void, void (*)(boost::function0<void> const&),
boost::_bi::list1<boost::_bi::value<boost::function0<void> > > >&)':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(povray.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvRKNS_9func
tion0IvEEENS2_5list1INS2_5valueIS5_EEEEEEEE+0x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../source/backend/libbackend.a(scene.o)(.text+0xd14): In function
`pov::Scene::ParserControlThread()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(scene.o)(.text+0xe5f): In function
`pov::Scene::StartParser(POVMS_Object&)':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../source/backend/libbackend.a(scene.o)(.text+0x1075): In function
`pov::Scene::StartParser(POVMS_Object&)':
: undefined reference to `boost::thread::start_thread()'
.../source/backend/libbackend.a(scene.o)(.text+0x3516): In function
`pov::Scene::~Scene()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(scene.o)(.text+0x352a): In function
`pov::Scene::~Scene()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(scene.o)(.text+0x36d6): In function
`pov::Scene::~Scene()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(scene.o)(.text+0x36ea): In function
`pov::Scene::~Scene()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(scene.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN3
pov5SceneEEENS2_5list1INS2_5valueIPS7_EEEEEEED0Ev+0xc):
In function `boost::detail::thread_data<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, pov::Scene>,
boost::_bi::list1<boost::_bi::value<pov::Scene*> > > >::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(scene.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN3
pov5SceneEEENS2_5list1INS2_5valueIPS7_EEEEEEED1Ev+0x8):
In function `boost::detail::thread_data<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, pov::Scene>,
boost::_bi::list1<boost::_bi::value<pov::Scene*> > > >::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(scene.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0Iv
N3pov5SceneEEENS2_5list1INS2_5valueIPS7_EEEEEEEE+0x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../source/backend/libbackend.a(view.o)(.text+0x13a8): In function
`pov::View::RenderControlThread()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(view.o)(.text+0x2232): In function
`pov::View::~View()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(view.o)(.text+0x2246): In function
`pov::View::~View()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(view.o)(.text+0x2332): In function
`pov::View::~View()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(view.o)(.text+0x2346): In function
`pov::View::~View()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(view.o)(.text+0x59d5): In function
`pov::View::StartRender(POVMS_Object&)':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../source/backend/libbackend.a(view.o)(.text+0x64b7): In function
`pov::View::StartRender(POVMS_Object&)':
: undefined reference to `boost::thread::start_thread()'
.../source/backend/libbackend.a(view.o)(.text+0x9b3a): In function
`pov::RTRData::CompletedFrame()':
: undefined reference to `boost::detail::get_current_thread_data()'
.../source/backend/libbackend.a(view.o)(.text+0x9bcb): In function
`pov::RTRData::CompletedFrame()':
: undefined reference to `boost::this_thread::interruption_point()'
.../source/backend/libbackend.a(view.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN3p
ov4ViewEEENS2_5list1INS2_5valueIPS7_EEEEEEED0Ev+0xc):
In function `boost::detail::thread_data<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, pov::View>,
boost::_bi::list1<boost::_bi::value<pov::View*> > > >::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(view.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN3p
ov4ViewEEENS2_5list1INS2_5valueIPS7_EEEEEEED1Ev+0x8):
In function `boost::detail::thread_data<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, pov::View>,
boost::_bi::list1<boost::_bi::value<pov::View*> > > >::~thread_data()':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(view.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN
3pov4ViewEEENS2_5list1INS2_5valueIPS7_EEEEEEEE+0x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../source/backend/libbackend.a(photonestimationtask.o)(.text+0x5f9): In function
`pov::PhotonEstimationTask::SearchThroughObjectsEstimatePhotons(std::vector<pov::ObjectBase*,
std::allocator<pov::ObjectBase*> >&, pov::LightSource*)':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(photonestimationtask.o)(.text+0x741): In function
`pov::PhotonEstimationTask::Run()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(photonestimationtask.o)(.text+0x87d): In function
`pov::PhotonEstimationTask::Run()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(photonestimationtask.o)(.gnu.linkonce.t._ZN3pov20PhotonEstimationTask17CooperateFunctio
nclEv+0x18):
In function `pov::PhotonEstimationTask::CooperateFunction::operator()()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(photonstrategytask.o)(.text+0x821): In function
`pov::PhotonStrategyTask::SearchThroughObjectsCreateUnits(std::vector<pov::ObjectBase*,
std::allocator<pov::ObjectBase*> >&, pov::LightSource*)':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(photonstrategytask.o)(.text+0xa9d): more
undefined references to `boost::this_thread::yield()' follow
.../source/backend/libbackend.a(taskqueue.o)(.text+0x210f): In function
`pov::TaskQueue::Process()':
: undefined reference to `boost::detail::get_current_thread_data()'
.../source/backend/libbackend.a(taskqueue.o)(.text+0x21c6): In function
`pov::TaskQueue::Process()':
: undefined reference to `boost::this_thread::interruption_point()'
.../source/backend/libbackend.a(task.o)(.text+0x18f): In function
`pov::Task::Stop()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(task.o)(.text+0x1a0): In function
`pov::Task::Stop()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(task.o)(.text+0x3ae): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(task.o)(.text+0x3bf): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(task.o)(.text+0x48e): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(task.o)(.text+0x49f): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(task.o)(.text+0x55e): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::join()'
.../source/backend/libbackend.a(task.o)(.text+0x56f): In function
`pov::Task::~Task()':
: undefined reference to `boost::thread::~thread()'
.../source/backend/libbackend.a(task.o)(.text+0x198c): In function
`pov::Task::Start(boost::function0<void> const&)':
: undefined reference to `boost::thread::start_thread()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN3p
ov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEED0Ev+0x5c):
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()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN3p
ov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEED0Ev+0x7d):
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()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN3p
ov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEED1Ev+0x75):
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()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN3p
ov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEED1Ev+0x6a):
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()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail13heap_new_implINS0_11thread_dataINS_3_bi6bind_
tIvNS_4_mfi3mf1IvN3pov4TaskERKNS_9function0IvEEEENS3_5list2INS3_5valueIPS8_EENSF_ISA_EEEEEEEERSK_EEPT_T0_+0x9a):
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> > > > >*
boost::detail::heap_new_impl<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> > > > >, 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> > > >&>(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> > > >&)':
: undefined reference to `vtable for boost::detail::thread_data_base'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.t._ZN5boost6detail13heap_new_implINS0_11thread_dataINS_3_bi6bind_
tIvNS_4_mfi3mf1IvN3pov4TaskERKNS_9function0IvEEEENS3_5list2INS3_5valueIPS8_EENSF_ISA_EEEEEEEERSK_EEPT_T0_+0x5b2):
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> > > > >*
boost::detail::heap_new_impl<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> > > > >, 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> > > >&>(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> > > >&)':
: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
.../source/backend/libbackend.a(task.o)(.gnu.linkonce.r._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN
3pov4TaskERKNS_9function0IvEEEENS2_5list2INS2_5valueIPS7_EENSE_IS9_EEEEEEEE+0x10):
undefined reference to `typeinfo for boost::detail::thread_data_base'
.../source/backend/libbackend.a(boundingtask.o)(.gnu.linkonce.t._ZNK3pov11BSPProgressclEj+0xd1):
In function `pov::BSPProgress::operator()(unsigned int) const':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(tokenize.o)(.text+0x5e13): In function
`pov::Parser::Get_Token()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(radiositytask.o)(.text+0xeb3): In function
`pov::RadiosityTask::Run()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(radiositytask.o)(.gnu.linkonce.t._ZN3pov13RadiosityTask17CooperateFunctionclEv+0x18):
In function `pov::RadiosityTask::CooperateFunction::operator()()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(tracetask.o)(.text+0x2893): In function
`pov::TraceTask::SimpleSamplingM0()':
: undefined reference to `boost::this_thread::yield()'
.../source/backend/libbackend.a(tracetask.o)(.text+0x3e48): more undefined
references to `boost::this_thread::yield()' follow
.../source/base/libbase.a(jpeg.o)(.text+0xa0a): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_std_error'
.../source/base/libbase.a(jpeg.o)(.text+0xa4d): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_destroy_decompress'
.../source/base/libbase.a(jpeg.o)(.text+0xb08): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_CreateDecompress'
.../source/base/libbase.a(jpeg.o)(.text+0xb45): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_resync_to_restart'
.../source/base/libbase.a(jpeg.o)(.text+0xb6d): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_read_header'
.../source/base/libbase.a(jpeg.o)(.text+0xca8): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_start_decompress'
.../source/base/libbase.a(jpeg.o)(.text+0xdc0): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_read_scanlines'
.../source/base/libbase.a(jpeg.o)(.text+0xec3): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_destroy_decompress'
.../source/base/libbase.a(jpeg.o)(.text+0xfa0): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_finish_decompress'
.../source/base/libbase.a(jpeg.o)(.text+0xfa8): In function
`pov_base::Jpeg::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `jpeg_destroy_decompress'
.../source/base/libbase.a(jpeg.o)(.text+0x17ce): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_std_error'
.../source/base/libbase.a(jpeg.o)(.text+0x1813): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_destroy_compress'
.../source/base/libbase.a(jpeg.o)(.text+0x1886): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_CreateCompress'
.../source/base/libbase.a(jpeg.o)(.text+0x18f8): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_set_defaults'
.../source/base/libbase.a(jpeg.o)(.text+0x1905): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_set_colorspace'
.../source/base/libbase.a(jpeg.o)(.text+0x1972): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_set_quality'
.../source/base/libbase.a(jpeg.o)(.text+0x199c): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_start_compress'
.../source/base/libbase.a(jpeg.o)(.text+0x1eeb): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_write_marker'
.../source/base/libbase.a(jpeg.o)(.text+0x1f4b): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_write_scanlines'
.../source/base/libbase.a(jpeg.o)(.text+0x2031): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_set_defaults'
.../source/base/libbase.a(jpeg.o)(.text+0x203e): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_set_colorspace'
.../source/base/libbase.a(jpeg.o)(.text+0x225a): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_finish_compress'
.../source/base/libbase.a(jpeg.o)(.text+0x2262): In function
`pov_base::Jpeg::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `jpeg_destroy_compress'
.../source/base/libbase.a(png.o)(.text+0xa9): In function `ReadPNGImage':
: undefined reference to `png_set_longjmp_fn'
.../source/base/libbase.a(png.o)(.text+0xc6): In function `ReadPNGImage':
: undefined reference to `png_read_image'
.../source/base/libbase.a(png.o)(.text+0xf9): In function `ReadPNGUpdateInfo':
: undefined reference to `png_set_longjmp_fn'
.../source/base/libbase.a(png.o)(.text+0x116): In function `ReadPNGUpdateInfo':
: undefined reference to `png_read_update_info'
.../source/base/libbase.a(png.o)(.text+0x135): In function `png_pov_flush_data':
: undefined reference to `png_get_io_ptr'
.../source/base/libbase.a(png.o)(.text+0x20d): In function `png_pov_write_data':
: undefined reference to `png_get_io_ptr'
.../source/base/libbase.a(png.o)(.text+0x244): In function `png_pov_write_data':
: undefined reference to `png_get_error_ptr'
.../source/base/libbase.a(png.o)(.text+0x40d): In function `png_pov_read_data':
: undefined reference to `png_get_io_ptr'
.../source/base/libbase.a(png.o)(.text+0x444): In function `png_pov_read_data':
: undefined reference to `png_get_error_ptr'
.../source/base/libbase.a(png.o)(.text+0x607): In function `png_pov_err':
: undefined reference to `png_get_error_ptr'
.../source/base/libbase.a(png.o)(.text+0x808): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_create_read_struct'
.../source/base/libbase.a(png.o)(.text+0x821): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_create_info_struct'
.../source/base/libbase.a(png.o)(.text+0x847): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_set_read_fn'
.../source/base/libbase.a(png.o)(.text+0x85c): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_read_info'
.../source/base/libbase.a(png.o)(.text+0x9c4): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_image_width'
.../source/base/libbase.a(png.o)(.text+0x9dd): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_image_height'
.../source/base/libbase.a(png.o)(.text+0x9f6): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_color_type'
.../source/base/libbase.a(png.o)(.text+0xa0e): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_bit_depth'
.../source/base/libbase.a(png.o)(.text+0xa7e): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_set_interlace_handling'
.../source/base/libbase.a(png.o)(.text+0xab2): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_destroy_read_struct'
.../source/base/libbase.a(png.o)(.text+0xb71): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_rowbytes'
.../source/base/libbase.a(png.o)(.text+0xbf3): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_destroy_read_struct'
.../source/base/libbase.a(png.o)(.text+0xcaf): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_valid'
.../source/base/libbase.a(png.o)(.text+0xcdd): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_tRNS'
.../source/base/libbase.a(png.o)(.text+0xe98): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_set_packing'
.../source/base/libbase.a(png.o)(.text+0xf8e): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_destroy_read_struct'
.../source/base/libbase.a(png.o)(.text+0x104c): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_valid'
.../source/base/libbase.a(png.o)(.text+0x1223): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_PLTE'
.../source/base/libbase.a(png.o)(.text+0x123d): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_valid'
.../source/base/libbase.a(png.o)(.text+0x1268): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_tRNS'
.../source/base/libbase.a(png.o)(.text+0x15a1): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_set_packing'
.../source/base/libbase.a(png.o)(.text+0x15d6): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_destroy_read_struct'
.../source/base/libbase.a(png.o)(.text+0x1632): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_valid'
.../source/base/libbase.a(png.o)(.text+0x1aa2): In function
`pov_base::Png::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `png_get_gAMA'
.../source/base/libbase.a(png.o)(.text+0x2927): In function `png_pov_warn':
: undefined reference to `png_get_error_ptr'
.../source/base/libbase.a(png.o)(.text+0x2e76): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_create_write_struct'
.../source/base/libbase.a(png.o)(.text+0x2e8f): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_create_info_struct'
.../source/base/libbase.a(png.o)(.text+0x2eb7): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_longjmp_fn'
.../source/base/libbase.a(png.o)(.text+0x2edc): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_destroy_write_struct'
.../source/base/libbase.a(png.o)(.text+0x2fc0): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_write_fn'
.../source/base/libbase.a(png.o)(.text+0x305d): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_IHDR'
.../source/base/libbase.a(png.o)(.text+0x30e4): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_sBIT'
.../source/base/libbase.a(png.o)(.text+0x3153): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_gAMA'
.../source/base/libbase.a(png.o)(.text+0x3193): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_oFFs'
.../source/base/libbase.a(png.o)(.text+0x33a1): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_tIME'
.../source/base/libbase.a(png.o)(.text+0x38d4): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_text'
.../source/base/libbase.a(png.o)(.text+0x38e9): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_write_info'
.../source/base/libbase.a(png.o)(.text+0x3eb4): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_longjmp_fn'
.../source/base/libbase.a(png.o)(.text+0x3ed9): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_write_row'
.../source/base/libbase.a(png.o)(.text+0x3f21): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_write_end'
.../source/base/libbase.a(png.o)(.text+0x3f36): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_destroy_write_struct'
.../source/base/libbase.a(png.o)(.text+0x519a): In function
`pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
pov_base::Image::WriteOptions const&)':
: undefined reference to `png_set_sRGB'
.../source/base/libbase.a(tiff.o)(.text+0x570): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFSetWarningHandler'
.../source/base/libbase.a(tiff.o)(.text+0x57a): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFSetErrorHandler'
.../source/base/libbase.a(tiff.o)(.text+0x5c0): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFClientOpen'
.../source/base/libbase.a(tiff.o)(.text+0x5e5): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0x5fe): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0x617): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0x630): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0x649): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0x662): more undefined references to
`TIFFGetField' follow
.../source/base/libbase.a(tiff.o)(.text+0x67b): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetFieldDefaulted'
.../source/base/libbase.a(tiff.o)(.text+0x69c): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetFieldDefaulted'
.../source/base/libbase.a(tiff.o)(.text+0x6ba): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFScanlineSize'
.../source/base/libbase.a(tiff.o)(.text+0x7a8): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFReadRGBAImage'
.../source/base/libbase.a(tiff.o)(.text+0x838): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFClose'
.../source/base/libbase.a(tiff.o)(.text+0x980): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFIsTiled'
.../source/base/libbase.a(tiff.o)(.text+0x9c0): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFGetField'
.../source/base/libbase.a(tiff.o)(.text+0xe3d): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFStripSize'
.../source/base/libbase.a(tiff.o)(.text+0xea6): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFComputeStrip'
.../source/base/libbase.a(tiff.o)(.text+0xeba): In function
`pov_base::Tiff::Read(pov_base::IStream*, pov_base::Image::ReadOptions const&)':
: undefined reference to `TIFFReadEncodedStrip'
.../source/base/libbase.a(povmscpp.o)(.text+0xc00): In function
`POVMS_Object::Read(POVMS_Object::InputStream&, bool, bool)':
: undefined reference to `uncompress'


Post a reply to this message

From: Le Forgeron
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 1 Sep 2011 02:27:49
Message: <4e5f25e5$1@news.povray.org>
Le 01/09/2011 06:47, jhu a écrit :
> g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> -ffast-math -march=native -I/usr/local/include -Dlseek64=lseek -D_THREAD_SAFE
> -pthread  -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


All that -L and not a little -l in sight ?

Notice that the log starts with complains against boost (missing...) but
ends with the jpeg, png and Tiff libraries also missing.

Can you check the full command ?

-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

From: jhu
Subject: Re: Problems compiling 3.7 on FreeBSD
Date: 1 Sep 2011 10:45:00
Message: <web.4e5f999d5237611c590073930@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 01/09/2011 06:47, jhu a écrit :
> > g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> > -ffast-math -march=native -I/usr/local/include -Dlseek64=lseek -D_THREAD_SAFE
> > -pthread  -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
>
>
> All that -L and not a little -l in sight ?
>
> Notice that the log starts with complains against boost (missing...) but
> ends with the jpeg, png and Tiff libraries also missing.
>
> Can you check the full command ?
>
> --
> Software is like dirt - it costs time and money to change it and move it
> around.
>
> Just because you can't see it, it doesn't weigh anything,
> and you can't drill a hole in it and stick a rivet into it doesn't mean
> it's free.

g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -I/usr/local/include -Dlseek64=lseek -D_THREAD_SAFE
-pthread  -pthread -L/usr/local/lib -lpng -ltiff -ljpeg -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
/usr/local/lib/libboost_thread.a

Succcess! I got it to compile. Yes, it was missing a few little -l , mainly
-lpng, -ltiff, and -ljpeg . I also had to add /usr/local/lib/libboost_thread.a
manually (compiling a static binary) at the end. I had to type the above
manually (well, copy and paste). Fortunately that was the last step.

I'm still not sure what makes the Debian and FreeBSD build environments so
different. In Debian it's just a matter of ./configure COMPILED_BY=" " && make

In FreeBSD (8.2-RELEASE, amd64) it's:

CFLAGS="-I/usr/local/include -Dlseek64=lseek" CXXFLAGS=$CFLAGS ./configure

Then add #include <sys/wait.h> in vfe/unix/vfeplatform.cpp

and then telling the linker to add the libraries during linking.

I wonder if this afflicts the other BSDs?


Post a reply to this message

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