libgpg-error 1.15 fails to build on MacOSX

Charles Diza chdiza at gmail.com
Fri Sep 12 04:38:35 CEST 2014


I just tried building libgpg-error 1.15 on Mac OSX 10.9.4.  While version
1.13 had no problems, the attempt to build 1.15 fails with the following
error message:

/bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/clang
-DHAVE_CONFIG_H -I. -I..
 -DLOCALEDIR=\"/usr/local/Cellar/libgpg-error/1.15/share/locale\"    -Os -w
-pipe -march=native -mmacosx-version-min=10.9 -Wall -Wpointer-arith -c -o
libgpg_error_la-estream.lo `test -f 'estream.c' || echo './'`estream.c
libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
-DLOCALEDIR=\"/usr/local/Cellar/libgpg-error/1.15/share/locale\" -Os -w
-pipe -march=native -mmacosx-version-min=10.9 -Wall -Wpointer-arith -c
estream.c  -fno-common -DPIC -o .libs/libgpg_error_la-estream.o
estream.c:3501:1: error: conflicting types for '_gpgrt_fseeko'
_gpgrt_fseeko (estream_t stream, gpgrt_off_t offset, int whence)
^
./gpgrt-int.h:108:5: note: previous declaration is here
int _gpgrt_fseeko (gpgrt_stream_t stream, off_t offset, int whence);
    ^
estream.c:3527:1: error: conflicting types for '_gpgrt_ftello'
_gpgrt_ftello (estream_t stream)
^
./gpgrt-int.h:110:7: note: previous declaration is here
off_t _gpgrt_ftello (gpgrt_stream_t stream);
      ^
2 errors generated.
make[2]: *** [libgpg_error_la-estream.lo] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140911/58a7ad75/attachment.html>


More information about the Gnupg-devel mailing list