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 653172 - Compilation fails when PR_SET_NAME is not defined in prctl.h
Compilation fails when PR_SET_NAME is not defined in prctl.h
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other Linux
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-22 14:54 UTC by Emmanuel Pacaud
Modified: 2011-06-25 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (367 bytes, patch)
2011-06-22 14:54 UTC, Emmanuel Pacaud
none Details | Review

Description Emmanuel Pacaud 2011-06-22 14:54:44 UTC
Created attachment 190441 [details] [review]
patch

On RHEL4, gstreamer fails to compile cleanly because PR_SET_NAME is not defined in prctl.h.

The attached patch fixes this issue. I'm not sure it is acceptable as is, as it uses defined in the #if statement.
Comment 1 David Schleef 2011-06-25 20:54:51 UTC
commit 156583a69c86cfb222a7bcfb2e0d00b34a91344a
Author: Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
Date:   Sat Jun 25 13:51:52 2011 -0700

    task: Check for PR_SET_NAME before using
    
    Fixes: #653172.
    
    Signed-off-by: David Schleef <ds@schleef.org>