pkgsrc-Users archive

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

Re: zabbix-server60 build problem on NetBSD/9-stable



Hi,

On 22 Feb 2023, at 19:52, Mike Pumford <mpumford%mudcovered.org.uk@localhost> wrote:

depbase=`echo lld_trigger.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../../../include    -DCURL_DISABLE_TYPECHECK -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/include/krb5 -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/include/krb5 -I/usr/pkg/include -MT lld_trigger.o -MD -MP -MF $depbase.Tpo -c -o lld_trigger.o lld_trigger.c && mv -f $depbase.Tpo $depbase.Po
--- lld_host.o ---
lld_host.c:3888:21: error: conflicting types for 'popcount64'
static zbx_uint64_t popcount64(zbx_uint64_t mask)
                    ^~~~~~~~~~
In file included from /usr/include/string.h:98:0,
                from ../../../include/sysinc.h:118,
                from ../../../include/common.h:23,
                from lld.h:23,
                from lld_host.c:20:
/usr/include/strings.h:61:14: note: previous declaration of 'popcount64' was here
unsigned int popcount64(__uint64_t) __constfunc;
             ^~~~~~~~~~
*** [lld_host.o] Error code 1

I’ve fixed this now. Sorry for that.

otis

pkgsrc committer



Home | Main Index | Thread Index | Old Index