undefined reference to `strndup'

Kyle zeranoe at gmail.com
Tue Jul 16 21:42:17 PDT 2013


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?

Best regards,
   Kyle


More information about the gstreamer-devel mailing list