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 134750 - Problem building gst-plugins on Solaris
Problem building gst-plugins on Solaris
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.7.4
Other opensolaris
: High normal
: 0.7.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-18 15:40 UTC by padraig.obriain
Modified: 2005-08-15 01:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description padraig.obriain 2004-02-18 15:40:21 UTC
I have a problem building gst-plugins on Solaris.

The file which causes the problem is gst/mpdplug/gstplug.cc.

The problem seems to be that GST_FUNCTION is defined to be __func__ because
that was what happened when I built gstreamer. However my C++ compiler
barfs on __func__.

Could GST_FUNCTION be omitted entirely and replace by G_STRFUNC as that is
what I did to get it to build
Comment 1 alexander.winston 2004-02-19 01:58:59 UTC
Adding the portability keyword and upgrading the priority to high
because of the build issues.
Comment 2 David Schleef 2004-02-19 02:13:38 UTC
G_STRFUNC is only in glib-2.4, so I copied the implementation.  It
makes sense, and seems to work.  I'm just worried that we'll end up
with "???" in places where we used to have a function name.  Could you
check that G_STRFUNC works correctly with the Solaris C (not C++)
compiler?
Comment 3 padraig.obriain 2004-02-19 08:56:54 UTC
G_STRFUNC works correctly with the C compiler. It is defined to be
__func__.
Comment 4 David Schleef 2004-02-19 20:10:13 UTC
Ok.  Then I like the change.  Checking in.