[pulseaudio-discuss] modules/bluetooth/sbc/sbc_primitives.h:41:22: error: expected ':', ',', '; ', '}' or '__attribute__' before 'X'

Paul Menzel paulepanter at users.sourceforge.net
Thu Mar 24 15:20:39 PDT 2011


Dear PulseAudio folks,


I get the following error with latest master (a9c8f904).

          CC     libbluetooth_sbc_la-sbc.lo
        In file included from modules/bluetooth/sbc/sbc_primitives_armv6.h:30:0,
                         from modules/bluetooth/sbc/sbc_math.h:27,
                         from modules/bluetooth/sbc/sbc.c:46:
        modules/bluetooth/sbc/sbc_primitives.h:41:22: error: expected ':', ',', ';', '}' or '__attribute__' before 'X'
        modules/bluetooth/sbc/sbc.c: In function 'sbc_synthesize_four':
        modules/bluetooth/sbc/sbc.c:577:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:577:18: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:589:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c: In function 'sbc_synthesize_eight':
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:619:29: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
        modules/bluetooth/sbc/sbc.c:635:51: warning: shadowed declaration is here [-Wshadow]
        modules/bluetooth/sbc/sbc.c: In function 'sbc_analyze_audio':
        modules/bluetooth/sbc/sbc.c:683:14: error: 'struct sbc_encoder_state' has no member named 'X'
        modules/bluetooth/sbc/sbc.c:686:10: error: 'struct sbc_encoder_state' has no member named 'sbc_analyze_4b_4s'
        modules/bluetooth/sbc/sbc.c:698:14: error: 'struct sbc_encoder_state' has no member named 'X'
        modules/bluetooth/sbc/sbc.c:701:10: error: 'struct sbc_encoder_state' has no member named 'sbc_analyze_4b_8s'
        modules/bluetooth/sbc/sbc.c: In function 'sbc_encoder_init':
        modules/bluetooth/sbc/sbc.c:899:15: error: 'struct sbc_encoder_state' has no member named 'X'
        modules/bluetooth/sbc/sbc.c:899:35: error: 'struct sbc_encoder_state' has no member named 'X'
        modules/bluetooth/sbc/sbc.c: In function 'sbc_encode':
        modules/bluetooth/sbc/sbc.c:1073:20: error: 'struct sbc_encoder_state' has no member named 'sbc_enc_process_input_8s_be'
        modules/bluetooth/sbc/sbc.c:1076:20: error: 'struct sbc_encoder_state' has no member named 'sbc_enc_process_input_8s_le'
        modules/bluetooth/sbc/sbc.c:1080:20: error: 'struct sbc_encoder_state' has no member named 'sbc_enc_process_input_4s_be'
        modules/bluetooth/sbc/sbc.c:1083:20: error: 'struct sbc_encoder_state' has no member named 'sbc_enc_process_input_4s_le'
        modules/bluetooth/sbc/sbc.c:1088:18: error: 'struct sbc_encoder_state' has no member named 'X'
        modules/bluetooth/sbc/sbc.c:1094:26: error: 'struct sbc_encoder_state' has no member named 'sbc_calc_scalefactors_j'
        modules/bluetooth/sbc/sbc.c:1099:18: error: 'struct sbc_encoder_state' has no member named 'sbc_calc_scalefactors'
        modules/bluetooth/sbc/sbc.c: In function 'sbc_get_implementation_info':
        modules/bluetooth/sbc/sbc.c:1216:24: error: 'struct sbc_encoder_state' has no member named 'implementation_info'
        modules/bluetooth/sbc/sbc.c:1217:1: warning: control reaches end of non-void function [-Wreturn-type]
        make[3]: *** [libbluetooth_sbc_la-sbc.lo] Error 1
        make[3]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22+git-r11.1-r0+a9c8f904b0c4a03e7bff004c103aa5910f8bea3d/git/src'
        make[2]: *** [all] Error 2
        make[2]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22+git-r11.1-r0+a9c8f904b0c4a03e7bff004c103aa5910f8bea3d/git/src'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22+git-r11.1-r0+a9c8f904b0c4a03e7bff004c103aa5910f8bea3d/git'

I am using OpenEmbedded with `minimal` using EGLIBC or `minimal-uclibc`
using uClibc for `MACHINE = "beagleboard"`.

Unfortunately I do not know what syntax error is causing this.

        modules/bluetooth/sbc/sbc_primitives.h:41:22: error: expected ':', ',', ';', '}' or '__attribute__' before 'X'


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110324/61684ccf/attachment.pgp>


More information about the pulseaudio-discuss mailing list