error: nss-softokn, ec.c, ECCurve25519 undeclared

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error: nss-softokn, ec.c, ECCurve25519 undeclared

Captain Wiggum
I build nss and nss-softokn on a regular basis and follow periodic updates.
I am seeing this new error with nss-softokn-3.28.3.tar.gz:

ec.c:21:7: error: 'ECCurve25519' undeclared here (not in a function)
     { ECCurve25519,

Does this ring any bells? Or any suggestion appreciated.
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: error: nss-softokn, ec.c, ECCurve25519 undeclared

Martin Thomson
This should be defined in ecl-exp.h, which is transitively included
from ec.c via blapi.h and blapit.h.

On Thu, Sep 28, 2017 at 10:10 AM, Captain Wiggum <[hidden email]> wrote:

> I build nss and nss-softokn on a regular basis and follow periodic updates.
> I am seeing this new error with nss-softokn-3.28.3.tar.gz:
>
> ec.c:21:7: error: 'ECCurve25519' undeclared here (not in a function)
>      { ECCurve25519,
>
> Does this ring any bells? Or any suggestion appreciated.
> --
> dev-tech-crypto mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto
Reply | Threaded
Open this post in threaded view
|

Re: error: nss-softokn, ec.c, ECCurve25519 undeclared

Captain Wiggum
Thank you Martin!!! Your hint helped me to find and fix the problem.

The issue is that the nss-softokn-3.28.3.tar.gz source, will not build with
an older nss-softokn installed.
In other words, it is circularly dependent on itself to build from source.
For me the fix was to download a current 3.28.3 binary from centos and
install it.
Then it built fine.

It would be nice if the build used its own local includes rather than the
system includes.
This is what glibc and others do to avoid this type of dependency.

Thanks again!


On Wed, Sep 27, 2017 at 6:23 PM, Martin Thomson <[hidden email]> wrote:

> This should be defined in ecl-exp.h, which is transitively included
> from ec.c via blapi.h and blapit.h.
>
> On Thu, Sep 28, 2017 at 10:10 AM, Captain Wiggum <[hidden email]>
> wrote:
> > I build nss and nss-softokn on a regular basis and follow periodic
> updates.
> > I am seeing this new error with nss-softokn-3.28.3.tar.gz:
> >
> > ec.c:21:7: error: 'ECCurve25519' undeclared here (not in a function)
> >      { ECCurve25519,
> >
> > Does this ring any bells? Or any suggestion appreciated.
> > --
> > dev-tech-crypto mailing list
> > [hidden email]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> --
> dev-tech-crypto mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto