Hello,
I am trying to compile the latest release of libgcrypt for my gnupg paket.
Platform AIX 7.2, POWER, compiler IBM xlC 16.1.0.7
Using the last working compile statement, I receive the following error message:
libtool: compile: cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi -I../mpi -I/opt/freeware/include -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_AIX72 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/opt/freeware/include -c kdf.c -Wp,-qmakedep=gcc,-MF.deps/kdf.TPlo -DPIC -o .libs/kdf.o "kdf.c", line 955.1: 1506-343 (S) Redeclaration of _gcry_kdf_compute differs from previous declaration on line 217 of "../src/gcrypt-int.h". "kdf.c", line 955.1: 1506-050 (I) Return type "enum {...}" in redeclaration is not compatible with the previous return type "unsigned int".
Any ideas how to resolve this?
Or can/should I stick with the LTS version of libgcrypt? (currently I am using 1.9.4)
Using the newer xlclang++ compiler throws a different failure:
libtool: compile: xlclang++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/freeware/include -qmaxmem=16384 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_AIX72 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/opt/freeware/include -fno-delete-null-pointer-checks -Wall -MT mpi-bit.lo -MD -MP -MF .deps/mpi-bit.Tpo -c mpi-bit.c -DPIC -o .libs/mpi-bit.o warning: 1540-5200 The option "-fno-delete-null-pointer-checks" is not supported. 1 warning generated. Assembler: .libs/mpi-bit$1.s: line 48: Error In Syntax 1500-067: (S) asm statement generates errors in assembler output.
Thank you in advance an kind regards
Frank