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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-03-25 at 08:07 +0100, Paul Menzel wrote:
> Am Freitag, den 25.03.2011, 11:10 +0530 schrieb Arun Raghavan:
> > On Thu, 2011-03-24 at 23:20 +0100, Paul Menzel wrote:
> 
> > > 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.
> 
> I am sorry. I had still two patches applied (your `sbc_math.h` and a
> revert of 4cd90d9e32ca9a23e3c0f7615974ea0c55ff3e49) which I overlooked.
> 
> > In the mean time, I'll try to unbreak my cross-compile
> > environment so I can test this stuff locally as well.

Gentoo crossdev. dbus-glib ebuild is broken while cross-compiling, so I
couldn't even get bluez. Found a fix, so hoping to make some progress.

-- Arun




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux