problems with --enable-shared

Niels Möller nisse at lysator.liu.se
08 Nov 2002 10:12:37 +0100


James Ralston <qralston+ml.nettle-bugs@andrew.cmu.edu> writes:

> On 2002-11-01 (Friday) at 11:32:26+0100 Niels Möller <nisse@lysator.liu.se> wrote:
> > ... about nettle-openssl.c ...

> > Perhaps the file should simply be moved out of the library and down
> > into the examples directory.  The same will apply whenever I add
> > similar glue code for libgcrypt.
> 
> That seems like a reasonable solution.

Moved now.

> I found one problem (a simple variable renaming error); the enclosed
> patch fixes it.

Fixed. For some reason my testutils.c file wasn't recompiled since I
made that change.

> 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.

Regards,
/Niels