Summary: | games-simulation/flightgear-1.9.1 failed with sys-devel/gcc-4.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oschtan <dawnstyle> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, flameeyes, vostorga |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
build.log
Patch allowing games-simulation/flightgear-1.9.1 to build with gcc 4.4 |
Description
Oschtan
2009-05-14 19:04:44 UTC
Created attachment 191282 [details]
build.log
Created attachment 191556 [details, diff]
Patch allowing games-simulation/flightgear-1.9.1 to build with gcc 4.4
Fixes:
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../../src -march=pentium4 -O2 -pipe -fomit-frame-pointer -D_REENTRANT -c -o UGear.o UGear.cxx
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I../../src -march=pentium4 -O2 -pipe -fomit-frame-pointer -D_REENTRANT -c -o UGear_command.o UGear_command.cxx
UGear_command.cxx: In function 'int serial_send(SGSerialPort*, int, std::string)':
UGear_command.cxx:41: error: 'snprintf' was not declared in this scope
UGear_command.cxx:58: error: 'printf' was not declared in this scope
UGear_command.cxx: In member function 'int UGCommand::update(SGSerialPort*)':
UGear_command.cxx:70: error: 'printf' was not declared in this scope
UGear_command.cxx: In member function 'void UGCommand::add(std::string)':
UGear_command.cxx:98: error: 'printf' was not declared in this scope
make[2]: *** [UGear_command.o] Error 1
In file included from controls.cxx:29: /usr/include/simgear/debug/logstream.hxx: In member function 'virtual int logbuf::overflow(int)': /usr/include/simgear/debug/logstream.hxx:192: error: 'EOF' was not declared in this scope controls.cxx: In member function 'virtual void FGControls::bind()': controls.cxx:317: error: 'snprintf' was not declared in this scope controls.cxx:436: error: 'snprintf' was not declared in this scope controls.cxx:526: error: 'snprintf' was not declared in this scope controls.cxx:553: error: 'snprintf' was not declared in this scope controls.cxx:569: error: 'snprintf' was not declared in this scope controls.cxx:601: error: 'snprintf' was not declared in this scope controls.cxx:624: error: 'snprintf' was not declared in this scope controls.cxx:648: error: 'snprintf' was not declared in this scope controls.cxx:716: error: 'snprintf' was not declared in this scope controls.cxx:754: error: 'snprintf' was not declared in this scope controls.cxx:791: error: 'snprintf' was not declared in this scope controls.cxx: In member function 'virtual void FGControls::unbind()': controls.cxx:871: error: 'snprintf' was not declared in this scope controls.cxx:929: error: 'snprintf' was not declared in this scope controls.cxx:955: error: 'snprintf' was not declared in this scope controls.cxx:965: error: 'snprintf' was not declared in this scope controls.cxx:974: error: 'snprintf' was not declared in this scope controls.cxx:986: error: 'snprintf' was not declared in this scope controls.cxx:996: error: 'snprintf' was not declared in this scope controls.cxx:1004: error: 'snprintf' was not declared in this scope controls.cxx:1024: error: 'snprintf' was not declared in this scope controls.cxx:1042: error: 'snprintf' was not declared in this scope controls.cxx:1055: error: 'snprintf' was not declared in this scope make[2]: *** [controls.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-simulation/flightgear-1.9.1/work/FlightGear-1.9.1/src/Aircraft' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-simulation/flightgear-1.9.1/work/FlightGear-1.9.1/src' make: *** [all-recursive] Error 1 Hmm, appears to be a bug with simgear, how did you managed yo merge simgear without hitting bug 270116 ? Not fixed... (In reply to comment #5) > Not fixed... > Fixed! Patch from Bug 270116 and patch from this bug fixed problem! The fix is now in portage Thanks for report and patch. *** Bug 274316 has been marked as a duplicate of this bug. *** |