by Soitanen » Fri Jan 11, 2013 9:55 am
I have error compiling in Ubuntu. earlier version were compiled normally.
- Code: Select all
michael@simulator:~/fgfs$ sh download_and_compile.sh -j 2 -p n FGFS
**************************************
* *
* Warning, the compilation process *
* is going to use 12 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.
-- System is: Linux
-- Linux distro is: Ubuntu
-- Web browser launcher command is: xdg-open
-- Using explicit data directory for base package: /home/michael/fgfs/install/fgfs/lib/FlightGear
-- additional library directories: /usr/local/lib/i386-linux-gnu;/usr/lib/i386-linux-gnu;/lib/i386-linux-gnu
-- 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 ea81903f6707bb50a362bca64e005bf47f443a8c
-- Boost version: 1.49.0
-- Found X11_Xinerama...
-- Found X11_Xft...
-- Using FLTK_LIBRARIES for fgadmin: fltk_images;fltk_forms;fltk_gl;/usr/lib/i386-linux-gnu/libGL.so;fltk;/usr/lib/i386-linux-gnu/libSM.so;/usr/lib/i386-linux-gnu/libICE.so;/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libm.so;/usr/lib/i386-linux-gnu/libXinerama.so;/usr/lib/i386-linux-gnu/libXft.so
-- libsvn found, enabling in terrasync
-- /home/michael/fgfs/install/plib/include
-- adding runtime JS dependencies
-- SimGear include directory: /home/michael/fgfs/install/simgear/include
-- found SimGear version: 2.10.0 (needed 2.10.0)
-- looking for static SimGear libraries
-- found SimGear libraries
-- Performing Test SIMGEAR_COMPILE_TEST
-- Performing Test SIMGEAR_COMPILE_TEST - Success
-- Built-in profiler using gperftools available
-- Configuring done
-- Generating done
-- Build files have been written to: /home/michael/fgfs/build/fgfs
[ 0%] Built target js_demo
[ 1%] Built target fgjs
[ 7%] Built target yasim
[ 13%] Built target yasim-proptest
[ 13%] Built target metar
[ 13%] Built target terrasync
[ 14%] Built target fgviewer
[ 29%] Built target JSBSim
[ 29%] Built target fgelev
[ 30%] Built target GPSsmooth
[ 31%] Built target MIDGsmooth
[ 32%] [ 32%] Built target UGsmooth
Built target FGAdminUI
Linking CXX executable fgadmin
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function `FGAdminUI::remove_selected()':
fgadmin_funcs.cxx:(.text+0x114d): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x150e): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function `FGAdminUI::install_selected()':
fgadmin_funcs.cxx:(.text+0x1f2b): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x1f86): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/fgadmin/src/fgadmin] Error 1
make[1]: *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Built target fgfs
make: *** [all] Error 2
[ 1%] Built target fgjs
[ 1%] Built target js_demo
[ 7%] Built target yasim
[ 13%] Built target yasim-proptest
[ 28%] Built target JSBSim
[ 96%] Built target fgfs
[ 96%] Built target metar
[ 96%] Built target terrasync
[ 97%] Built target fgviewer
[ 97%] Built target fgelev
[ 98%] Built target GPSsmooth
[ 99%] Built target MIDGsmooth
[100%] Built target UGsmooth
[100%] Built target FGAdminUI
Linking CXX executable fgadmin
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function `FGAdminUI::remove_selected()':
fgadmin_funcs.cxx:(.text+0x114d): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x150e): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o: In function `FGAdminUI::install_selected()':
fgadmin_funcs.cxx:(.text+0x1f2b): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
fgadmin_funcs.cxx:(.text+0x1f86): undefined reference to `Fl_Window::cursor(Fl_Cursor, Fl_Color, Fl_Color)'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/fgadmin/src/fgadmin] Error 1
make[1]: *** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/all] Error 2
make: *** [all] Error 2