GNOME Bugzilla – Bug 145031
gst-player & totem CVS won't compile because of gst-play change (header problem)
Last modified: 2004-12-22 21:47:04 UTC
gst-player : gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -DORBIT2=1 -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I ../../.. -DGLADEUI_DIR=\"/usr/share/gst-player/ui\" -DDATADIR=\"/usr/share\" -O0 -ggdb -Wall -MT libgstplayer_la-gstmediaplay.lo -MD -MP -MF .deps/libgstplayer_la-gstmediaplay.Tpo -c gstmediaplay.c -fPIC -DPIC -o .libs/libgstplayer_la-gstmediaplay.o In file included from gstmediaplay.h:29, from gstmediaplay.c:44: /usr/include/gstreamer-0.8/gst/play/play.h:25:37: gst/play/play-enumtypes.h: No such file or directory gstmediaplay.c: In function `store_tag': gstmediaplay.c:474: warning: suggest parentheses around assignment used as truth value gstmediaplay.c: In function `gst_media_play_signal_idler': gstmediaplay.c:502: warning: suggest parentheses around assignment used as truth value gstmediaplay.c:545: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_got_length': gstmediaplay.c:913: warning: suggest parentheses around assignment used as truth value gstmediaplay.c: In function `gst_media_play_time_tick': gstmediaplay.c:934: warning: implicit declaration of function `gst_control_set_seek_pos' gstmediaplay.c: In function `gst_media_play_class_init': gstmediaplay.c:1118: warning: unused variable `widget_class' gstmediaplay.c: In function `gst_media_play_toggle_mute': gstmediaplay.c:1449: warning: unused variable `muted' gstmediaplay.c: In function `gst_media_play_get_display_mode': gstmediaplay.c:1588: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_get_video_scale_override': gstmediaplay.c:1630: warning: control reaches end of non-void function gstmediaplay.c: In function `gst_media_play_get_video_scale': gstmediaplay.c:1637: warning: `return' with no value, in function returning non-void gstmediaplay.c:1638: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_set_visual': gstmediaplay.c:1658: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_set_effect': gstmediaplay.c:1717: warning: `return' with no value, in function returning non-void gstmediaplay.c:1715: warning: unused variable `vis_videosink_bin' gstmediaplay.c: In function `gst_media_play_get_state': gstmediaplay.c:1802: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_get_location': gstmediaplay.c:1884: warning: `return' with no value, in function returning non-void gstmediaplay.c: In function `gst_media_play_get_volume': gstmediaplay.c:1906: warning: `return' with no value, in function returning non-void gstmediaplay.c: At top level: gstmediaplay.c:325: warning: `animate_control_window' defined but not used totem : gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gstreamer-0.8 -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGCONF_PREFIX=\""/apps/totem"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib"\" -DLOGO_PATH=DATADIR\"\"G_DIR_SEPARATOR_S\"totem\"G_DIR_SEPARATOR_S\"totem_logo.png\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -I/usr/X11R6/include -O2 -c bacon-video-widget-gst.c Dans le fichier inclus à partir de bacon-video-widget-gst.c:26: /usr/include/gstreamer-0.8/gst/play/play.h:25:37: gst/play/play-enumtypes.h : Aucun fichier ou répertoire de ce type
Aucun fichier ou répertoire de ce type => No such file or directory
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/gst-libs/gst/play/Makefile.am?r1=1.11&r2=1.12 The second change subtly removes the header from the installed headers. How the f*ck did this get in the release? Anyway, that whole patch needs some review...
This was fixed: revision 1.14 date: 2004-07-02 10:02:13 +0000; author: thomasvs; state: Exp; lines: +2 -1 clean up install/dist problem