Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 15:45:53 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>,  Dmitry Marakasov <amdmi3@amdmi3.ru>
Subject:   gnash-0.8.3: build fails on 6.3
Message-ID:  <4860EC81.1010302@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

System: FreeBSD 6.3-RELEASE amd64
Build of port graphics/gnash fails at link stage:
...
Making all in utilities
gmake[2]: Entering directory
`/usr/ports/graphics/gnash/work/gnash-0.8.3/utilities'
/bin/sh ../libtool --tag=CXX   --mode=link g++42  -O2
-fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe
-march=athlon64 -O2 -fno-strict-aliasing -pipe -pthread -D_THREAD_SAFE
-pthread     -W     -Wall     -Wcast-align     -Wcast-qual
-Wpointer-arith     -Wreturn-type      -fvisibility-inlines-hidden
-export-dynamic  -lltdl  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib
-liconv -lm -L/usr/local/lib -lcurl -L/usr/local/lib -lboost_thread
-lboost_date_time -lpthread /usr/local/lib/libintl.so
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-L/usr/local/lib -Wl,--as-needed -o gprocessor gprocessor-processor.o
../server/libgnashserver.la ../libamf/libgnashamf.la
../libnet/libgnashnet.la ../libbase/libgnashbase.la
../libmedia/libgnashmedia.la  -lavcodec -lz -la52 -lfaad -lx264 -ltheora
-lvorbisenc -lavutil -lvorbis -lm -logg   -ldca   -lvorbisenc -lvorbis
-lm -logg   -lavformat -lavcodec -lz -la52 -lfaad -lx264 -ltheora
-lvorbisenc -lavutil -lvorbis -lm -logg   -lavutil   -ltheora -logg
-lgsm -lavcodec -lz -la52 -lfaad -lx264 -ltheora -lvorbisenc -lavutil
-lvorbis -lm -logg    -L/usr/local/lib -lglib-2.0 -liconv     -lX11 -lXi -lm
g++42 -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe
-march=athlon64 -O2 -fno-strict-aliasing -pipe -pthread -D_THREAD_SAFE
-pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type
-fvisibility-inlines-hidden /usr/local/lib/libintl.so
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -Wl,--as-needed
-o .libs/gprocessor gprocessor-processor.o -Wl,--export-dynamic
-L/usr/local/lib -L/usr/lib ../server/.libs/libgnashserver.so
-L/usr/X11R6/lib
/usr/ports/graphics/gnash/work/gnash-0.8.3/libnet/.libs/libgnashnet.so
/usr/ports/graphics/gnash/work/gnash-0.8.3/libmedia/.libs/libgnashmedia.so
/usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so
/usr/local/lib/libexpat.so ../libamf/.libs/libgnashamf.so
../libnet/.libs/libgnashnet.so
/usr/ports/graphics/gnash/work/gnash-0.8.3/libamf/.libs/libgnashamf.so
/usr/ports/graphics/gnash/work/gnash-0.8.3/libbase/.libs/libgnashbase.so
/usr/local/lib/libxml2.so ../libbase/.libs/libgnashbase.so
../libmedia/.libs/libgnashmedia.so /usr/local/lib/libjpeg.so
/usr/local/lib/libcurl.so /usr/local/lib/libcares.so
/usr/local/lib/libssh2.so -lssl -lcrypto /usr/local/lib/libltdl.so
-lboost_thread -lboost_date_time -lpthread /usr/local/lib/libSDL.so
/usr/local/lib/libXrandr.so /usr/local/lib/libXrender.so
/usr/local/lib/libggi.so /usr/X11R6/lib/libXxf86vm.so
/usr/local/lib/libgii.so /usr/local/lib/libXxf86dga.so
/usr/local/lib/libgg.so /usr/local/lib/libaa.so -lncurses -lusbhid
/usr/local/lib/libdca.so -lavformat -lgsm -lavcodec -lz
/usr/local/lib/liba52.so -ldjbfft /usr/local/lib/libfaad.so -pthread
-lx264 /usr/local/lib/libtheora.so /usr/local/lib/libvorbisenc.so
-lavutil /usr/local/lib/libvorbis.so /usr/local/lib/libogg.so
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so
/usr/local/lib/libpcre.so /usr/local/lib/libiconv.so
/usr/local/lib/libXi.so /usr/X11R6/lib/libXext.so
/usr/local/lib/libX11.so /usr/local/lib/libXdmcp.so -lrpcsvc
/usr/local/lib/libXau.so -lm  -Wl,--rpath -Wl,/usr/local/lib/gnash
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
gprocessor-processor.o(.gnu.linkonce.t._ZN5boost2io6detail3putIcSt11char_traitsIcESaIcERKlEEvT2_RKNS1_11format_itemIT_T0_T1_EERNS_12basic_formatISA_SB_SC_E11string_typeERNSH_20internal_streambuf_tEPSt6locale+0x1c2):
In function `void boost::io::detail::put<char, std::char_traits<char>,
std::allocator<char>, long const&>(long const&,
boost::io::detail::format_item<char, std::char_traits<char>,
std::allocator<char> > const&, boost::basic_format<char,
std::char_traits<char>, std::allocator<char> >::string_type&,
boost::basic_format<char, std::char_traits<char>, std::allocator<char>
>::internal_streambuf_t&, std::locale*)':
: undefined reference to `std::basic_ostream<char,
std::char_traits<char> >& std::basic_ostream<char,
std::char_traits<char> >::_M_insert<long>(long)'
...

It seems like there is an unsatisfied symbol in boost library that was
supposed to come from standard C++ library.
I see that gnash is compiled with GCC 4.2+, but I think that boost is
compiled with default GCC for 6.3 which is 3.4.6.
I suspect that the error might be caused by this mismatch in versions.
This should not be a problem on 7.0 where default GCC is 4.2.X, but 6.3
is still a "stabler stable" for me.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4860EC81.1010302>