Boost logo

Boost Users :

From: Peter Pein (petsie_at_[hidden])
Date: 2008-03-12 17:47:58


Dear group,

 I did a search for "4.3" and did not get a result. If the following question
has been asked before, please forgive me and point me to the correct thread.

 I had problems compiling gnash-0.8.2. using Fedora 8 and gcc 4.3.

The error message has been:

 g++-4.3 -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/usr/lib/gnash/plugins\" -I..
-I. -I.. -I../libamf -I../server -I../server/swf -pthread
-I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include
-I../libltdl -O3 -m64 -mfpmath=sse -mtune=athlon64 -msse2 -mmmx -m3dnow
-fexpensive-optimizations -fgcse -ffast-math -pthread -pthread -W -Wall
-Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type
-fvisibility-inlines-hidden -MT libgnashbase_la-FLVParser.lo -MD -MP -MF
.deps/libgnashbase_la-FLVParser.Tpo -c FLVParser.cpp -fPIC -DPIC -o
.libs/libgnashbase_la-FLVParser.o
In file included from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:12,
                 from /usr/include/boost/date_time/gregorian/conversion.hpp:23,
                 from /usr/include/boost/date_time/gregorian/gregorian.hpp:21,
                 from
/usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from ../libamf/element.h:31,
                 from ../libamf/amf.h:30,
                 from FLVParser.cpp:25:
/usr/include/boost/date_time/date_facet.hpp:560: error: declaration of 'void
boost::date_time::date_input_facet<date_type, CharT,
InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type,
charT>)'
/usr/include/boost/date_time/special_values_parser.hpp:34: error: changes
meaning of 'special_values_parser' from 'class
boost::date_time::special_values_parser<date_type, charT>'
make[2]: *** [libgnashbase_la-FLVParser.lo] Fehler 1
make[2]: Leaving directory `/usr/local/src/gnash-0.8.2/libbase'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/src/gnash-0.8.2'
make: *** [all] Fehler 2

(well, its partly german; "Fehler" means "error".

Is this an error inside boost? Or is it possible that gnash-sources define a
prototype in a wrong manner?

I tried to compile boost and used
F77=gfortran-4.3 CC="ccache gcc-4.3" CXX="ccache g++-4.3" CFLAGS="-O3
-mfpmath=sse -mtune=athlon64 -msse2 -mmmx -m3dnow -fexpensive-optimizations
-fgcse -ffast-math -m64" CXXFLAGS="-O3 -mfpmath=sse -mtune=athlon64 -msse2
-mmmx -m3dnow -fexpensive-optimizations -fgcse -ffast-math -m64" ./configure
--prefix=/usr --libdir=/usr/lib64 --with-libraries=all --exec-prefix=/usr/bin

to configure it and because I got messages like

gcc.compile.c++
bin.v2/libs/thread/build/gcc-4.1.2/debug/threading-multi/condition.o

during make, I did a make distclean, another configure as above and typed:

 make F77=gfortran-4.3 CC="ccache gcc-4.3" CXX="ccache g++-4.3" CFLAGS="-O3
-mfpmath=sse -mtune=athlon64 -msse2 -mmmx -m3dnow -fexpensive-optimizations
-fgcse -ffast-math -m64" CXXFLAGS="-O3 -mfpmath=sse -mtune=athlon64 -msse2
-mmmx -m3dnow -fexpensive-optimizations -fgcse -ffast-math -m64"

and got the same log telling me there is something compiled for the
prepredecessor of the actual compiler.

 Do I have to edit all the Makefiles by hand? If yes, what is the ./configure
script for?

 Or do I have to use the old old gcc-4.1 ("old" would have been gcc-4.2) ?

Greetings and TIA from a hopelessly lost Peter

P.S.: my mail-client told me it could not send it because I need a valid email
address (nonsense, because I tried it first with my mostly used address). If
this message comes twice, I apologize.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net