Hi,

august wrote
>
>
> gmerlin compile borks at:
>
> libtool: link: gcc -D_REENTRANT -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DGTK_DISABLE_DEPRECATED
> -I/usr/include/libxml2 -DLOCALE_DIR=\"/usr/local/share/locale\"
> -DPLUGIN_DIR=\"/usr/local/lib/gmerlin/plugins\"
> -DDOC_DIR=\"/usr/local/share/doc/gmerlin\"
> -DDATA_DIR=\"/usr/local/share/gmerlin\" -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -I/usr/local/include -march=nocona -mtune=nocona
> -O3 -funroll-all-loops -fomit-frame-pointer -ffast-math -Wall
> -Wmissing-declarations -Wdeclaration-after-statement
> -I/usr/include/libxml2 -o .libs/cfgtest cfgtest.o
> ../lib/.libs/libgmerlin.so ../lib/gtk/.libs/libgmerlin_gtk.so
> -L/usr/local/lib /usr/local/lib/libgavl.so -pthread
> ../lib/gtk/.libs/libgmerlin_gtk.so: undefined reference to
> `GTK_WIDGET_REALIZED'
> ../lib/gtk/.libs/libgmerlin_gtk.so: undefined reference to
> `GTK_WIDGET_TOPLEVEL'
> collect2: ld returned 1 exit status
> make[1]: *** [cfgtest] Error 1
> make[1]: Leaving directory `/home/august/Downloads/gmerlin/tests'
> make: *** [all-recursive] Error 1
>
> -------------------------
>
>
> Seems the tewo calls have been deprecated:
>
> you need gtk_widget_is_toplevel()  and gtk_widget_get_realized()
>
>
>
> replacing the two fixes it.
>

Thanks for the report. Got a backward compatible solution in my local
tree. Will apply shortly (I have to hunt down another bug first)

Burkhard


------------------------------------------------------------------------------

_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to