! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compile stopped on parse error before * in xfmedia-internal.h file
Status:
RESOLVED: FIXED
Severity:
blocker
Product:
Xfmedia
Component:
general

Comments

Description Ilkka Ollakka 2004-12-13 17:08:27 CET
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
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-12-13 19:57:40 CET
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).
Comment 2 Ilkka Ollakka 2004-12-13 20:04:36 CET
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

Bug #592

Reported by:
Ilkka Ollakka
Reported on: 2004-12-13
Last modified on: 2004-12-13

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information