problems with --enable-shared

James Ralston qralston+ml.nettle-bugs at andrew.cmu.edu
Thu, 12 Dec 2002 02:50:15 -0500


--On Friday, November 08, 2002 10:12:37 +0100 Niels Möller
nisse@lysator.liu.se> wrote:

> James Ralston <qralston+ml.nettle-bugs@andrew.cmu.edu> writes:
> 
> > I also tried to compile on Sun Solaris 8 (sparc; SunPro 5.2
> > 2000/09/11), but the SunPro CC doesn't ISO C99 non-constant
> > initializers:
> 
> Fixed now, I hope. It's annoying that some compilers handle only
> constant aggregate initializers, but I guess we just have to live
> with that.  Nettle is intended to be portable to any system with an
> ANSI-C compiler.

Well, I gave it another shot on Solaris 8, using a fresh CVS checkout
that I grabbed at 2002-12-12T02:25-0500.  AFAICT, the non-constant
aggregate initializers are no longer a problem.

Is it your intent to have nettle require GNU MP?  I don't have it
installed on this particular Solaris box; as a result, anything that
includes rsa.h fails to compile, because rsa.h unconditionally
includes <gmp.h>.

Regards,
James