[MPlayer-users] Error: The GUI requires GTK devel packages (which were not found)

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Oct 26 07:30:44 CEST 2012


On 25 Oct 2012, at 09:22, Albretch Mueller <lbrtchx at gmail.com> wrote:
> Actually after installing libgtk2.0-dev:
> ~
> http://packages.debian.org/squeeze/libgtk2.0-dev
> ~
> I then got:
> ~
> undefined reference to `th_brk'
> ~
> Any idea of why this error is happening and how to troubleshoot it?
> ~
> thanks
> lbrtchx
> ~
> $ sudo make
> cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
> -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
> -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99
> -Werror-implicit-function-declaration -O4 -march=native -mtune=native
> -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT  -I/usr/include/freetype2
> -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
> -I/usr/lib/i386-linux-gnu/glib-2.0/include -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/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12   -c -o command.o
> command.c
> ...
> /usr/lib/gcc/i486-linux-gnu/4.6/../../../../lib/libcairo.a(cairo-xlib-screen.o):
> In function `_cairo_xlib_screen_info_get':
> (.text+0x5b9): undefined reference to `XRenderQueryExtension'
> /usr/lib/gcc/i486-linux-gnu/4.6/../../../../lib/libcairo.a(cairo-xlib-screen.o):
> In function `_cairo_xlib_screen_info_get':
> (.text+0x73a): undefined reference to `XRenderFindVisualFormat'
> /usr/lib/gcc/i486-linux-gnu/4.6/../../../../lib/libcairo.a(cairo-xlib-screen.o):
> In function `_cairo_xlib_screen_info_get':
> (.text+0x79e): undefined reference to `XRenderQuerySubpixelOrder'
> /usr/lib/gcc/i486-linux-gnu/4.6/../../../../lib/libpango-1.0.a(libpango_thai_lang_la-thai-lang.o):
> In function `thai_engine_break':
> (.text+0x184): undefined reference to `th_uni2tis'
> /usr/lib/gcc/i486-linux-gnu/4.6/../../../../lib/libpango-1.0.a(libpango_thai_lang_la-thai-lang.o):
> In function `thai_engine_break':
> (.text+0x1d7): undefined reference to `th_brk'
> collect2: ld returned 1 exit status

You didn't give the actually failing gcc command-line.
Did you use --enable-static? That makes such issues quite likely, because with that it's necessary to specify even indirect dependencies and it seems they are missing.
I you did not use that, something went very wrong, MPlayer should be linking against the .so files, not the .a files.


More information about the MPlayer-users mailing list