POV-Ray : Newsgroups : povray.beta-test : 3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39 Server Time
2 Jul 2024 10:47:22 EDT (-0400)
  3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39 (Message 1 to 3 of 3)  
From: folkert
Subject: 3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39
Date: 7 Jan 2010 15:40:00
Message: <web.4b46456affa4ea277f86207e0@news.povray.org>
3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39

Installed boost packages:
libboost_graph1_39_0-1.39.0-8.1
libboost_signals1_39_0-1.39.0-8.1
boost-license1_39_0-1.39.0-8.1
boost-devel-1.39.0-8.1
libboost_mpi1_39_0-1.39.0-8.1
libboost_system1_39_0-1.39.0-8.1
libboost_thread1_39_0-1.39.0-8.1
libboost_python1_39_0-1.39.0-8.1
libboost_test1_39_0-1.39.0-8.1
libboost_math1_39_0-1.39.0-8.1
libboost_serialization1_39_0-1.39.0-8.1
libboost_regex1_39_0-1.39.0-8.1
libboost_program_options1_39_0-1.39.0-8.1
libboost_wave1_39_0-1.39.0-8.1
libboost_date_time1_39_0-1.39.0-8.1
libboost_iostreams1_39_0-1.39.0-8.1
libboost_filesystem1_39_0-1.39.0-8.1

Compile error message:
make[2]: Entering directory `/home/folkert/mandelbulb/povray-3.7.0.beta.34/unix'
g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -pthread  -L/usr/lib  -L/usr/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/libpo
vray.a -lSDL -L/usr/lib64 -lSDL -lpthread -lXpm  -lSM -lICE -lX11  -ltiff -ljpeg
-lpng12 -lz -lrt -lm   -pthread
..../vfe/libvfe.a(vfesession.o): In function `vfe::vfeSession::Shutdown(bool)':
vfesession.cpp:(.text+0x5d1): undefined reference to `boost::thread::join()'
vfesession.cpp:(.text+0x5e5): undefined reference to `boost::thread::~thread()'
..../vfe/libvfe.a(vfesession.o): In function
`vfe::vfeSession::Initialize(vfe::vfeDestInfo*, vfe::vfeAuthInfo*)':
vfesession.cpp:(.text+0x1588): undefined reference to `boost::thread::join()'
vfesession.cpp:(.text+0x159c): undefined reference to `boost::thread::~thread()'
..../vfe/libvfe.a(vfesession.o): In function `vfe::vfeSession::WorkerThread()':
vfesession.cpp:(.text+0x2197): undefined reference to
`boost::this_thread::yield()'
..../vfe/libvfe.a(vfesession.o): In function `boost::mutex::mutex()':
vfesession.cpp:(.text._ZN5boost5mutexC1Ev[boost::mutex::mutex()]+0x41):
undefined reference to `boost::thread_resource_error::thread_resource_e
rror()'
vfesession.cpp:(.text._ZN5boost5mutexC1Ev[boost::mutex::mutex()]+0x46):
undefined reference to `boost::thread_resource_error::~thread_resource_
error()'
vfesession.cpp:(.text._ZN5boost5mutexC1Ev[boost::mutex::mutex()]+0x4b):
undefined reference to `typeinfo for boost::thread_resource_error'
..../vfe/libvfe.a(vfesession.o): In function
`boost::detail::thread_data<vfe::vfeSession::vfeSessionWorker>::~thread_data()':
vfesession.cpp:(.text._ZN5boost6detail11thread_dataIN3vfe10vfeSession16vfeSessionWorkerEED0Ev[boost::detail::thread_dat
a<vfe::vfeSession::vfeSe
ssionWorker>::~thread_data()]+0xc): undefined reference to
`boost::detail::thread_data_base::~thread_data_base()'
..../vfe/libvfe.a(vfesession.o): In function
`boost::detail::thread_data<vfe::vfeSession::vfeSessionWorker>::~thread_data()':
vfesession.cpp:(.text._ZN5boost6detail11thread_dataIN3vfe10vfeSession16vfeSessionWorkerEED1Ev[boost::detail::thread_dat
a<vfe::vfeSession::vfeSe
ssionWorker>::~thread_data()]+0x8): undefined reference to
`boost::detail::thread_data_base::~thread_data_base()'
..../vfe/libvfe.a(vfesession.o): In function
`boost::condition_variable_any::condition_variable_any()':
vfesession.cpp:(.text._ZN5boost22condition_variable_anyC1Ev[boost::condition_variable_any::condition_variable_any()]+0x
2d):
undefined reference
 to `boost::thread_resource_error::thread_resource_error()'
vfesession.cpp:(.text._ZN5boost22condition_variable_anyC1Ev[boost::condition_variable_any::condition_variable_any()]+0x
32):
undefined reference
 to `boost::thread_resource_error::~thread_resource_error()'
