After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629848 - build problem with current gtk+: implicit declaration of function 'gdk_draw_rectangle', GtkStyle' has no member named 'black_gc'
build problem with current gtk+: implicit declaration of function 'gdk_draw_r...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.30
Other Linux
: Normal normal
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-16 13:42 UTC by Götz Waschk
Modified: 2010-09-16 13:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Götz Waschk 2010-09-16 13:42:09 UTC
This is on Mandriva Cooker with gtk+ 2.21.8 and gst-plugins-base 0.10.30:

gcc -DHAVE_CONFIG_H -I. -I../../..    -I../../../gst-libs -I../../../gst-libs -I../../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs   -g    -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/lib/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -c seek.c
seek.c: In function 'handle_expose_cb':
seek.c:2455:5: warning: implicit declaration of function 'gdk_draw_rectangle'
seek.c:2455:5: warning: nested extern declaration of 'gdk_draw_rectangle'
seek.c:2455:38: error: 'GtkStyle' has no member named 'black_gc'
make: *** [seek.o] Error 1
Comment 1 Tim-Philipp Müller 2010-09-16 13:50:36 UTC
I believe this is fixed in git:

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=c1982cd6fe7ed111ee85d8e9b85365ecf72ccaf4

commit c1982cd6fe7ed111ee85d8e9b85365ecf72ccaf4
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sat Jul 24 11:48:33 2010 +0200

    examples: Use cairo instead of to-be-deprecated GDK API
    
    Fixes bug #625001.

Please re-open if this still happens with git of -base, thanks.