compile error
  • Ok i made sure i had all the things from the developers section and have postgresql setup and working but i'm getting the same error now:

    ../../gtk/gtkmm/radioaction.h:101: error: declaration of 'typedef class Gtk::RadioButtonGroup Gtk::RadioAction::Group'
    ../../gtk/gtkmm/radioaction.h:88: error: conflicts with previous declaration 'typedef class Gtk::RadioButtonGroup Gtk::RadioAction::Group'
    make[7]: *** [radioaction.lo] Error 1
    make[7]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk/gtkmm'
    make[6]: *** [all-recursive] Error 1
    make[6]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk/gtkmm'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk'
    make[4]: *** [all] Error 2
    make[4]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5'
    make[1]: *** [tmp/all.stamp] Error 2
    make[1]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5'
    make: *** [tmp/tools_setup.stamp] Error 2
    Done.

    so i commented out those lines and got:
    ../../gtk/gtkmm/radioaction.h:92: error: expected `)' before '&' token
    ../../gtk/gtkmm/radioaction.h:98: error: 'Group' has not been declared
    ../../gtk/gtkmm/radioaction.h:99: error: 'Group' has not been declared
    ../../gtk/gtkmm/radioaction.h:108: error: 'Group' does not name a type
    ../../gtk/gtkmm/radioaction.h:109: error: 'Group' has not been declared
    radioaction.cc:29: error: 'Group' in class 'Gtk::RadioAction' does not name a type
    radioaction.cc:34: error: expected `)' before '&' token
    radioaction.cc:42: error: 'Glib::RefPtr Gtk::RadioAction::create' is not a static member of 'class Gtk::RadioAction'
    radioaction.cc:42: error: 'Group' was not declared in this scope
    radioaction.cc:42: error: 'group' was not declared in this scope
    radioaction.cc:42: error: expected primary-expression before 'const'
    radioaction.cc:42: error: expected primary-expression before 'const'
    radioaction.cc:42: error: expected primary-expression before 'const'
    radioaction.cc:43: error: expected ',' or ';' before '{' token
    radioaction.cc:47: error: 'Glib::RefPtr Gtk::RadioAction::create' is not a static member of 'class Gtk::RadioAction'
    radioaction.cc:47: error: 'Group' was not declared in this scope
    radioaction.cc:47: error: 'group' was not declared in this scope
    radioaction.cc:47: error: expected primary-expression before 'const'
    radioaction.cc:47: error: expected primary-expression before 'const'
    radioaction.cc:47: error: expected primary-expression before 'const'
    radioaction.cc:47: error: expected primary-expression before 'const'
    radioaction.cc:48: error: expected ',' or ';' before '{' token
    radioaction.cc:52: error: variable or field 'set_group' declared void
    radioaction.cc:52: error: 'int Gtk::RadioAction::set_group' is not a static member of 'class Gtk::RadioAction'
    radioaction.cc:52: error: 'Group' was not declared in this scope
    radioaction.cc:52: error: 'group' was not declared in this scope
    radioaction.cc:53: error: expected ',' or ';' before '{' token
    radioaction.cc:233: error: 'Group' does not name a type
    make[7]: *** [radioaction.lo] Error 1
    make[7]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk/gtkmm'
    make[6]: *** [all-recursive] Error 1
    make[6]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk/gtkmm'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk'
    make[4]: *** [all] Error 2
    make[4]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5/gtk'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5/tmp/gtkmm-2.5.5'
    make[1]: *** [tmp/all.stamp] Error 2
    make[1]: Leaving directory `/home/Mike/Desktop/livesupport/tools/gtkmm/gtkmm-2.5.5'
    make: *** [tmp/tools_setup.stamp] Error 2
    Done.

    does anybody know anything i can do to fix this? i really want to start using livesupport for my online radio station.

    Thanks

    Mike
  • 1 Comment sorted by

  • I had the same error and I could not go it around in any way... up to the time, when I finally read the LS documentation !

    Read very carefully the file livesupport/doc/install.html, install EVERYTHING what is mentioned there, and then gtkmm will compile.

    Feel free to ask for more details if you need.

    Good luck !