compile errors with camellia

Jussi Kivilinna jussi.kivilinna at iki.fi
Wed Nov 6 15:57:25 CET 2013


On 06.11.2013 15:38, Matthias Wachs wrote:
> Hi
> 
> this compile issue occurs on two different systems:

Hello,

Recent addition of #include "bufhelp.h" seems to mess up things on some system.

Does the attached patch help?

I've pushed patch to libgcrypt repository too.

-Jussi

> 
> efikamx 2.6.31-008-efikamx #1 Sun Jun 27 18:38:00 CDT 2010 armv7l
> GNU/Linux
> ac_cv_build=armv7l-unknown-linux-gnueabi
> 
> Darwin luke.net.in.tum.de 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan
> 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
> 
> configure.log:
> ac_cv_build=x86_64-apple-darwin11.3.0
> 
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src
> -I/opt/local/include -I/opt/local/include -g -O2 -Wall -Wcast-align
> -Wshadow -Wstrict-prototypes -Wformat -Wno-format-y2k
> -Wformat-security -W -Wextra -Wbad-function-cast -Wwrite-strings
> -Wdeclaration-after-statement -Wno-missing-field-initializers
> -Wno-sign-compare -Wpointer-arith -MT camellia.lo -MD -MP -MF
> .deps/camellia.Tpo -c camellia.c  -fno-common -DPIC -o .libs/camellia.o
> camellia.c:32: error: redefinition of typedef 'u32'
> ../src/types.h:81: error: previous declaration of 'u32' was here
> 
> Cheers,
> 
> Matthias
> 
> 
> 
> _______________________________________________
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10-fix-build-error-with-camellia.patch
Type: text/x-patch
Size: 820 bytes
Desc: not available
URL: </pipermail/attachments/20131106/1b0ba78a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 730 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20131106/1b0ba78a/attachment.sig>


More information about the Gcrypt-devel mailing list