Where is the libreplace stuff done in configure?

Andrew Bartlett abartlet at samba.org
Mon Dec 10 14:02:49 MST 2012

On Mon, 2012-12-10 at 09:49 -0800, Richard Sharpe wrote:
> Hi folks,
> Can someone point out where the libreplace stuff is being run so I can
> figure out how to handle the errors about PRId etc being redefined ...
> Compiling ../lib/addns/dnsrecord.c
> In file included from
> /home/rsharpe/dev-src/buildroot/tools/x86_gcc4.2.4/usr/include/inttypes.h:32,
>                  from
> /home/rsharpe/dev-src/buildroot/tools/x86_gcc4.2.4/usr/include/krb5-types.h:9,
>                  from
> /home/rsharpe/dev-src/buildroot/tools/x86_gcc4.2.4/usr/include/krb5.h:40,
>                  from ../lib/addns/dns.h:57,
>                  from ../lib/addns/dnsrecord.c:24:
> /home/rsharpe/dev-src/buildroot/tools/x86_gcc4.2.4/usr/include/machine/_inttypes.h:52:1:
> warning: "PRId64" redefined
> currently, in our build libreplace.h is defining these symbols which
> suggests that configure is not finding them.

In lib/replace/*.m4 and lib/replace/wscript depending on which build
system you are looking at.

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba-technical mailing list