* BlueZ make error
@ 2014-06-03 13:25 Vikrampal
2014-06-16 11:14 ` Szymon Janc
0 siblings, 1 reply; 3+ messages in thread
From: Vikrampal @ 2014-06-03 13:25 UTC (permalink / raw)
To: linux-bluetooth; +Cc: cpgs
Hi,
While building the latest BlueZ, I'm getting below error:
krampal-ubuntu:~/bluez$ sudo make
make --no-print-directory all-am
CC client/main.o
client/main.c: In function 'cmd_version':
client/main.c:1098:28: error: 'VERSION' undeclared (first use in this
function)
rl_printf("Version %s\n", VERSION);
^
client/main.c:1098:28: note: each undeclared identifier is reported only
once for each function it appears in
client/main.c: In function 'main':
client/main.c:1489:18: error: 'VERSION' undeclared (first use in this
function)
printf("%s\n", VERSION);
^
make[1]: *** [client/main.o] Error 1
make: *** [all] Error 2
Please help me. Thanks!
Regards,
Vikram
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BlueZ make error
2014-06-03 13:25 BlueZ make error Vikrampal
@ 2014-06-16 11:14 ` Szymon Janc
2014-06-17 9:45 ` Vikrampal
0 siblings, 1 reply; 3+ messages in thread
From: Szymon Janc @ 2014-06-16 11:14 UTC (permalink / raw)
To: Vikrampal; +Cc: linux-bluetooth, cpgs
Hi Vikrampal,
On Tuesday 03 of June 2014 18:55:33 Vikrampal wrote:
> Hi,
>
> While building the latest BlueZ, I'm getting below error:
>
> krampal-ubuntu:~/bluez$ sudo make
Why building as superuser?
> make --no-print-directory all-am
> CC client/main.o
> client/main.c: In function 'cmd_version':
> client/main.c:1098:28: error: 'VERSION' undeclared (first use in this
> function)
> rl_printf("Version %s\n", VERSION);
> ^
> client/main.c:1098:28: note: each undeclared identifier is reported only
> once for each function it appears in
> client/main.c: In function 'main':
> client/main.c:1489:18: error: 'VERSION' undeclared (first use in this
> function)
> printf("%s\n", VERSION);
> ^
> make[1]: *** [client/main.o] Error
> make: *** [all] Error 2
>
> Please help me. Thanks!
That could happen if you tempered with either Makefile or config.h files
(both are auto generated).
I suggest running configure (or bootstrap-configure if this is for development)
again.
--
Best regards,
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: BlueZ make error
2014-06-16 11:14 ` Szymon Janc
@ 2014-06-17 9:45 ` Vikrampal
0 siblings, 0 replies; 3+ messages in thread
From: Vikrampal @ 2014-06-17 9:45 UTC (permalink / raw)
To: 'Szymon Janc'; +Cc: linux-bluetooth, cpgs
Hi Szymon,
>-----Original Message-----
>From: Szymon Janc [mailto:szymon.janc@tieto.com]
>Sent: Monday, June 16, 2014 4:45 PM
>To: Vikrampal
>Cc: linux-bluetooth@vger.kernel.org; cpgs@samsung.com
>Subject: Re: BlueZ make error
>
>Hi Vikrampal,
>
>On Tuesday 03 of June 2014 18:55:33 Vikrampal wrote:
>> Hi,
>>
>> While building the latest BlueZ, I'm getting below error:
>>
>> krampal-ubuntu:~/bluez$ sudo make
>
>Why building as superuser?
>
>> make --no-print-directory all-am
>> CC client/main.o
>> client/main.c: In function 'cmd_version':
>> client/main.c:1098:28: error: 'VERSION' undeclared (first use in this
>> function)
>> rl_printf("Version %s\n", VERSION);
>> ^
>> client/main.c:1098:28: note: each undeclared identifier is reported
>> only once for each function it appears in
>> client/main.c: In function 'main':
>> client/main.c:1489:18: error: 'VERSION' undeclared (first use in this
>> function)
>> printf("%s\n", VERSION);
>> ^
>> make[1]: *** [client/main.o] Error
>> make: *** [all] Error 2
>>
>> Please help me. Thanks!
>
>That could happen if you tempered with either Makefile or config.h files (both are auto generated).
>
>I suggest running configure (or bootstrap-configure if this is for development) again.
>
>--
>Best regards,
>Szymon Janc
I could build bluez by running bootstrap-configure, make and make install.
This time not as a superuser. Thanks a lot for your kind advice, it worked!
Regards,
Vikram
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-17 9:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 13:25 BlueZ make error Vikrampal
2014-06-16 11:14 ` Szymon Janc
2014-06-17 9:45 ` Vikrampal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox