tech-pkg archive

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

Re: Problem to build audio/rplay (SSP check)



Hi,

Adding,

BUILDLINK_TRANSFORM.NetBSD+=	rm:-O2

to audio/rplay/makefile fixes broken CPP macro expansion for me
and audio/rplay builds under NetBSD/amd64-current and GCC 5.5.0 in base.

However I have no idea how to use audio/rplay.
Could you try an above line?

I think that this is not the normal procedure.

Thank you.

From: Bernd Ernesti <netbsd%lists.veego.de@localhost>, Date: Wed, 24 Jan 2018 18:35:49 +0100

> Hi,
> 
> it seems this is related to a SSP check.
> What is the normal procedure to solve this problem?
> 
> cache.c: In function 'cache_next':
> cache.c:131:88: error: macro "__ssp_bos" passed 2 arguments, but takes just 1
>      SNPRINTF(SIZE(cache_path, sizeof(cache_path)), "%s/%s", cache_directory, dp->d_name);
>                                                                                         ^
> In file included from /usr/include/stdio.h:597:0,
>                  from cache.c:40:
> ../include/config.h:291:18: error: '__ssp_bos' undeclared (first use in this function)
>  #define SNPRINTF snprintf
>                   ^
> cache.c:131:5: note: in expansion of macro 'SNPRINTF'
>      SNPRINTF(SIZE(cache_path, sizeof(cache_path)), "%s/%s", cache_directory, dp->d_name);
>      ^
> 
> Bernd
> 

--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index