[pulseaudio-discuss] webrtc compile problem

Per Gunnarsson p.gunnarsson at yahoo.com
Mon Jan 8 06:27:43 UTC 2018


Hello!

I am trying to compile webrtc on FreeBSD 11.1-RELEASE-p4.

When I try to make, I get:

Making all in webrtc
Making all in .
Making all in base
   CXX      libbase_la-criticalsection.lo
criticalsection.cc: In constructor 
'rtc::CriticalSection::CriticalSection()':
criticalsection.cc:24:23: error: 'mutex_' was not declared in this scope
    pthread_mutex_init(&mutex_, &mutex_attribute);
                        ^~~~~~
criticalsection.cc: In destructor 
'rtc::CriticalSection::~CriticalSection()':
criticalsection.cc:35:26: error: 'mutex_' was not declared in this scope
    pthread_mutex_destroy(&mutex_);
                           ^~~~~~
criticalsection.cc: In member function 'void rtc::CriticalSection::Enter()':
criticalsection.cc:43:23: error: 'mutex_' was not declared in this scope
    pthread_mutex_lock(&mutex_);
                        ^~~~~~
criticalsection.cc: In member function 'bool 
rtc::CriticalSection::TryEnter()':
criticalsection.cc:60:30: error: 'mutex_' was not declared in this scope
    if (pthread_mutex_trylock(&mutex_) != 0)
                               ^~~~~~
criticalsection.cc: In member function 'void rtc::CriticalSection::Leave()':
criticalsection.cc:85:25: error: 'mutex_' was not declared in this scope
    pthread_mutex_unlock(&mutex_);
                          ^~~~~~
*** Error code 1

Stop.
make[2]: stopped in 
/home/per/tmp/test/webrtc-audio-processing-0.3/webrtc/base
*** Error code 1

Stop.
make[1]: stopped in /home/per/tmp/test/webrtc-audio-processing-0.3/webrtc
*** Error code 1

Stop.
make: stopped in /home/per/tmp/test/webrtc-audio-processing-0.3



More information about the pulseaudio-discuss mailing list