Compile Error on SuSE 9.1 x86_32

Help
2005-12-06
2013-05-13
  • Charlie Smith

    Charlie Smith - 2005-12-06

    Mplayer compiled, installed and working.

    MPlayer Plugin compile error when using gtk2

    Ran configure with this command:

    --with-gecko-sdk=/usr/local/src/gecko-sdk --enable-gtk2 --enable-wmp --enable-qt --enable-rm

    No problems

    Ran make and got this error:

    g++ -c -o plugin-ui.o -Wall -g -O2  -I/usr/X11R6/include  -g -O2  -DXP_UNIX -DMOZ_X11 -I/usr/local/src/gecko-sdk -I/usr/local/src/gecko-sdk/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -DGTK_ENABLED Source/plugin-ui.cpp
    Source/plugin-ui.cpp: In function `gboolean gtkgui_drawMediaProgress(void*)':
    Source/plugin-ui.cpp:1550: warning: zero-length printf format string
    Source/plugin-ui.cpp:1550: warning: zero-length printf format string
    Source/plugin-ui.cpp: In function `void menuitem_config_callback(GtkMenuItem*, nsPluginInstance*)':
    Source/plugin-ui.cpp:2176: error: `gtk_combo_box_entry_new_text' undeclared
       (first use this function)
    Source/plugin-ui.cpp:2176: error: (Each undeclared identifier is reported only once for each function it appears in.)
    Source/plugin-ui.cpp:2178: error: `GTK_COMBO_BOX' undeclared (first use this function)
    Source/plugin-ui.cpp:2178: error: `gtk_combo_box_append_text' undeclared (first use this function)
    Source/plugin-ui.cpp:2184: error: `gtk_combo_box_set_active' undeclared (first use this function)
    Source/plugin-ui.cpp:2191: error: `gtk_combo_box_get_active' undeclared (first use this function)
    make: *** [plugin-ui.o] Error 1

    MPlayer Plugin compile okay when using x

    Ran configure with this command:

    --with-gecko-sdk=/usr/local/src/gecko-sdk --enable-x --enable-wmp --enable-qt --enable-rm

    No problems

    Ran make and got NO errors

    Copied *so and *xpt to specified directories
    for Firefox and ran tests on MPlayer Plugin
    homepage.  Tests ran without problems.

    Have installed all gtk2 packages that SuSE
    has on install cds.

    Any ideas?

    Thanks

     
    • Kevin DeKorte

      Kevin DeKorte - 2005-12-06

      You GTK2 is too old. According to the docs that function is available in GTK2 2.4

      I'll see if I can do a workaround.

       
    • Kevin DeKorte

      Kevin DeKorte - 2005-12-06

      I put a change into CVS that should allow you to compile and run now. I have just taken some features out for GTK2 < 2.4

       
    • Charlie Smith

      Charlie Smith - 2005-12-07

      I've just pulled the everything from CVS and
      will give it a try later this afternoon at home.

      Many thanks.  I guess I really need to upgrade
      my OS.

       
    • Charlie Smith

      Charlie Smith - 2005-12-08

      I tried compiling v3.17 with --enable-gtk2 but it ends up setting it to --enable-x because my version
      of GTK+ is 2.2.0.

      I guess I really do need to to upgrade my OS.  I
      know I could try just upgrading GTK+ but I've been
      thru the package dependency thing too many times
      before.

      Thanks again for the effort.  Hopefully it will
      help someone else in the future.

       
      • Kevin DeKorte

        Kevin DeKorte - 2005-12-08

        Did you actually try it.. the messages from configure might be a little misleding...

        I should work in GTK mode, but just with a couple of features disabled.

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks