[ptx] error compiling hugin on x86_64 (fedora fc4)

Hal V. Engel hvengel at astound.net
Thu Feb 9 23:41:01 GMT 2006


I have been getting this same error since the multi-threaded stuff went in 
place.  I am also on a x86_64 machine.  But I am running Gentoo not fedora. 
Is this an amd64 specific problem or does this have something to do with the 
way boost is built?  

The code is compiling so it is finding all of it's header files but it is 
failing at link time so it appears that there is a library missing or  
problem with one of the libraries.  On my system I have the following 
in /usr/lib: 

libboost_thread-gcc-mt.a  
libboost_thread-gcc-mt.so 
libboost_thread-mt.a 
libboost_thread-mt.so 
libboost_thread-mt.so.1.33.0

I don't have any idea why this is happening either.

Hal

On Thursday 09 February 2006 03:17 pm, Bruno Postle wrote:
> I'm trying to build hugin on x86_64.  Everything compiles, but I get
> this error at the linking stage:
>
> g++ -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -DHasPANO -O2 -g -o hugin -pthread -pthread
> huginApp.o ImagesList.o AutoCtrlPointCreator.o MainFrame.o CPImageCtrl.o
> CPEditorPanel.o LensPanel.o ImagesPanel.o CommandHistory.o PanoPanel.o
> NonaStitcherPanel.o PTStitcherPanel.o PreviewFrame.o PreviewPanel.o
> ImageCenter.o OptimizePanel.o RunOptimizerFrame.o RunStitcherFrame.o
> CPListFrame.o TextKillFocusHandler.o ImageOrientationPanel.o
> ImageOrientationFrame.o PanoDruid.o CPZoomDisplayPanel.o CPFineTuneFrame.o
> PreferencesDialog.o LocalizedFileTipProvider.o VigCorrDialog.o
> wxPanoCommand.o  -L/usr/X11R6/lib64 -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6
> -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6
> -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 -lgtk-x11-2.0
> -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
> -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
> ../../src/Panorama/.libs/libpanorama.a /usr/lib64/libpano12.so -lz
> ../../src/foreign/vigra_impex/.libs/libvigra_impex.a /usr/lib64/libjpeg.so
> -lpng -ltiff ../../src/jhead/.libs/libjhead.a
> ../../src/common/.libs/libcommon.a ./.libs/libhuginwxutils.a
> ../../src/vigra_ext/.libs/libvigra_ext.a
> MainFrame.o(.gnu.linkonce.t._ZN9vigra_ext22transformImageInternMTIN5vigra23
>ConstBasicImageIteratorIhPPhEENS1_26StandardConstValueAccessorIhEENS1_18Basi
>cImageIteratorIfPPfEENS1_21StandardValueAccessorIfEENS_15RotateTransformESB_
>SD_NS_11interp_sincILi32EEEEEvNS1_6tripleIT_SI_T0_EENSH_IT1_SL_T2_EESt4pairI
>T4_T5_ERT3_NS1_6Diff2DET6_bRN5utils20MultiProgressDisplayE[void
> vigra_ext::transformImageInternMT<vigra::ConstBasicImageIterator<unsigned
> char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char>,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float>, vigra_ext::RotateTransform,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float>, vigra_ext::interp_sinc<32>
> >(vigra::triple<vigra::ConstBasicImageIterator<unsigned char, unsigned
> char**>, vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
> vigra::StandardConstValueAccessor<unsigned char> >,
> vigra::triple<vigra::BasicImageIterator<float, float**>,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float> >,
> std::pair<vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float> >, vigra_ext::RotateTransform&,
> vigra::Diff2D, vigra_ext::interp_sinc<32>, bool,
> utils::MultiProgressDisplay&)]+0xbf): In function `void
> vigra_ext::transformImageInternMT<vigra::ConstBasicImageIterator<unsigned
> char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char>,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float>, vigra_ext::RotateTransform,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float>, vigra_ext::interp_sinc<32>
> >(vigra::triple<vigra::ConstBasicImageIterator<unsigned char, unsigned
> char**>, vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
> vigra::StandardConstValueAccessor<unsigned char> >,
> vigra::triple<vigra::BasicImageIterator<float, float**>,
> vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float> >,
> std::pair<vigra::BasicImageIterator<float, float**>,
> vigra::StandardValueAccessor<float> >, vigra_ext::RotateTransform&,
> vigra::Diff2D, vigra_ext::interp_sinc<32>, bool,
> utils::MultiProgressDisplay&)':
> ../../src/include/vigra_ext/ImageTransforms.h:523: undefined reference to
> `boost::thread_group::thread_group()'
>
> ..any ideas?  The boost headers are in place, in particular this
> file is fine:
>
>   /usr/include/boost/thread/thread.hpp


More information about the ptx mailing list