GNOME Bugzilla – Bug 96817
0.4.1 fails to build on Solaris [patch included]
Last modified: 2004-12-22 21:47:04 UTC
References to sys_errlist cause a build failure on Solaris/gcc 2.95.3 A simple one line addition fixes this. I don't know what IFDEF I could wrap around this to make it Solaris specific. --- gst/elements/gstfilesink.c Sun Sep 1 08:55:57 2002 +++ gst/elements/gstfilesink.c.fixed Thu Oct 24 10:22:30 2002 @@ -26,6 +26,8 @@ #include "gstfilesink.h" #include <string.h> +extern char *sys_errlist[]; + GstElementDetails gst_filesink_details = { "File Sink", "Sink/File",
char *sys_errlist[int errno] is obsoleted. Use char *strerror(int errno).
Fixed by changing sys_errlist[] to g_strerror() everywhere someone close this.
close