libksba-1.0.5 and FreeBSD 5.0 IA32: how to make the build succeed

Hirohisa Yamaguchi umq.461 at
Wed Jan 14 07:59:34 CET 2009


On Wed, Jan 14, 2009 at 9:38 AM, Nelson H. F. Beebe <beebe at> wrote:
> A build of libksba-1.0.5 on FreeBSD 5.0 IA32 failed with
>        gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include    -I/usr/local/include \
>                -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith \
>                -MT putc_unlocked.o -MD -MP -MF .deps/putc_unlocked.Tpo -c -o \
>                putc_unlocked.o putc_unlocked.c
>        putc_unlocked.c:28: error: redefinition of '__sputc'
>        /usr/local/lib/gcc/i386-unknown-freebsd5.0/3.4.3/include/stdio.h:405: error:
>        previous definition of '__sputc' was here

I tried to reproduce the error under FreeBSD/i386 5.5-RELEASE, which was the
last FreeBSD 5.x release (and ended its life ages ago).
And built successfully without any error.

FreeeBSD 5.0 is way too old and known to be pretty unstable,
I do not think it is libassuan's problem (nor libksba).

#  A web search engine tought me that the problem was discussed some
years ago, btw.


        Hirohisa Yamaguchi
          umq.461 at

More information about the Gnupg-devel mailing list