Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.3, 4.7.1
-
None
-
fb96047
Description
The following compile error occurs when building qt without alsa-devel package installed:
g++ -c -m32 -pipe -fno-exceptions -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_MULTIMEDIA_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DHAS_ALSA -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-32 -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../include/QtMultimedia -I.rcc/debug-shared -Ivideo -I.moc/debug-shared -o .obj/debug-shared/qaudiodeviceinfo_alsa_p.o audio/qaudiodeviceinfo_alsa_p.cpp
audio/qaudiodeviceinfo_alsa_p.cpp:409: warning: unused parameter 'mode'
audio/qaudiodeviceinfo_alsa_p.cpp: In member function 'void QAudioDeviceInfoInternal::checkSurround()':
audio/qaudiodeviceinfo_alsa_p.cpp:504: error: 'snd_device_name_hint' was not declared in this scope
audio/qaudiodeviceinfo_alsa_p.cpp:510: error: 'snd_device_name_get_hint' was not declared in this scope
audio/qaudiodeviceinfo_alsa_p.cpp:532: error: 'snd_device_name_free_hint' was not declared in this scope
make: *** [.obj/debug-shared/qaudiodeviceinfo_alsa_p.o] Fehler 1
Because the code in QAudioDeviceInfoInternal::checkSurround is not correctly wrapped with the macro