vfesession.cpp:(.text._ZN5boost22condition_variable_anyC1Ev[boost::condition_variable_any::condition_variable_any()]+0x
37):
undefined reference
 to `typeinfo for boost::thread_resource_error'
vfesession.cpp:(.text._ZN5boost22condition_variable_anyC1Ev[boost::condition_variable_any::condition_variable_any()]+0x
8d):
undefined reference
 to `boost::thread_resource_error::thread_resource_error()'
..../vfe/libvfe.a(vfesession.o): In function
`boost::unique_lock<boost::mutex>::lock()':
vfesession.cpp:(.text._ZN5boost11unique_lockINS_5mutexEE4lockEv[boost::unique_lock<boost::mutex>::lock()]+0x28):
undefined reference to `boost:
:lock_error::lock_error()'
vfesession.cpp:(.text._ZN5boost11unique_lockINS_5mutexEE4lockEv[boost::unique_lock<boost::mutex>::lock()]+0x2d):
undefined reference to `boost:
:lock_error::~lock_error()'
vfesession.cpp:(.text._ZN5boost11unique_lockINS_5mutexEE4lockEv[boost::unique_lock<boost::mutex>::lock()]+0x32):
undefined reference to `typein
fo for boost::lock_error'
..../vfe/libvfe.a(vfesession.o): In function
`boost::thread::thread<vfe::vfeSession::vfeSessionWorker>(vfe::vfeSession::vfeSessionWorker,
boost::
disable_if<boost::is_convertible<vfe::vfeSession::vfeSessionWorker&,
boost::detail::thread_move_t<vfe::vfeSession::vfeSessionWorker> >, boost::
thread::dummy*>::type)':
vfesession.cpp:(.text._ZN5boost6threadC1IN3vfe10vfeSession16vfeSessionWorkerEEET_NS_10disable_ifINS_14is_convertibleIRS
5_NS_6detail13thread_mov
e_tIS5_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<vfe::vfeSession::vfeSessionWorker>(vfe::vfeSession::vfeSessionWork
er,
boost::disable_if<bo
ost::is_convertible<vfe::vfeSession::vfeSessionWorker&,
boost::detail::thread_move_t<vfe::vfeSession::vfeSessionWorker> >,
boost::thread::dummy
etc.

Complete log is on:
http://keetweej.vanheusden.com/~folkert/compile.log

If possible, please CC me. Thanks for your time.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: 3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39
Date: 7 Jan 2010 15:54:19
Message: <4b4649fb$1@news.povray.org>
folkert wrote:
> g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> -ffast-math -march=native -pthread  -L/usr/lib  -L/usr/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/libpo
> vray.a -lSDL -L/usr/lib64 -lSDL -lpthread -lXpm  -lSM -lICE -lX11  -ltiff
> -ljpeg
> -lpng12 -lz -lrt -lm   -pthread

For some strange reason, that's not linking to boost at all.


Post a reply to this message

From: folkert
Subject: Re: 3.7.0.beta.34 fails to compile on opensuse 11.1 with boost 1.39
Date: 7 Jan 2010 16:10:00
Message: <web.4b464d5152adf2d47f86207e0@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> folkert wrote:
> > g++  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
> > -ffast-math -march=native -pthread  -L/usr/lib  -L/usr/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/libpo
> > vray.a -lSDL -L/usr/lib64 -lSDL -lpthread -lXpm  -lSM -lICE -lX11  -ltiff
> > -ljpeg
> > -lpng12 -lz -lrt -lm   -pthread
>
> For some strange reason, that's not linking to boost at all.

Odd.
Adding -lboost_thread-mt to LDFLAGS indeed fixed it.

Thanks for helping out!


Post a reply to this message

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