From: Suraj S. <sur...@gm...> - 2009-07-30 22:11:48
|
Hi, I did the following modification and tried again. - Removed fltk -1.1.1 and installed fltk-1.1.9.ON doing make this helped me to reach to 63 % of the installation. But again some new errors popped up. ( Messages attached below.) - I am using Ubuntu 9.04 - the Jaunty Jackalope - released in April 2009. and with continues updates. - I did not find a link to install WebSim. Can this be the cause to the issue. If you need some more information please let me know. Outputs of Cmake . and Make added below. root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake . -- Stage version 3.1.0 -- Operating system is Linux -- Build type RELEASE -- Checking for libtool -- Checking for required libraries... -- * FLTK version 1.1.9 detected via /usr/local/bin/fltk-config -- Checking for optional libraries... -- * Player version 3.0.0-rc1 detected at /usr/local -- checking for one of the modules 'websim' * WebSim not detected. -- Installation path CMAKE_INSTALL_PREFIX=/usr/local -- Configuring libstage -- Configuring libstageplugin -- Configuring done -- Generating done -- Build files have been written to: /home/suraj/Player_Stage/Stage-3.1.0-Source root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake . > test_install.txt * WebSim not detected. root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake . -- Stage version 3.1.0 -- Operating system is Linux -- Build type RELEASE -- Checking for libtool -- Checking for required libraries... -- * FLTK version 1.1.9 detected via /usr/local/bin/fltk-config -- Checking for optional libraries... -- * Player version 3.0.0-rc1 detected at /usr/local -- checking for one of the modules 'websim' * WebSim not detected. -- Installation path CMAKE_INSTALL_PREFIX=/usr/local -- Configuring libstage -- Configuring libstageplugin -- Configuring done -- Generating done -- Build files have been written to: /home/suraj/Player_Stage/Stage-3.1.0-Source ON doing make I got the following output. root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# make [ 1%] Building CXX object libstage/CMakeFiles/stage.dir/ancestor.o In file included from /usr/include/c++/4.3/ext/hash_map:64, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/ancestor.cc:1: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [ 3%] Building CXX object libstage/CMakeFiles/stage.dir/block.o In file included from /usr/include/c++/4.3/ext/hash_map:64, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.hh:8, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/block.cc:2: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. ^[[A^[[A[ 4%] Building CXX object libstage/CMakeFiles/stage.dir/blockgroup.o In file included from /usr/include/c++/4.3/ext/hash_map:64, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/blockgroup.cc:2: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. . . .( Successfully installed this portion) . [ 61%] Built target stage [ 63%] Building CXX object libstage/CMakeFiles/stagebinary.dir/main.o In file included from /usr/include/c++/4.3/ext/hash_map:64, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50, from /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/main.cc:9: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. Linking CXX executable stage libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::value(int)' libstage.so.3.1.0: undefined reference to `fl_alert(char const*, ...)' libstage.so.3.1.0: undefined reference to `Fl_Shared_Image::get(char const*, int, int)' libstage.so.3.1.0: undefined reference to `Fl::repeat_timeout(double, void (*)(void*), void*)' libstage.so.3.1.0: undefined reference to `vtable for Fl_Box' libstage.so.3.1.0: undefined reference to `Fl_Window::size_range_()' libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::shown()' libstage.so.3.1.0: undefined reference to `Fl_Text_Buffer::text(char const*)' libstage.so.3.1.0: undefined reference to `fl_old_shortcut(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Text_Display::Fl_Text_Display(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl::e_x' libstage.so.3.1.0: undefined reference to `Fl::remove_timeout(void (*)(void*), void*)' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::show()' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::hide()' libstage.so.3.1.0: undefined reference to `Fl_Window::resize(int, int, int, int)' libstage.so.3.1.0: undefined reference to `Fl::wait()' libstage.so.3.1.0: undefined reference to `fl_choice(char const*, char const*, char const*, char const*, ...)' libstage.so.3.1.0: undefined reference to `Fl_Widget::window() const' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::init()' libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::ok_label(char const*)' libstage.so.3.1.0: undefined reference to `Fl_PNG_Image::Fl_PNG_Image(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Text_Buffer::Fl_Text_Buffer(int)' libstage.so.3.1.0: undefined reference to `Fl_Group::begin()' libstage.so.3.1.0: undefined reference to `Fl::scheme(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::draw_overlay()' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()' libstage.so.3.1.0: undefined reference to `Fl_Menu_::Fl_Menu_(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_Text_Buffer::~Fl_Text_Buffer()' libstage.so.3.1.0: undefined reference to `Fl::check()' libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int, char const*)' libstage.so.3.1.0: undefined reference to `vtable for Fl_Gl_Window' libstage.so.3.1.0: undefined reference to `gl_font(int, int)' libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::show()' libstage.so.3.1.0: undefined reference to `Fl_Menu_::global()' libstage.so.3.1.0: undefined reference to `Fl_Shared_Image::release()' libstage.so.3.1.0: undefined reference to `Fl_Window::hide()' libstage.so.3.1.0: undefined reference to `Fl_Widget::label(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::~Fl_File_Chooser()' libstage.so.3.1.0: undefined reference to `Fl_Check_Button::Fl_Check_Button(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_Widget::default_callback(Fl_Widget*, void*)' libstage.so.3.1.0: undefined reference to `Fl::e_keysym' libstage.so.3.1.0: undefined reference to `Fl::delete_widget(Fl_Widget*)' libstage.so.3.1.0: undefined reference to `Fl_Button::Fl_Button(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_Window::flush()' libstage.so.3.1.0: undefined reference to `Fl::e_dy' libstage.so.3.1.0: undefined reference to `gl_draw(char const*)' libstage.so.3.1.0: undefined reference to `typeinfo for Fl_Window' libstage.so.3.1.0: undefined reference to `Fl_Scroll::clear()' libstage.so.3.1.0: undefined reference to `vtable for Fl_Return_Button' libstage.so.3.1.0: undefined reference to `Fl_Widget::Fl_Widget(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_Window::handle(int)' libstage.so.3.1.0: undefined reference to `Fl::add_timeout(double, void (*)(void*), void*)' libstage.so.3.1.0: undefined reference to `Fl_Window::draw()' libstage.so.3.1.0: undefined reference to `Fl::e_y' libstage.so.3.1.0: undefined reference to `Fl_Text_Buffer::insert(int, char const*)' libstage.so.3.1.0: undefined reference to `Fl_Menu_::add(char const*, int, void (*)(Fl_Widget*, void*), void*, int)' libstage.so.3.1.0: undefined reference to `Fl_Window::label(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Widget::redraw()' libstage.so.3.1.0: undefined reference to `Fl_Group::find(Fl_Widget const*) const' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::resize(int, int, int, int)' libstage.so.3.1.0: undefined reference to `Fl_Scroll::Fl_Scroll(int, int, int, int, char const*)' libstage.so.3.1.0: undefined reference to `Fl::e_state' libstage.so.3.1.0: undefined reference to `Fl_Window::Fl_Window(int, int, char const*)' libstage.so.3.1.0: undefined reference to `gl_draw(char const*, int, int, int, int, Fl_Align)' libstage.so.3.1.0: undefined reference to `vtable for Fl_Menu_Bar' libstage.so.3.1.0: undefined reference to `gl_height()' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::make_current()' libstage.so.3.1.0: undefined reference to `Fl::e_number' libstage.so.3.1.0: undefined reference to `Fl_Group::end()' libstage.so.3.1.0: undefined reference to `fl_register_images()' libstage.so.3.1.0: undefined reference to `Fl_File_Chooser::Fl_File_Chooser(char const*, char const*, int, char const*)' libstage.so.3.1.0: undefined reference to `fl_height()' libstage.so.3.1.0: undefined reference to `typeinfo for Fl_Gl_Window' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::invalidate()' libstage.so.3.1.0: undefined reference to `Fl_Button::value(int)' libstage.so.3.1.0: undefined reference to `gl_width(char const*)' libstage.so.3.1.0: undefined reference to `Fl_Gl_Window::flush()' libstage.so.3.1.0: undefined reference to `Fl_Text_Display::buffer(Fl_Text_Buffer*)' libstage.so.3.1.0: undefined reference to `Fl_Window::~Fl_Window()' libstage.so.3.1.0: undefined reference to `Fl_Window::show()' collect2: ld returned 1 exit status make[2]: *** [libstage/stage] Error 1 make[1]: *** [libstage/CMakeFiles/stagebinary.dir/all] Error 2 make: *** [all] Error 2 root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# Thankyou in advance. Suraj Swami. =================================================================== The previous conversation. I am able to build the latest stage svn trunk with gcc 4.3 without any errors, so I dont think it is gcc 4.3 sepcifically. Can you describe more of the setup? Toby 2009/7/27 Richard Vaughan <rtv...@gm...> > X11 seems to be declaring a global variable called "Region", while > Stage has a class called Stg::Region. GCC 4.3 seems to have a problems > with this. Does anyone know a good way to work around this? > > Richard/ > > On Sun, Jul 26, 2009 at 12:34 PM, Suraj Swami<sur...@gm...> > wrote: > > Hi, > > > > I am trying to install stage-3.1.0. I am having the following > difficulties. > > > > Here are the details about installation steps. > > > > root@suraj-laptop:~/Player_Stage/Stage-3.1.0-Source# cmake . > > -- Stage version 3.1.0 > > -- Operating system is Linux > > -- Build type RELEASE > > -- Checking for libtool > > -- Checking for required libraries... > > -- * FLTK version 1.1.1 detected via /usr/local/bin/fltk-config > > -- Checking for optional libraries... > > -- * Player version 3.0.0-rc1 detected at /usr/local > > -- checking for one of the modules 'websim' > > * WebSim not detected. > > -- Installation path > > CMAKE_INSTALL_PREFIX=/suraj/Player_Stage/Stage-3.1.0-Source > > -- Configuring libstage > > -- Configuring libstageplugin > > -- Configuring done > > -- Generating done > > -- Build files have been written to: > > /home/suraj/Player_Stage/Stage-3.1.0-Source > > > > > > > > On doing make > > > > [ 1%] Building CXX object libstage/CMakeFiles/stage.dir/region.o > > In file included from /usr/include/c++/4.3/ext/hash_map:64, > > from > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/stage.hh:50, > > from > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.hh:8, > > from > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:7: > > /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning > > This file includes at least one deprecated or antiquated header which may > be > > removed without further notice at a future date. Please use a > non-deprecated > > interface with equivalent functionality instead. For a listing of > > replacement headers and interfaces, consult the file backward_warning.h. > To > > disable this warning use -Wno-deprecated. > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:14: error: > > reference to ?Region? is ambiguous > > /usr/include/X11/Xutil.h:267: error: candidates are: typedef struct > > _XRegion* Region > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.hh:63: > > error: class Stg::Region > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:14: error: > > ISO C++ forbids declaration of ?Region? with no type > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc: In > function > > ?int Region()?: > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:14: error: > > ?int Region()? redeclared as different kind of symbol > > /usr/include/X11/Xutil.h:267: error: previous declaration of ?typedef > struct > > _XRegion* Region? > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:14: error: > > only constructors take base initializers > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:18: > warning: > > no return statement in function returning non-void > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc: At global > > scope: > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:20: error: > > reference to ?Region? is ambiguous > > /usr/include/X11/Xutil.h:267: error: candidates are: typedef struct > > _XRegion* Region > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.hh:63: > > error: class Stg::Region > > /home/suraj/Player_Stage/Stage-3.1.0-Source/libstage/region.cc:20: error: > > expected constructor, destructor, or type conversion before ?::? token > > make[2]: *** [libstage/CMakeFiles/stage.dir/region.o] Error 1 > > make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2 > > make: *** [all] Error 2 > > > > > > > > Earlier I tried using higher version of FLTK eg FLTK-1.1.9 then the > make > > gave error at 64%. > > > > Please suggest some trouble shooting steps. Whilch version FLTK do I need > to > > install. Or am I missing something else. > > > > Thank you. > > > > |