[Interest] Linker error: undefined reference to symbol 'g_type_check_instance_cast'

Thiago Macieira thiago.macieira at intel.com
Tue Aug 4 01:07:43 CEST 2015


On Monday 03 August 2015 20:50:34 vaishnavi nagarajan wrote:
> sounggst is one of my sources. It includes the gst.h header from
> gstreamer-1.0. That symbol is provided by libgobject-2.0. I have added the
> library in LIBS += as:QMAKE_LIBDIR_FLAGS += -L/usr/lib/x86_64-linux-gnu
> QMAKE_LFLAGS   += -lgmodule-2.0 \                          -lxml2 \       
>                   -lgobject-2.0 \                          -lgthread-2.0 \ 
>                         -lrt \                          -lglib-2.0 \       
>                   -lpthread \                          -lgstreamer-1.0
> 
> I cross verified to make sure the library contains the symbol. I even
> upgraded my system. But still the error persists.

Please confirm that you see -lgobject-2.0 in the linker command-line that make 
prints.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list