if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\" - DLIBDIR=\"/usr/local/lib\" -DSYSCONFDIR=\"/usr/local/etc\" -I.. -I../libexo-lite -I/usr/X11R6/include -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/ include -I/usr/include/xfce4 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk- 2.0/include -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 -I/opt/gnome/include/atk-1.0 -I/usr/include/xfce4 - pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -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 -g -O2 -MT xfmedia-main.o -MD -MP -MF ".deps/xfmedia-main.Tpo" -c -o xfmedia-main.o `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/xfmedia-main.Tpo" ".deps/xfmedia-main.Po"; else rm -f ".deps/ xfmedia-main.Tpo"; exit 1; fi In file included from main.c:73: xfmedia-internal.h:59: error: parse error before '*' token make[2]: *** [xfmedia-main.o] Error 1 make[2]: Leaving directory `/tmp/xfmedia-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/xfmedia-0.5.0' make: *** [all] Error 2 gcc 3.3.3 SuSE 9.1 x86 gtk2 2.2.4 libxine1-devel 1 rc7 Reproducible: Always Steps to Reproduce: 1. ./configure 2. make 3. Actual Results: gives error describet earlier Expected Results: compile
hmm, looks like gtk 2.2 is the culprit. try adding: #if !GTK_CHECK_VERSION(2, 4, 0) #include "my-gtkexpander.h" #endif to the top of src/xfmedia-internal.h, right under the last #include statement (line 30, i think).
Yep, it did the trik. But now it complaining on GTK_STOCK_FILE undeclared on xfmedia_playlist_add_cb on file playlist-callbacks.c. Also that maybe 'cause gtk 2.2