Board index FlightGear Support Compiling

Linking fgpanel fails and a lot warnings  Topic is solved

Building FlightGear from source, and in the need for help?

Linking fgpanel fails and a lot warnings  

Postby Quix0r » Sun Sep 18, 2011 12:15 pm

Here is the full logfile from compiling (make 2>debug.log):
Code: Select all
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx: In member function ‘void FGGroundNetwork::checkSpeedAdjustment(int, double, double, double, double, double)’:
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:823:39: warning: variable ‘minbearing’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:801:10: warning: variable ‘previousInstruction’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx: In member function ‘void FGGroundNetwork::checkHoldPosition(int, double, double, double, double, double)’:
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:976:22: warning: variable ‘opposing’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx: In member function ‘virtual void FGGroundNetwork::render(bool)’:
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:1283:16: warning: unused variable ‘elevation_meters’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:1284:16: warning: variable ‘elevation_feet’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Airports/groundnetwork.cxx:1286:16: warning: unused variable ‘dx’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx: At global scope:
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx:46:13: warning: ‘bool doATCDialog(const SGPropertyNode*)’ declared ‘static’ but never defined [-Wunused-function]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.cxx: In member function ‘void FGATCDialogNew::update(double)’:
../../../../fgfs-base/flightgear/src/ATC/atcdialog.cxx:107:9: warning: unused variable ‘onBoardRadioFreq0’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.cxx:109:12: warning: unused variable ‘onBoardRadioFreq1’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atc_mgr.cxx: In member function ‘virtual void FGATCManager::init()’:
../../../../fgfs-base/flightgear/src/ATC/atc_mgr.cxx:99:12: warning: unused variable ‘cruiseAlt’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atc_mgr.cxx:100:12: warning: unused variable ‘courseToDest’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atc_mgr.cxx:101:12: warning: unused variable ‘deptime’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx: At global scope:
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx:46:13: warning: ‘bool doATCDialog(const SGPropertyNode*)’ declared ‘static’ but never defined [-Wunused-function]
../../../../fgfs-base/flightgear/src/ATC/trafficcontrol.cxx: In member function ‘virtual void FGStartupController::render(bool)’:
../../../../fgfs-base/flightgear/src/ATC/trafficcontrol.cxx:1284:16: warning: unused variable ‘elevation_meters’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/trafficcontrol.cxx:1285:16: warning: variable ‘elevation_feet’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/ATC/trafficcontrol.cxx:1289:16: warning: unused variable ‘dx’ [-Wunused-variable]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx: At global scope:
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx:46:13: warning: ‘bool doATCDialog(const SGPropertyNode*)’ declared ‘static’ but never defined [-Wunused-function]
../../../../fgfs-base/flightgear/src/ATCDCL/ATCDialogOld.cxx:48:13: warning: ‘bool do_ATC_dialog(const SGPropertyNode*)’ defined but not used [-Wunused-function]
../../../../fgfs-base/flightgear/src/ATCDCL/ATCDialogOld.cxx:54:13: warning: ‘bool do_ATC_freq_search(const SGPropertyNode*)’ defined but not used [-Wunused-function]
../../../../fgfs-base/flightgear/src/Cockpit/panel_io.cxx: In function ‘FGPanel* readPanel(const SGPropertyNode*)’:
../../../../fgfs-base/flightgear/src/Cockpit/panel_io.cxx:767:17: warning: variable ‘w_scale’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Cockpit/panel_io.cxx:768:17: warning: variable ‘h_scale’ set but not used [-Wunused-but-set-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/initialization/FGTrim.cpp:57:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/initialization/FGTrim.cpp:58:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp: In member function ‘double JSBSim::MSIS::globe7(double*, JSBSim::nrlmsise_input*, JSBSim::nrlmsise_flags*)’:
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:746:7: warning: variable ‘sw9’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:748:10: warning: variable ‘xlong’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:756:10: warning: variable ‘p32’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:756:15: warning: variable ‘p18’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:756:20: warning: variable ‘p14’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:756:25: warning: variable ‘p39’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp: In member function ‘double JSBSim::MSIS::glob7s(double*, JSBSim::nrlmsise_input*, JSBSim::nrlmsise_flags*)’:
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:978:10: warning: variable ‘p32’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:978:19: warning: variable ‘p18’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:978:28: warning: variable ‘p14’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:978:37: warning: variable ‘p39’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp: In member function ‘void JSBSim::MSIS::gts7(JSBSim::nrlmsise_input*, JSBSim::nrlmsise_flags*, JSBSim::nrlmsise_output*)’:
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:1302:10: warning: variable ‘ddum’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:1308:17: warning: variable ‘z0’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:1308:25: warning: variable ‘t0’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:1308:33: warning: variable ‘tr12’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/atmosphere/FGMSIS.cpp:1309:80: warning: variable ‘db48’ set but not used [-Wunused-but-set-variable]
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/propulsion/FGPiston.cpp: In member function ‘void JSBSim::FGPiston::doEnginePower()’:
../../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/models/propulsion/FGPiston.cpp:736:16: warning: variable ‘percent_RPM’ set but not used [-Wunused-but-set-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/input_output/FGXMLElement.cpp:45:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/input_output/FGXMLElement.cpp:46:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/input_output/FGXMLParse.cpp:43:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/input_output/FGXMLParse.cpp:44:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGColumnVector3.cpp:50:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGColumnVector3.cpp:51:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGLocation.cpp:48:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGLocation.cpp:49:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGMatrix33.cpp:51:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGMatrix33.cpp:52:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGPropertyValue.cpp:36:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGPropertyValue.cpp:37:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGQuaternion.cpp:60:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGQuaternion.cpp:61:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGRealValue.cpp:35:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGRealValue.cpp:36:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGRungeKutta.cpp:47:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGRungeKutta.cpp:48:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGModelFunctions.cpp:47:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../../fgfs-base/flightgear/src/FDM/JSBSim/math/FGModelFunctions.cpp:48:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/JSBSim/FGJSBBase.cpp:47:20: warning: ‘JSBSim::IdSrc’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/JSBSim/FGJSBBase.cpp:48:20: warning: ‘JSBSim::IdHdr’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_init.c:131:13: warning: ‘rcsid’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_matrix.c:109:13: warning: ‘rcsid’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c: In function ‘ls_model’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:176:7: warning: implicit declaration of function ‘navion_aero’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:177:7: warning: implicit declaration of function ‘navion_engine’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:178:7: warning: implicit declaration of function ‘navion_gear’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:182:7: warning: implicit declaration of function ‘c172_init’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:185:7: warning: implicit declaration of function ‘c172_aero’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:186:7: warning: implicit declaration of function ‘c172_engine’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:187:7: warning: implicit declaration of function ‘c172_gear’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:192:7: warning: implicit declaration of function ‘cherokee_aero’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:193:7: warning: implicit declaration of function ‘cherokee_engine’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:194:7: warning: implicit declaration of function ‘cherokee_gear’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:198:7: warning: implicit declaration of function ‘basic_init’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:202:7: warning: implicit declaration of function ‘basic_aero’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:203:7: warning: implicit declaration of function ‘basic_engine’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:204:7: warning: implicit declaration of function ‘basic_gear’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:211:7: warning: implicit declaration of function ‘uiuc_init_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:212:7: warning: implicit declaration of function ‘uiuc_network_recv_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:213:7: warning: implicit declaration of function ‘uiuc_engine_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:214:7: warning: implicit declaration of function ‘uiuc_wind_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:215:7: warning: implicit declaration of function ‘uiuc_aero_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:216:7: warning: implicit declaration of function ‘uiuc_gear_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:217:7: warning: implicit declaration of function ‘uiuc_network_send_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_model.c:218:7: warning: implicit declaration of function ‘uiuc_record_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c: In function ‘uiuc_init_vars’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c:322:9: warning: implicit declaration of function ‘uiuc_init_aeromodel’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c:325:5: warning: implicit declaration of function ‘uiuc_initial_init’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c: In function ‘ls_step’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c:369:4: warning: implicit declaration of function ‘uiuc_init_2_wrapper’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_step.c:393:8: warning: implicit declaration of function ‘uiuc_local_vel_init’ [-Wimplicit-function-declaration]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/c172_gear.c: In function ‘c172_gear’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/c172_gear.c:152:6: warning: unused variable ‘rcsid’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c: In function ‘basic_aero’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:160:27: warning: unused variable ‘W_body_Z’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:160:18: warning: unused variable ‘W_body_Y’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:160:9: warning: unused variable ‘W_body_X’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:159:27: warning: unused variable ‘V_body_Z’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:159:18: warning: unused variable ‘V_body_Y’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:159:9: warning: unused variable ‘V_body_X’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:158:27: warning: unused variable ‘U_body_Z’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:158:18: warning: unused variable ‘U_body_Y’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:158:9: warning: unused variable ‘U_body_X’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:157:19: warning: unused variable ‘G_33’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:157:14: warning: unused variable ‘G_32’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:157:9: warning: unused variable ‘G_31’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:156:19: warning: unused variable ‘G_23’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:156:14: warning: unused variable ‘G_22’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:156:9: warning: unused variable ‘G_21’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:155:19: warning: unused variable ‘G_13’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:155:14: warning: unused variable ‘G_12’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:155:9: warning: unused variable ‘G_11’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:137:6: warning: variable ‘stalling’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:129:9: warning: variable ‘CY_da’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:82:47: warning: unused variable ‘rudder_drela’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:82:32: warning: unused variable ‘aileron_drela’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_aero.c:82:16: warning: unused variable ‘elevator_drela’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_gear.c: In function ‘basic_gear’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/basic_gear.c:101:6: warning: unused variable ‘rcsid’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/navion_gear.c: In function ‘navion_gear’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/navion_gear.c:162:6: warning: unused variable ‘rcsid’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c: In function ‘cherokee_aero’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:103:3: warning: unused variable ‘Cnda’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:94:3: warning: unused variable ‘Cnps’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:93:3: warning: unused variable ‘Cnf’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:92:3: warning: unused variable ‘Clf’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:91:3: warning: unused variable ‘Cyps’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:90:3: warning: unused variable ‘Cyf’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_aero.c:86:3: warning: unused variable ‘Cyp’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_gear.c: In function ‘cherokee_gear’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/cherokee_gear.c:138:6: warning: unused variable ‘rcsid’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c: In function ‘ls_stamp’:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:298:5: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:300:2: warning: embedded ‘\0’ in format [-Wformat-contains-nul]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:283:10: warning: unused variable ‘rcsid’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c: At top level:
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:275:13: warning: ‘asc1name’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:276:13: warning: ‘tabname’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:277:13: warning: ‘fltname’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/LaRCsim/ls_interface.c:278:13: warning: ‘matname’ defined but not used [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_aerodeflections.cpp: In function ‘void uiuc_aerodeflections(double)’:
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_aerodeflections.cpp:192:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_aerodeflections.cpp:216:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_convert.cpp: In function ‘double uiuc_convert(int)’:
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_convert.cpp:86:10: warning: ‘factor’ may be used uninitialized in this function [-Wuninitialized]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_flapdata.cpp: In member function ‘int FlapData::readIn(std::ifstream*)’:
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_flapdata.cpp:265:13: warning: unused variable ‘count’ [-Wunused-variable]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_parsefile.cpp: In member function ‘std::string ParseFile::getToken(std::string, int)’:
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_parsefile.cpp:111:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_parsefile.cpp:111:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_parsefile.cpp:120:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../../../fgfs-base/flightgear/src/FDM/UIUCModel/uiuc_parsefile.cpp:120:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../../../fgfs-base/flightgear/src/FDM/YASim/Rotor.cpp: In member function ‘void yasim::Rotorgear::calcForces(float*)’:
../../../../../fgfs-base/flightgear/src/FDM/YASim/Rotor.cpp:1542:15: warning: variable ‘rel_torque_engine’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/YASim/Rotorpart.cpp: In member function ‘float yasim::Rotorpart::calculateAlpha(float*, float, float, float, float, float*, float*)’:
../../../../../fgfs-base/flightgear/src/FDM/YASim/Rotorpart.cpp:380:11: warning: variable ‘moment’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/YASim/Rotorpart.cpp:381:11: warning: variable ‘ias’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx: In member function ‘void FGExternalPipe::init_binary()’:
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx:246:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx: In member function ‘void FGExternalPipe::init_property()’:
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx:309:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx: In member function ‘void FGExternalPipe::update_property(double)’:
../../../../../fgfs-base/flightgear/src/FDM/ExternalPipe/ExternalPipe.cxx:490:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/KLN89/kln89.cxx: In member function ‘void KLN89::DrawMap(bool)’:
../../../../../fgfs-base/flightgear/src/Instrumentation/KLN89/kln89.cxx:764:9: warning: variable ‘bottomLeft’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/KLN89/kln89.cxx:765:9: warning: variable ‘topRight’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx: In member function ‘void HUD::Tape::draw_vertical(float)’:
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx:92:23: warning: variable ‘vmax’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx: In member function ‘void HUD::Tape::draw_horizontal(float)’:
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx:351:23: warning: variable ‘vmax’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx:353:11: warning: variable ‘marker_xe’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_tape.cxx:356:11: warning: variable ‘text_y’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_ladder.cxx: In member function ‘virtual void HUD::Ladder::draw()’:
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_ladder.cxx:141:72: warning: variable ‘t1’ set but not used [-Wunused-but-set-variable]
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_runway.cxx: In member function ‘virtual void HUD::Runway::draw()’:
../../../../../fgfs-base/flightgear/src/Instrumentation/HUD/HUD_runway.cxx:125:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx: In member function ‘virtual void FGModelMgr::update(double)’:
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:202:42: warning: ‘heading’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:45: note: ‘heading’ was declared here
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:200:38: warning: ‘pitch’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:38: note: ‘pitch’ was declared here
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:198:36: warning: ‘roll’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:32: note: ‘roll’ was declared here
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:194:40: warning: ‘elev’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:26: note: ‘elev’ was declared here
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:192:39: warning: ‘lat’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:21: note: ‘lat’ was declared here
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:190:40: warning: ‘lon’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/src/Model/modelmgr.cxx:163:16: note: ‘lon’ was declared here
../../../../fgfs-base/flightgear/src/AIModel/AIAircraft.cxx: In member function ‘void FGAIAircraft::updateHeading()’:
../../../../fgfs-base/flightgear/src/AIModel/AIAircraft.cxx:989:20: warning: variable ‘bank_sense’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIShip.cxx: In member function ‘virtual void FGAIShip::update(double)’:
../../../../fgfs-base/flightgear/src/AIModel/AIShip.cxx:261:13: warning: variable ‘cartPos’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIBallistic.cxx: In member function ‘void FGAIBallistic::slaveToAC(double)’:
../../../../fgfs-base/flightgear/src/AIModel/AIBallistic.cxx:638:27: warning: variable ‘agl’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlan.cxx: In constructor ‘FGAIFlightPlan::FGAIFlightPlan(FGAIAircraft*, const string&, double, time_t, FGAirport*, FGAirport*, bool, double, double, double, double, double, const string&, const string&, const string&)’:
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlan.cxx:168:8: warning: variable ‘useInitialWayPoint’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlan.cxx:169:8: warning: variable ‘useCurrentWayPoint’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlanCreate.cxx: In member function ‘bool FGAIFlightPlan::createDescent(FGAIAircraft*, FGAirport*, double, double, double, double, const string&, double)’:
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlanCreate.cxx:621:12: warning: variable ‘lat’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/AIModel/AIFlightPlanCreate.cxx:622:12: warning: variable ‘lon’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/MultiPlayer/multiplaymgr.cxx: In member function ‘void FGMultiplayMgr::Send()’:
../../../../fgfs-base/flightgear/src/MultiPlayer/multiplaymgr.cxx:963:19: warning: variable ‘lastTime’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getType(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:67:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getName(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:144:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getIndex(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:150:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getValue(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:169:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getParent(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:282:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_unalias(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:393:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx: In function ‘naRef f_getAliasTarget(naContext, naRef, int, naRef*)’:
../../../../fgfs-base/flightgear/src/Scripting/nasal-props.cxx:399:217: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Time/light.cxx: In member function ‘void FGLight::update_adj_fog_color()’:
../../../../fgfs-base/flightgear/src/Time/light.cxx:351:26: warning: variable ‘vert_rotation’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Traffic/Schedule.cxx: In member function ‘bool FGAISchedule::update(time_t, const SGVec3d&)’:
../../../../fgfs-base/flightgear/src/Traffic/Schedule.cxx:199:5: warning: variable ‘remainingTimeEnroute’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/ATC/atcdialog.hxx:46:13: warning: ‘bool doATCDialog(const SGPropertyNode*)’ declared ‘static’ but never defined [-Wunused-function]
../../../../fgfs-base/flightgear/src/Main/CameraGroup.cxx: In function ‘osg::Geometry* flightgear::createParoramicSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’:
../../../../fgfs-base/flightgear/src/Main/CameraGroup.cxx:387:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Main/CameraGroup.cxx:348:16: warning: variable ‘projector’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Main/CameraGroup.cxx:375:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/src/Main/FGEventHandler.cxx: In member function ‘virtual bool flightgear::FGEventHandler::handle(const osgGA::GUIEventAdapter&, osgGA::GUIActionAdapter&)’:
../../../../fgfs-base/flightgear/src/Main/FGEventHandler.cxx:218:67: warning: ‘button’ may be used uninitialized in this function [-Wuninitialized]
../../../../fgfs-base/flightgear/utils/GPSsmooth/gps_main.cxx: In function ‘void send_data(GPSPoint)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/gps_main.cxx:284:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx: In member function ‘void MIDGTrack::parse_msg(int, char*, MIDGpos*, MIDGatt*)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:92:18: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:93:18: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:94:17: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:111:18: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:112:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:112:20: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:112:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:113:17: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:113:21: warning: variable ‘ay’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:113:25: warning: variable ‘az’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:114:17: warning: variable ‘mx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:114:21: warning: variable ‘my’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:114:25: warning: variable ‘mz’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:115:17: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:147:18: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:148:17: warning: variable ‘mx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:148:21: warning: variable ‘my’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:148:25: warning: variable ‘mz’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:149:17: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:169:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:169:20: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:169:23: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:170:17: warning: variable ‘ax’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:170:21: warning: variable ‘ay’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:170:25: warning: variable ‘az’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:172:17: warning: variable ‘Qw’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:172:21: warning: variable ‘Qx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:172:25: warning: variable ‘Qy’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:172:29: warning: variable ‘Qz’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:173:17: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:227:17: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:275:18: warning: variable ‘gps_ts’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:275:26: warning: variable ‘gps_week’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:276:18: warning: variable ‘details’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:277:17: warning: variable ‘gps_posx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:277:27: warning: variable ‘gps_posy’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:277:37: warning: variable ‘gps_posz’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:278:17: warning: variable ‘gps_velx’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:278:27: warning: variable ‘gps_vely’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:278:37: warning: variable ‘gps_velz’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:279:17: warning: variable ‘pdop’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:279:23: warning: variable ‘pacc’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:279:29: warning: variable ‘sacc’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx: In member function ‘int MIDGTrack::next_message(SGSerialPort*, SGIOChannel*, MIDGpos*, MIDGatt*)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG-II.cxx:483:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG_main.cxx: In function ‘void send_data(MIDGpos, MIDGatt)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG_main.cxx:282:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG_main.cxx: In function ‘int main(int, char**)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/MIDG_main.cxx:569:16: warning: variable ‘current_time’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear.cxx: In member function ‘int UGTrack::next_message(SGSerialPort*, SGIOChannel*, gps*, imu*, nav*, servo*, health*, bool)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear.cxx:454:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear_main.cxx: In function ‘void send_data_udp(gps*, imu*, nav*, servo*, health*)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear_main.cxx:502:9: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear_main.cxx: In function ‘int main(int, char**)’:
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear_main.cxx:1123:22: warning: variable ‘londir’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/GPSsmooth/UGear_main.cxx:1124:22: warning: variable ‘latdir’ set but not used [-Wunused-but-set-variable]
../../../../fgfs-base/flightgear/utils/TerraSync/terrasync.cxx: In function ‘int mysvn_setup()’:
../../../../fgfs-base/flightgear/utils/TerraSync/terrasync.cxx:180:11: warning: ‘svn_error_t* svn_cmdline_setup_auth_baton(svn_auth_baton_t**, svn_boolean_t, const char*, const char*, const char*, svn_boolean_t, svn_config_t*, svn_cancel_func_t, void*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_cmdline.h:356) [-Wdeprecated-declarations]
../../../../fgfs-base/flightgear/utils/TerraSync/terrasync.cxx:182:62: warning: ‘svn_error_t* svn_cmdline_setup_auth_baton(svn_auth_baton_t**, svn_boolean_t, const char*, const char*, const char*, svn_boolean_t, svn_config_t*, svn_cancel_func_t, void*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_cmdline.h:356) [-Wdeprecated-declarations]
/opt/lib/libsgio.a(raw_socket.o): In function `shutdown':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:95: undefined reference to `SGMutex::lock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:97: undefined reference to `SGWaitCondition::signal()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:98: undefined reference to `SGMutex::unlock()'
/opt/lib/libsgio.a(raw_socket.o): In function `lookup':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:104: undefined reference to `SGMutex::lock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:112: undefined reference to `SGMutex::unlock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:108: undefined reference to `SGWaitCondition::signal()'
/opt/lib/libsgio.a(raw_socket.o): In function `Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGThread::SGThread()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGMutex::SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGWaitCondition::SGWaitCondition()'
/opt/lib/libsgio.a(raw_socket.o): In function `instance':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:76: undefined reference to `SGThread::start()'
/opt/lib/libsgio.a(raw_socket.o): In function `Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGThread::~SGThread()'
/opt/lib/libsgio.a(raw_socket.o): In function `lookupSync':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:119: undefined reference to `SGMutex::lock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:135: undefined reference to `SGMutex::unlock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:122: undefined reference to `SGMutex::unlock()'
/opt/lib/libsgio.a(raw_socket.o): In function `Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGThread::SGThread()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGMutex::SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGWaitCondition::SGWaitCondition()'
/opt/lib/libsgio.a(raw_socket.o): In function `instance':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:76: undefined reference to `SGThread::start()'
/opt/lib/libsgio.a(raw_socket.o): In function `lookupSync':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:125: undefined reference to `SGMutex::lock()'
/opt/lib/libsgio.a(raw_socket.o): In function `Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:89: undefined reference to `SGThread::~SGThread()'
/opt/lib/libsgio.a(raw_socket.o): In function `run':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:146: undefined reference to `SGMutex::lock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:154: undefined reference to `SGMutex::unlock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:158: undefined reference to `SGMutex::lock()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:166: undefined reference to `SGWaitCondition::wait(SGMutex&)'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:168: undefined reference to `SGMutex::unlock()'
/opt/lib/libsgio.a(raw_socket.o): In function `~Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGWaitCondition::~SGWaitCondition()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGThread::~SGThread()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGWaitCondition::~SGWaitCondition()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGThread::~SGThread()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGMutex::~SGMutex()'
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGThread::~SGThread()'
/opt/lib/libsgio.a(raw_socket.o): In function `cleanup':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:85: undefined reference to `SGThread::join()'
/opt/lib/libsgio.a(raw_socket.o): In function `~Resolver':
/home/quix0r/fgfs/build/simgear/simgear/io/../../../../simgear/simgear/io/raw_socket.cxx:68: undefined reference to `SGThread::~SGThread()'
/opt/lib/libsgio.a(raw_socket.o):(.data.rel.ro+0x10): undefined reference to `typeinfo for SGThread'
collect2: ld returned 1 exit status
make[2]: *** [fgpanel] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I have already tried to do a "make distclean" and executed autogen.sh again (I compile from latest GIT) but no luck so far.
Admin of mpserver08: mpserver08.flightgear.org:5000 running latest GIT version: v0.11.8 - User:Quix0r
Quix0r
 
Posts: 106
Joined: Tue Sep 22, 2009 8:49 pm
Location: Krefeld
Callsign: D-Quix0r
Version: next
OS: Debian

Re: Linking fgpanel fails and a lot warnings

Postby Quix0r » Mon Sep 19, 2011 11:19 pm

fgpanel_LDADD in utils/fgpanel/Makefile.* (both files) must be extended with -lsgthreads.
Admin of mpserver08: mpserver08.flightgear.org:5000 running latest GIT version: v0.11.8 - User:Quix0r
Quix0r
 
Posts: 106
Joined: Tue Sep 22, 2009 8:49 pm
Location: Krefeld
Callsign: D-Quix0r
Version: next
OS: Debian


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest