2011-04-28 11:25:38

by Mika Linnanoja

[permalink] [raw]
Subject: latest bluetooth-next doesn't compile

Hi!

I cloned today
git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next-2.6.git
and seems it does not want to fully compile.

Steps were like this:
$ git clone <url>
$ cd <git_dir>
$ cp /boot/old_config_file .config
$ make oldconfig (default answers)
$ make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC [M] net/bluetooth/cmtp/core.o
net/bluetooth/cmtp/core.c: In function ?cmtp_add_connection?:
net/bluetooth/cmtp/core.c:349: error: ?struct l2cap_pinfo? has no member named
?omtu?
net/bluetooth/cmtp/core.c:349: error: ?struct l2cap_pinfo? has no member named
?imtu?
make[3]: *** [net/bluetooth/cmtp/core.o] Error 1
make[2]: *** [net/bluetooth/cmtp] Error 2
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2
$

Is this a known issue? I have not tried to build this exact tree before.

BR,
Mika


2011-04-28 14:35:41

by Gustavo Padovan

[permalink] [raw]
Subject: Re: latest bluetooth-next doesn't compile

Hi Mika,

* Mika Linnanoja <[email protected]> [2011-04-28 14:25:38 +0300]:

> Hi!
>
> I cloned today
> git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next-2.6.git
> and seems it does not want to fully compile.
>
> Steps were like this:
> $ git clone <url>
> $ cd <git_dir>
> $ cp /boot/old_config_file .config
> $ make oldconfig (default answers)
> $ make
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> UPD include/generated/compile.h
> CC init/version.o
> LD init/built-in.o
> VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> LD arch/x86/built-in.o
> CC [M] net/bluetooth/cmtp/core.o
> net/bluetooth/cmtp/core.c: In function ‘cmtp_add_connection’:
> net/bluetooth/cmtp/core.c:349: error: ‘struct l2cap_pinfo’ has no member named
> ‘omtu’
> net/bluetooth/cmtp/core.c:349: error: ‘struct l2cap_pinfo’ has no member named
> ‘imtu’
> make[3]: *** [net/bluetooth/cmtp/core.o] Error 1
> make[2]: *** [net/bluetooth/cmtp] Error 2
> make[1]: *** [net/bluetooth] Error 2
> make: *** [net] Error 2
> $
>
> Is this a known issue? I have not tried to build this exact tree before.

linux-next spotted this to me yesterday. I fixed it already. I didn't have
CONFIG_HID and CONFIG_ISDN_CAPI enabled so I was unable to see this. Sorry.

--
Gustavo F. Padovan
http://profusion.mobi