Board index FlightGear Support Compiling

Problems building FGFS on Ubuntu  Topic is solved

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

Problems building FGFS on Ubuntu

Postby chris_blues » Sat Apr 28, 2012 10:01 am

Hi!

I've been encountering some problems, building FlightGear using Brisas script, after I upgraded my Ubuntu to 12.04.

To everyone's information, here's the errors, I've encountered so far: (I hope it'll help someone...)
1. OSG
Code: Select all
make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/x86_64-linux-gnu/libtiff.so«,
  benötigt von »lib/osgPlugins-3.0.1/osgdb_tiff.so«, zu erstellen.  Schluss.
make[1]: *** [src/osgPlugins/tiff/CMakeFiles/osgdb_tiff.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...

It was solved by running "sudo apt-get install libtiff4 libtiff-opengl libtiff4-dev libtiff-tools"
This installed some unneeded packages as well, which were removed by the script the next time I ran it, but it worked nontheless... OSG installed fine.

2. SIMGEAR
Code: Select all
[ 97%] Built target test_http
Linking CXX executable test_sock
make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/libopenal.so«,
  benötigt von »simgear/sound/openal_test1«, zu erstellen.  Schluss.
make[1]: *** [simgear/sound/CMakeFiles/openal_test1.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
[ 98%] Built target test_sock
make: *** [all] Fehler 2

The solution was to download openal from their website, extract the .tar.gz and cd into it. "ccmake ." [c], later again [c] then [g]. Back in the console: "make" and "sudo make install"
After installation of openAL: "ln -s /usr/local/lib/libopenal.so /usr/lib/libopenal.so"
And SIMGEAR built fine...

3. FGFS
Code: Select all
Scanning dependencies of target fgjs
make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/libsvn_client-1.so«,
  benötigt von »src/Input/js_demo«, zu erstellen.  Schluss.
make[2]: *** Warte auf noch nicht beendete Prozesse...
[  0%] [  0%] Building CXX object src/Input/CMakeFiles/js_demo.dir/js_demo.cxx.o
Building CXX object src/Input/CMakeFiles/fgjs.dir/fgjs.cxx.o
make[1]: *** [src/Input/CMakeFiles/js_demo.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
[  1%] Building CXX object src/Input/CMakeFiles/fgjs.dir/jsinput.cxx.o
make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/libsvn_client-1.so«,
  benötigt von »src/Input/fgjs«, zu erstellen.  Schluss.
make[2]: *** Warte auf noch nicht beendete Prozesse...
[  1%] Building CXX object src/Input/CMakeFiles/fgjs.dir/jssuper.cxx.o
make[1]: *** [src/Input/CMakeFiles/fgjs.dir/all] Fehler 2
make: *** [all] Fehler 2
make[2]: *** Keine Regel vorhanden, um das Target »/usr/lib/libsvn_client-1.so«,
  benötigt von »src/Input/fgjs«, zu erstellen.  Schluss.
make[1]: *** [src/Input/CMakeFiles/fgjs.dir/all] Fehler 2
make: *** [all] Fehler 2

This was a little harder to find out!
"sudo ln -s /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1.0.0 /usr/lib/libsvn_client-1.so"
"sudo ln -s /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1.0.0 /usr/lib/libsvn_subr-1.so"
"sudo ln -s /usr/lib/x86_64-linux-gnu/libsvn_ra-1.so.1.0.0 /usr/lib/libsvn_ra-1.so"

Compilation went on from this point until it outputs the following error.
Code: Select all
Scanning dependencies of target fgviewer
Linking CXX executable fgviewer
Linking CXX static library libJSBSim.a
`.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED1Ev[osg::TemplateArray<osg::Vec3f, (osg::Array::Type)10, 3, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED1Ev[osg::TemplateArray<osg::Vec2f, (osg::Array::Type)9, 2, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED1Ev[osg::TemplateArray<osg::Vec4f, (osg::Array::Type)11, 4, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [utils/fgviewer/fgviewer] Fehler 1
make[1]: *** [utils/fgviewer/CMakeFiles/fgviewer.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...

Now I have simply no idea, what it is trying to tell me... fgviewer won't build, alright. But why???
After all, fgviewer is the main component of FG isn't it? It's my viewport so to say... So I shouldn't try to remove it from the build files, I could eventually run fgfs, but wouldn't see anything, right?

Any help is very welcome and aprreciated!
Cheers!
chris
Last edited by chris_blues on Wed May 02, 2012 1:54 pm, edited 1 time in total.
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1569
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Problems building FGFS on Ubuntu 12.04

Postby chris_blues » Sun Apr 29, 2012 6:36 pm

Update:
Today were some changes in the code, but still the same errors...
Code: Select all
chris@chris-desktop:/media/myfiles/software/games/FlightGear/git$ ./download_and_compile.sh -a n -p n -j 2 FGFS
**************************************
*                                    *
* Warning, the compilation process   *
* is going to use 9 or more Gbytes   *
* of space and at least a couple of  *
* hours to download and build FG.    *
*                                    *
* Please, be patient ......          *
*                                    *
**************************************
****************************************
**************** FGFS ******************
****************************************
flightgear exists already.
Already on 'next'
Already up-to-date.
-- Using explicit data-dir: /media/myfiles/software/games/FlightGear/git/install/fgfs/lib/FlightGear
-- UDev not found.
-- UDev: You can specify includes: -DUDEV_PATH_INCLUDES=/opt/udev/include
--       currently found includes: UDEV_INCLUDE_DIR-NOTFOUND
-- UDev: You can specify libs: -DUDEV_PATH_LIB=/opt/udev/lib
--       currently found libs: UDEV_LIBRARIES-NOTFOUND
-- Git revision is 44e672c25651dd3ef359ba300ddad3a2b47879fd
-- Using FLTK_LIBRARIES for fgadmin: fltk_images;fltk_forms;fltk_gl;/usr/lib/libGL.so;fltk;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libm.so
-- libsvn found, enabling in terrasync
-- /media/myfiles/software/games/FlightGear/git/install/plib/include
-- adding runtime JS dependencies
-- SimGear include directory: /media/myfiles/software/games/FlightGear/git/install/simgear/include
-- found SimGear version: 2.7.0 (needed 2.7.0)
-- looking for static SimGear libraries
-- found SimGear libraries
-- Performing Test SIMGEAR_COMPILE_TEST
-- Performing Test SIMGEAR_COMPILE_TEST - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /media/myfiles/software/games/FlightGear/git/build/fgfs
Linking CXX executable js_demo
Linking CXX executable fgjs
[  0%] Built target js_demo
[  1%] Built target fgjs
Linking CXX executable yasim
Linking CXX executable yasim-proptest
[  7%] Built target yasim
[ 13%] Built target yasim-proptest
Linking CXX executable metar
[ 29%] Built target JSBSim
Linking CXX executable terrasync
[ 30%] Built target metar
Linking CXX executable fgviewer
[ 30%] Built target terrasync
Linking CXX executable GPSsmooth
[ 31%] Built target GPSsmooth
Linking CXX executable MIDGsmooth
[ 31%] Built target MIDGsmooth
`.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED1Ev[osg::TemplateArray<osg::Vec3f, (osg::Array::Type)10, 3, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED1Ev[osg::TemplateArray<osg::Vec2f, (osg::Array::Type)9, 2, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED1Ev[osg::TemplateArray<osg::Vec4f, (osg::Array::Type)11, 4, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o)
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [utils/fgviewer/fgviewer] Fehler 1
make[1]: *** [utils/fgviewer/CMakeFiles/fgviewer.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
Scanning dependencies of target UGsmooth
[ 32%] [ 32%] Building CXX object utils/GPSsmooth/CMakeFiles/UGsmooth.dir/UGear.cxx.o
Building CXX object utils/GPSsmooth/CMakeFiles/UGsmooth.dir/UGear_command.cxx.o
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear.cxx: In Elementfunktion »int UGTrack::next_message(SGSerialPort*, SGIOChannel*, gps*, imu*, nav*, servo*, health*, bool)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear.cxx:454:9: Warnung: Variable »result« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
[ 32%] Building CXX object utils/GPSsmooth/CMakeFiles/UGsmooth.dir/UGear_telnet.cxx.o
[ 32%] Building CXX object utils/GPSsmooth/CMakeFiles/UGsmooth.dir/UGear_main.cxx.o
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear_main.cxx: In Funktion »void send_data_udp(gps*, imu*, nav*, servo*, health*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear_main.cxx:502:9: Warnung: Variable »len« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear_main.cxx: In Funktion »int main(int, char**)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear_main.cxx:1123:22: Warnung: Variable »londir« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/utils/GPSsmooth/UGear_main.cxx:1124:22: Warnung: Variable »latdir« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
Linking CXX executable UGsmooth
[ 32%] Built target UGsmooth
make: *** [all] Fehler 2
[  1%] Built target fgjs
[  1%] Built target js_demo
[  7%] Built target yasim
[ 13%] Built target yasim-proptest
[ 29%] Built target JSBSim
Scanning dependencies of target fgfs
[ 29%] Building CXX object src/Main/CMakeFiles/fgfs.dir/fg_commands.cxx.o
[ 30%] Building CXX object src/Main/CMakeFiles/fgfs.dir/fg_init.cxx.o
[ 30%] Building CXX object src/Main/CMakeFiles/fgfs.dir/options.cxx.o
[ 30%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/FGPUIDialog.cxx.o
[ 30%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Input/FGEventInput.cxx.o
[ 31%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Input/FGJoystickInput.cxx.o
[ 31%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Input/FGKeyboardInput.cxx.o
[ 32%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/AIModel/AIBase.cxx.o
[ 33%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Network/ATC-Main.cxx.o
[ 33%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Scenery/tilemgr.cxx.o
[ 33%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Scripting/NasalSys.cxx.o
[ 33%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Scripting/nasal-props.cxx.o
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getType(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:67:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getName(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:144:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getIndex(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:150:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getValue(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:169:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getParent(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:282:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_unalias(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:393:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx: In Funktion »naRef f_getAliasTarget(naContext, naRef, int, naRef*)«:
/media/myfiles/software/games/FlightGear/git/fgfs/flightgear/src/Scripting/nasal-props.cxx:399:5: Warnung: Variable »argv« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
[ 34%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Scripting/NasalPositioned.cxx.o
[ 35%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Viewer/renderer.cxx.o
Linking CXX executable fgfs
`.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED1Ev[non-virtual thunk to osg::TemplateArray<osg::Vec3f, (osg::Array::Type)10, 3, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED1Ev[non-virtual thunk to osg::TemplateArray<osg::Vec4f, (osg::Array::Type)11, 4, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o)
`.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED1Ev[non-virtual thunk to osg::TemplateArray<osg::Vec2f, (osg::Array::Type)9, 2, 5126>::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgsky.a(cloud.cxx.o)
`.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev' referenced in section `.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev[non-virtual thunk to boost::exception_detail::error_info_injector<boost::bad_function_call>::~error_info_injector()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgprops.a(props.cxx.o): defined in discarded section `.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgprops.a(props.cxx.o)
`.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev' referenced in section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED1Ev[non-virtual thunk to boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >::~clone_impl()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgprops.a(props.cxx.o): defined in discarded section `.text._ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED2Ev[_ZN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgprops.a(props.cxx.o)
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [src/Main/fgfs] Fehler 1
make[1]: *** [src/Main/CMakeFiles/fgfs.dir/all] Fehler 2
make: *** [all] Fehler 2
To start fgfs, run the run_fgfs.sh file
To start terrasync, run the run_terrasync.sh file
To start fgrun, run the run_fgrun.sh file
To start fgcom, run the run_fgcom.sh file
To start fgcom GUI, run the run_fgcomgui.sh file
To start atlas, run the run_atlas.sh file
Usage: ./download_and_compile.sh -h
for help
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1569
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Problems building FGFS on Ubuntu 12.04  

Postby chris_blues » Wed May 02, 2012 1:52 pm

I just got the good hint, that these were link-errors, caused by usage of different versions of gcc. So, after some fiddling, I found the 'outdated' software: PLIB!!! I forgot to recompile plib! After rebuilding it and deleting the build-folder all compilations ran through fine!!! Thanks Fred!

I hope this infos help someone in the future... :)

Cheers
chris
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1569
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest