<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - xmlsec: Build fails with error: ‘SEC_OID_SHA224’ undeclared (first use in this function); did you mean ‘SEC_OID_SHA384’?"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124910#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - xmlsec: Build fails with error: ‘SEC_OID_SHA224’ undeclared (first use in this function); did you mean ‘SEC_OID_SHA384’?"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124910">bug 124910</a>
from <span class="vcard"><a class="email" href="mailto:pmenzel+bugs.documentfoundation.org@molgen.mpg.de" title="Paul Menzel <pmenzel+bugs.documentfoundation.org@molgen.mpg.de>"> <span class="fn">Paul Menzel</span></a>
</span></b>
<pre>Building xmlsec directly, it looks like `nss.h` from the xulrunner installation
is used for some reason.
```
$ ./autogen.sh
$ ./configure
$ make V=1
[…]
Making all in nss
make[3]: Entering directory '/dev/shm/xmlsec/src/nss'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -DPACKAGE=\"xmlsec1\" -I../../include -I../../include
-D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1
-DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xulrunner-1.9.2.16
-I/usr/include/xulrunner-1.9.2.16 -DXMLSEC_CRYPTO_NSS=1
-I/usr/include/libxml2 -I/usr/include/libxml2 -g -O2 -MT
libxmlsec1_nss_la-digests.lo -MD -MP -MF .deps/libxmlsec1_nss_la-digests.Tpo -c
-o libxmlsec1_nss_la-digests.lo `test -f 'digests.c' || echo './'`digests.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE=\"xmlsec1\"
-I../../include -I../../include -D__XMLSEC_FUNCTION__=__func__
-DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1
-DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xulrunner-1.9.2.16
-I/usr/include/xulrunner-1.9.2.16 -DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2
-I/usr/include/libxml2 -g -O2 -MT libxmlsec1_nss_la-digests.lo -MD -MP -MF
.deps/libxmlsec1_nss_la-digests.Tpo -c digests.c -fPIC -DPIC -o
.libs/libxmlsec1_nss_la-digests.o
digests.c: In function 'xmlSecNssDigestInitialize':
digests.c:142:43: error: 'SEC_OID_SHA224' undeclared (first use in this
function); did you mean 'SEC_OID_SHA384'?
ctx->digest = SECOID_FindOIDByTag(SEC_OID_SHA224);
^~~~~~~~~~~~~~
SEC_OID_SHA384
digests.c:142:43: note: each undeclared identifier is reported only once for
each function it appears in
make[3]: *** [Makefile:648: libxmlsec1_nss_la-digests.lo] Error 1
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>