[gst-devel] linking problem when compiling with msys/mingw

Vincent Torri vtorri at univ-evry.fr
Tue Aug 8 17:24:17 CEST 2006


hello,

i'm using msys 1.0.11 and mingw 5.0.3. I use cvs source code.

First, in gstinfo.h, thanks to Tim, i had to change

  extern _declspec (dllimport) GstDebugCategory *cat;

to

  extern __declspec(dllimport) GstDebugCategory *cat

  (two underscores before declspec; semicolon at end removed)

in order for gsttypefind.c to compile.

Then, I have those undefined references:

  undefined reference to `_imp__GST_CAT_CAPS'
or
undefined reference to `_imp__GST_CAT_REFCOUNTING'

Does someone have an idea about the problem ?

thank you

Vincent Torri




More information about the gstreamer-devel mailing list