mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

gmtk_media_tracker.c:97: error: 'GmtkMediaTracker' has no member named 'progress_tip' #472

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile gnome-mplayer

What is the expected output? What do you see instead?

gcc -DHAVE_CONFIG_H -I. -I../..    -fPIC -pthread -I/usr/include/gtk-2.0 
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12   -g -O2 -MT 
libgmtk_a-gmtk_media_tracker.o -MD -MP -MF 
.deps/libgmtk_a-gmtk_media_tracker.Tpo -c -o libgmtk_a-gmtk_media_tracker.o 
`test -f 'gmtk_media_tracker.c' || echo './'`gmtk_media_tracker.c
gmtk_media_tracker.c: In function 'gmtk_media_tracker_init':
gmtk_media_tracker.c:97: error: 'GmtkMediaTracker' has no member named 
'progress_tip'
gmtk_media_tracker.c:98: error: 'GmtkMediaTracker' has no member named 
'progress_tip'
gmtk_media_tracker.c: In function 'gmtk_media_tracker_motion_notify':
gmtk_media_tracker.c:203: error: 'GmtkMediaTracker' has no member named 
'progress_tip'
make[3]: *** [libgmtk_a-gmtk_media_tracker.o] Error 1

What version of the product are you using? On what operating system?

gnome-mplayer svn 1808
CentOS 5

Original issue reported on code.google.com by thomasc...@gmail.com on 16 Dec 2010 at 8:29

GoogleCodeExporter commented 8 years ago
I adapted a patch I found from 
http://orion.lcg.ufrj.br/RPMS/src/rhel5/gnome-mplayer-1.0.0-11.el5.src.rpm and 
it seems to compile.  Haven't tested running it yet.

Original comment by thomasc...@gmail.com on 16 Dec 2010 at 8:45

Attachments:

GoogleCodeExporter commented 8 years ago
You must be running a really old version of GTK, I did put a patch in for SVN 
r1811 that fixes the error you mentioned. 

r1812 fixes the other error found in the patch. Be aware that these older 
version of GTK may not be supported in the future.

Original comment by kdeko...@gmail.com on 16 Dec 2010 at 8:51

GoogleCodeExporter commented 8 years ago
Unfortunately this old GTK version is what's provided under CentOS/RHEL 5 (the 
latest enterprise version).

Running into some other errors now.

gcc -Wall -g    -DHAVE_ASOUNDLIB -DHAVE_GCONF -DNOTIFY_ENABLED   -g -O2   -o 
gnome-mplayer gui.o playlist.o support.o mntent_compat.o main.o 
dbus-interface.o thread.o libgmtk/libgmtk.a libgmlib/libgmlib.a -lm -lX11   
-pthread -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl 
-lgthread-2.0 -lrt -lglib-2.0    -L/lib64 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 
-lglib-2.0   -pthread -L/lib64 -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl 
-lgthread-2.0 -lrt -lglib-2.0   -lasound   -L/lib64 -lnotify -lgtk-x11-2.0 
-ldbus-glib-1 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 
-lpango-1.0 -lcairo -lgmodule-2.0 -ldl -ldbus-1 -lgobject-2.0 -lglib-2.0     
-lXss
libgmtk/libgmtk.a(libgmtk_a-gmtk_media_tracker.o): In function 
`gmtk_media_tracker_set_cache_percentage':
/usr/src/redhat/BUILD/gnome-mplayer-1.0.0.svn1812/src/libgmtk/gmtk_media_tracker
.c:246: undefined reference to `gtk_range_set_show_fill_level'
/usr/src/redhat/BUILD/gnome-mplayer-1.0.0.svn1812/src/libgmtk/gmtk_media_tracker
.c:251: undefined reference to `gtk_range_set_restrict_to_fill_level'
/usr/src/redhat/BUILD/gnome-mplayer-1.0.0.svn1812/src/libgmtk/gmtk_media_tracker
.c:250: undefined reference to `gtk_range_set_show_fill_level'
/usr/src/redhat/BUILD/gnome-mplayer-1.0.0.svn1812/src/libgmtk/gmtk_media_tracker
.c:252: undefined reference to `gtk_range_set_fill_level'
collect2: ld returned 1 exit status
make[3]: *** [gnome-mplayer] Error 1

Original comment by thomasc...@gmail.com on 16 Dec 2010 at 9:13

GoogleCodeExporter commented 8 years ago
Again, old GTK issues... r1813 should fix that. Normally, I only check to see 
if a function is available under GTK 2.12 to see if I need to worry about it.

Original comment by kdeko...@gmail.com on 16 Dec 2010 at 9:27

GoogleCodeExporter commented 8 years ago
It compiles now.  Much appreciated.

Original comment by thomasc...@gmail.com on 16 Dec 2010 at 11:26