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: 

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,

More information about the gstreamer-devel mailing list