undefined reference to `strndup'
t.i.m at zen.co.uk
Wed Jul 17 01:02:24 PDT 2013
On Wed, 2013-07-17 at 00:42 -0400, Kyle wrote:
> I'm getting the following error with gst-plugins-base using the latest
> git version:
> .libs/libgstsubparse_la-samiparse.o:samiparse.c:(.text+0x44f): undefined
> reference to `strndup'
> It looks like it was introduced with this commit:
> I'm using MinGW-w64, and strndup is a Unix function that is not
> available on Windows.
> Perhaps some sort of work around could be added?
Thanks, I'll fix it. It should be using g_strndup() anyway.
Things like this are generally best reported in bugzilla though.
More information about the gstreamer-devel