After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 96817 - 0.4.1 fails to build on Solaris [patch included]
0.4.1 fails to build on Solaris [patch included]
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.4.1
Other Solaris
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-10-25 17:34 UTC by fernando
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description fernando 2002-10-25 17:34:38 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",
Comment 1 Ronald Bultje 2002-10-25 22:27:54 UTC
char *sys_errlist[int errno] is obsoleted. Use char *strerror(int errno).
Comment 2 David Schleef 2002-10-25 23:57:20 UTC
Fixed by changing sys_errlist[] to g_strerror() everywhere

someone close this.
Comment 3 Ronald Bultje 2002-10-26 08:45:58 UTC
close