Linux bluetooth development
 help / color / mirror / Atom feed
* Compile failure
@ 2011-07-10 14:10 Mickael Chazaux
  2011-07-11 13:05 ` Lucas De Marchi
  2011-07-11 14:37 ` Gustavo Padovan
  0 siblings, 2 replies; 4+ messages in thread
From: Mickael Chazaux @ 2011-07-10 14:10 UTC (permalink / raw)
  To: linux-bluetooth

git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
commit c34e7956441 fails to build :

  CC     tools/lexer.o
cc1: warnings being treated as errors
tools/lexer.c: In function ‘yy_get_next_buffer’:
tools/lexer.c:1095: erreur: comparaison entre des expressions entières
signée et non signée
tools/lexer.c: In function ‘yy_init_buffer’:
tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
make[1]: *** [tools/lexer.o] Erreur 1

Regards,

Mickael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile failure
  2011-07-10 14:10 Compile failure Mickael Chazaux
@ 2011-07-11 13:05 ` Lucas De Marchi
  2011-07-11 14:37 ` Gustavo Padovan
  1 sibling, 0 replies; 4+ messages in thread
From: Lucas De Marchi @ 2011-07-11 13:05 UTC (permalink / raw)
  To: Mickael Chazaux; +Cc: linux-bluetooth

Hi Mickael,

On Sun, Jul 10, 2011 at 11:10 AM, Mickael Chazaux
<mickael.chazaux@gmail.com> wrote:
> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
> commit c34e7956441 fails to build :
>
>  CC     tools/lexer.o
> cc1: warnings being treated as errors
> tools/lexer.c: In function ‘yy_get_next_buffer’:
> tools/lexer.c:1095: erreur: comparaison entre des expressions entières
> signée et non signée
> tools/lexer.c: In function ‘yy_init_buffer’:
> tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
> make[1]: *** [tools/lexer.o] Erreur 1


This file is generated by flex. What version are you using? Here I have:


$ flex --version
flex 2.5.35


And there's no such error.

regards,
Lucas De Marchi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile failure
  2011-07-10 14:10 Compile failure Mickael Chazaux
  2011-07-11 13:05 ` Lucas De Marchi
@ 2011-07-11 14:37 ` Gustavo Padovan
  2011-07-11 14:56   ` Mickael Chazaux
  1 sibling, 1 reply; 4+ messages in thread
From: Gustavo Padovan @ 2011-07-11 14:37 UTC (permalink / raw)
  To: Mickael Chazaux; +Cc: linux-bluetooth

* Mickael Chazaux <mickael.chazaux@gmail.com> [2011-07-10 16:10:22 +0200]:

> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
> commit c34e7956441 fails to build :
> 
>   CC     tools/lexer.o
> cc1: warnings being treated as errors
> tools/lexer.c: In function ‘yy_get_next_buffer’:
> tools/lexer.c:1095: erreur: comparaison entre des expressions entières
> signée et non signée
> tools/lexer.c: In function ‘yy_init_buffer’:
> tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
> make[1]: *** [tools/lexer.o] Erreur 1

Are you using gentoo? There is a bug in gentoo flex ebuild that cause this.

	Gustavo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compile failure
  2011-07-11 14:37 ` Gustavo Padovan
@ 2011-07-11 14:56   ` Mickael Chazaux
  0 siblings, 0 replies; 4+ messages in thread
From: Mickael Chazaux @ 2011-07-11 14:56 UTC (permalink / raw)
  To: Mickael Chazaux, linux-bluetooth

Hi,

2011/7/11 Gustavo Padovan <padovan@profusion.mobi>:
> * Mickael Chazaux <mickael.chazaux@gmail.com> [2011-07-10 16:10:22 +0200]:
>
>> git://git.kernel.org/pub/scm/bluetooth/bluez.git, branch master,
>> commit c34e7956441 fails to build :
>>
>>   CC     tools/lexer.o
>> cc1: warnings being treated as errors
>> tools/lexer.c: In function ‘yy_get_next_buffer’:
>> tools/lexer.c:1095: erreur: comparaison entre des expressions entières
>> signée et non signée
>> tools/lexer.c: In function ‘yy_init_buffer’:
>> tools/lexer.c:1415: erreur: implicit declaration of function ‘isatty’
>> make[1]: *** [tools/lexer.o] Erreur 1
>
> Are you using gentoo? There is a bug in gentoo flex ebuild that cause this.
>
Yes I am using Gentoo. Removing -Werror in the makefile works around
this problem at the moment.

Thanks,

Regards,

Mickael

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-11 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10 14:10 Compile failure Mickael Chazaux
2011-07-11 13:05 ` Lucas De Marchi
2011-07-11 14:37 ` Gustavo Padovan
2011-07-11 14:56   ` Mickael Chazaux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox