Mailinglist Archive: opensuse-factory (295 mails)

< Previous Next >
Re: [opensuse-factory] g++/gcc 4.3 errors and header files need to be added to sources
  • From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
  • Date: Tue, 18 Dec 2007 15:50:22 +0000
  • Message-id: <4767EC3E.1030701@xxxxxxxxxxxxxxxx>
Ladislav Michnovic( wrote:
Hi.

I'm packaging FlightGear in games:action repository in Build Service.
You can look at the patches:
https://build.opensuse.org/package/show?project=games%3Aaction&package=FlightGear
There is only latest pre2 version, not up-to-date version from CVS.
Login is required. It is the same as you have in Novell's Bugzilla.
If you want to participate, you are welcomed.

Regards Ladislav.

Checking the patches in FlightGear-0.9.10.9.2-14.5.src.rpm and shall try applying them to the latest CVS for SimGear and FlightGear to see if they do the trick. I tend to use CVS to make use of the latest development stuff.
Regards
Sid.

2007/12/16, Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>:
Sid Boyce wrote:
Sid Boyce wrote:
gcc version 4.3.0 20071129 (experimental) [trunk revision 130511]
(SUSE Linux)
While trying to build sources that previously built with gcc-4.2, I
have had to add header files, e.g <string.h>, <stdlib.h>, <memory>,
<pm_config.h> to source files as I went along and met failures.
Eventually I was able to build OpenSceneGraph successfully, but now
I'm stuck with SimGear and can't find any suitable header files to
include for the following error.
g++ -DHAVE_CONFIG_H -I. -I../../../simgear -I../../.. -g -O2
-D_REENTRANT -MT ModelRegistry.o -MD -MP -MF .deps/ModelRegistry.Tpo
-c -o ModelRegistry.o ModelRegistry.cxx
ModelRegistry.cxx: In constructor
'<unnamed>::OptionsPusher::OptionsPusher(const
osgDB::ReaderWriter::Options*)':
ModelRegistry.cxx:220: error: no matching function for call to
'find(std::_Deque_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, const
std::basic_string<char, std::char_traits<char>, std::allocator<char>
&, const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >*>, std::_Deque_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, const
std::basic_string<char, std::char_traits<char>, std::allocator<char>
&, const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >*>, const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)'
make[4]: *** [ModelRegistry.o] Error 1
make[4]: Leaving directory
`/ftp/dec07/SIMGEAR/SimGear/simgear/scene/model'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear/scene'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear'
make: *** [all-recursive] Error 1
Worth a bug report????
Regards
Sid.
It seems the header files have been rearranged for gcc-4.3. I did the
latest cvs update to SimGear and it got past the error, I just needed to
add the header files above and in one place <gmp_config.h> and it built.
I'm going through a similar routine with FlightGear. Hope it doesn't
segfault when I'm done.
Regards
Sid.

Luckily all went well and I have the latest FlighGear CVS up and running.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx






--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >