Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#134 rezound-0.12.3beta doesn't compile on CentOS/RHEL 5.3

closed-fixed
Davy Durham
5
2010-02-27
2009-08-16
Anonymous
No

Hello,

I have this compile error:

In file included from ../../src/misc/TMemoryPipe.h:97,
from CSoundPlayerChannel.h:33,
from ASoundPlayer.cpp:29:
../../src/misc/TMemoryPipe.cpp:59:2: warning: #warning need to do something to prevent this data from getting swapped to disk (for JACK)
CPortAudioSoundPlayer.h:48: error: ISO C++ forbids declaration of 'PortAudioStream' with no type
CPortAudioSoundPlayer.h:48: error: expected ';' before '*' token
CPortAudioSoundPlayer.h:51: error: 'PaTimestamp' has not been declared
make[3]: *** [ASoundPlayer.lo] Error 1
make[3]: Leaving directory `/mnt/raid/sources/devel/rezound-0.12.3beta/src/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/raid/sources/devel/rezound-0.12.3beta/src/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/raid/sources/devel/rezound-0.12.3beta/src'
make: *** [all-recursive] Error 1

in the file CPortAudioSoundPlayer.h I can see this:

...
30 #include <portaudio.h>
...
...
46 private:
47 bool initialized;
48 PortAudioStream *stream;
49 bool supportsFullDuplex;
50
51 static int PortAudioCallback(void *inputBuffer,void *outputBuffer,unsigned long framesPerBuffer,PaTimestamp outTime,void *userData);

When I search for "PortAudioStream" or "PaTimestamp" in portaudio.h, there are no results..:

$ egrep -i 'PortAudioStream|PaTimestamp' /usr/include/portaudio.h
$

$ rpm -q portaudio portaudio-devel
portaudio-19-8.el5
portaudio-devel-19-8.el5

$ uname -a; cat /etc/redhat-release
Linux cheeky 2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:39:56 EDT 2009 i686 athlon i386 GNU/Linux
CentOS release 5.3 (Final)

Please contact me at marek ( DOT ) schimara ( AT ) gmail ( DOT ) com for more info/logs.

Discussion

  • Davy Durham
    Davy Durham
    2010-02-24

    Could you possibly check out from svn.. I have fixed several things since the last release.

    Please report back if the issue is fixed.

     
  • Davy Durham
    Davy Durham
    2010-02-24

    • assigned_to: nobody --> ddurham
     
  • Davy Durham
    Davy Durham
    2010-02-27

    • status: open --> closed-fixed