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

Arun Raghavan arun.raghavan at collabora.co.uk
Thu Mar 24 22:40:54 PDT 2011


On Thu, 2011-03-24 at 23:20 +0100, Paul Menzel wrote:
> 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: 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'

I'm guessing that you've patched sbc_math.h with my earlier patch? If
yes, looks like you need to add a

#include "sbc_tables.h"

in sbc_primitives.h since it depends on some defines from that file. I
guess this ends up happening in all the other instances where that file
is used. In the mean time, I'll try to unbreak my cross-compile
environment so I can test this stuff locally as well.

Cheers,
Arun




More information about the pulseaudio-discuss mailing list