[PD-dev] [ pure-data-Bugs-2865481 ] gripd fails to compile on gcc > 4.2.x

SourceForge.net noreply at sourceforge.net
Wed Feb 10 03:20:18 CET 2010


Bugs item #2865481, was opened at 2009-09-24 02:24
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2865481&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
>Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: tmurder (tmurder)
Assigned to: Nobody/Anonymous (nobody)
Summary: gripd fails to compile on gcc > 4.2.x

Initial Comment:
The autobuild process doesn't even try to build it, or install anything beyond some text files and help patches.
Please see attached patches which allow my gcc-4.3.2 to compile.
1) Array.cpp uses some members of a base class (Collection) without dependent context. "this->" applied liberally.
2) Sequencer_alsa.h defined some members with an extra Sequencer_alsa:: qualifier---unneeded.
3) MidiInPort_{oss,alsa}.h have functions which call upon a friend function which is not defined within the scope of the relevant MidiInPort class. Thus, the function is not within the scope of the class. Just added a declaration in the relevant header file. Alternatively, -ffriend-injection may be passed to gcc. This topic was obscure to me, see link for discussion: http://gcc.gnu.org/ml/gcc-help/2007-05/msg00222.html
Solution inferred from here: http://gcc.gnu.org/gcc-4.1/changes.html

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2010-02-10 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-01-26 23:49

Message:
here's the commit:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=13104

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-01-26 23:48

Message:
Ok, I applied these and it compiled on Debian/stable, so I checked them in.
 FYI: gripd has no maintainer, and I don't know anything about it.  If you
are a user of it, it would be great if you could maintain it.

----------------------------------------------------------------------

Comment By: tmurder (tmurder)
Date: 2009-09-24 02:29

Message:
And one of those makefiles looks in /usr/include/python2.2 for Python.h
Since the build process is "dumb" I just changed this to
/usr/include/python2.6
Python's distutils may be the solution to find the right path

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2865481&group_id=55736




More information about the Pd-dev mailing list