GNOME Bugzilla – Bug 689965
Should depends on pulseaudio 2.0
Last modified: 2012-12-11 10:43:12 UTC
I hit this build error when updating my Shell to master this morning. Configure didn't check that the right version of libpulse was installed. gvc-mixer-control.c:1477:57: error: 'pa_sink_port_info' has no member named 'available' gvc-mixer-control.c:1477:72: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function) gvc-mixer-control.c:1477:72: note: each undeclared identifier is reported only once for each function it appears in gvc-mixer-control.c: At top level: gvc-mixer-control.c:1866:30: error: unknown type name 'pa_card_port_info' gvc-mixer-control.c: In function 'is_card_port_an_output': gvc-mixer-control.c:1889:35: error: 'PA_DIRECTION_OUTPUT' undeclared (first use in this function) gvc-mixer-control.c: In function 'create_ui_device_from_port': gvc-mixer-control.c:1903:49: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function) gvc-mixer-control.c: In function 'update_card': gvc-mixer-control.c:2097:37: error: 'pa_card_info' has no member named 'n_ports' gvc-mixer-control.c:2100:52: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2101:58: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2102:46: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2103:47: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2104:47: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2105:25: warning: implicit declaration of function 'determine_profiles_for_port' [-Wimplicit-function-declaration] gvc-mixer-control.c:2105:75: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2135:45: error: 'pa_card_info' has no member named 'n_ports' gvc-mixer-control.c:2136:69: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2137:73: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2138:76: error: 'pa_card_info' has no member named 'ports' gvc-mixer-control.c:2146:111: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function) gvc-mixer-control.c: In function 'is_card_port_an_output': gvc-mixer-control.c:1890:1: warning: control reaches end of non-void function [-Wreturn-type]
Created attachment 231139 [details] [review] Depend on libpulse 2.0 Commit 3af9f636af23cd59c3d4ce00f3f4a0fdefd36386 introduced a dependency on libpulse 2.0 so best to check for it.
Review of attachment 231139 [details] [review]: Ah, I thought PulseAudio was an assumed part of the platform, being at version 2.0 in the modulesets.
Attachment 231139 [details] pushed as 9c9cf6f - Depend on libpulse 2.0