undefined reference to `strndup'
Tim-Philipp Müller
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:
Hi,
> 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:
> <http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/gst/subparse/samiparse.c?id=f597efe24b010bf50ea7f7ebcae92fb293df3167>
>
>
> 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.
Cheers
-Tim
More information about the gstreamer-devel
mailing list