On Fri, Sep 08, 2017 at 12:12:57PM +0300, Baruch Siach wrote:
> uClibc-ng declares program_invocation_name as const. This causes the
> build failure below:
> 
> error_prints.c:40:14: error: conflicting types for ‘program_invocation_name’
>  extern char *program_invocation_name;
>               ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from error_prints.c:32:0:
> .../output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/errno.h:54:20:
>  note: previous declaration of ‘program_invocation_name’ was here
>  extern const char *program_invocation_name, *program_invocation_short_name;
>                     ^~~~~~~~~~~~~~~~~~~~~~~
> Makefile:3856: recipe for target 'strace-error_prints.o' failed
> 
> Declare program_invocation_name only when the C library does not provide
> one.

Applied, thanks!


-- 
ldv

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to