Re: BlueZ make error

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux