Help needed : Error in compiling libgpg-error
Justus Winter
4winter at informatik.uni-hamburg.de
Tue Feb 16 12:36:54 CET 2016
Hi,
Quoting shilpa shilpa (2016-01-22 18:45:15)
> We are trying to cross-compile libgpg-error for arm-platform, But
> compilation is failing. See the confirure and make logs below:
> [...]
> arm-unknown-linux-gnueabi-gcc -E -P _mkerrcodes.h | grep GPG_ERR_ | \
> gawk -f ./mkerrcodes.awk >mkerrcodes.h
> In file included from /soft/gnu/cross/linux_64/13/arm/arm-unknown-linux-gnueabi/usr/include/errno.h:28:0,
> from _mkerrcodes.h:25:
> /soft/gnu/cross/linux_64/13/arm/arm-unknown-linux-gnueabi/usr/include/features.h:327:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
> # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
> ^
It says what's wrong right here, you need to turn on the compiler
optimizations.
Justus
More information about the Gcrypt-devel
mailing list