undefined symbol: PaAlsa_EnableRealtimeScheduling prevents mixx application from opening

Solution 1:

I have just comment(//) lines339 and 340 of file /home/epalxeis/Desktop/mixxx-2.3/src/soundio/sounddeviceportaudio.cpp changing this:

#ifdef __LINUX__
    if (m_deviceTypeId == paALSA) {
        qInfo() << "Enabling ALSA real-time scheduling";
        PaAlsa_EnableRealtimeScheduling(pStream, 1);
    }
#endif

to this:

#ifdef __LINUX__
    if (m_deviceTypeId == paALSA) {
    //    qInfo() << "Enabling ALSA real-time scheduling";
    //    PaAlsa_EnableRealtimeScheduling(pStream, 1);
    }
#endif

and then I ran:

sudo cmake --build build --target install --parallel `nproc`

and now mixxx opens.

I don't know what side effects this custom install may do, so feel free to comment.