Another AIX build problem

Jos Backus Jos.Backus at nl.origin-it.com
Thu Nov 18 20:25:04 CET 1999


On Thu, Nov 18, 1999 at 04:27:41PM +0100, Werner Koch wrote:
> That is not a perfect solution but it should help.

Great! Here's what happens next:

First, a bunch of warnings:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -c pkclist.c
"pkclist.c", line 380.31: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 402.45: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 520.27: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 546.31: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 571.45: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 773.43: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.
"pkclist.c", line 847.39: 1506-280 (W) Function argument assignment between type
s "unsigned int*" and "int*" is not allowed.

...

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -c tdbdump.c
"tdbdump.c", line 479.30: 1506-076 (W) Character constant 'p[0]' has more than o
ne character. No more than rightmost 4 characters are used.
"tdbdump.c", line 479.52: 1506-076 (W) Character constant 'p[1]' has more than o
ne character. No more than rightmost 4 characters are used.

Hm, it seems cc doesn't like HEXTOBIN:

            line[fprlen++] = HEXTOBIN(p[0]) * 16 + HEXTOBIN(p[1]);

cc -g -Wl,-export-dynamic -o gpg g10.o build-packet.o compress.o free-packet.o g
etkey.o delkey.o pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o mdfi
lter.o textfilter.o cipher.o misc.o openfile.o keyid.o trustdb.o tdbdump.o tdbio
.o hkp.o parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o seskey.o import.
o export.o comment.o status.o sign.o plaintext.o encr-data.o encode.o revoke.o k
eylist.o sig-check.o signal.o helptext.o verify.o decrypt.o keyedit.o dearmor.o
keygen.o ../cipher/.libs/libcipher.a -ldl -lnsl -lnsl ../mpi/.libs/libmpi.a -ldl
 -lnsl -lnsl ../util/.libs/libutil.a -ldl -lnsl -lnsl ../gcrypt/.libs/libgcrypt.
a -ldl -lnsl -lnsl -ldl -lnsl -lnsl -ldl -lnsl -lnsl -ldl -lnsl -lnsl ../zlib/li
bzlib.a ../intl/libintl.a -ldl -lnsl -lnsl
ld: 0711-327 WARNING: Entry point not found: xport-dynamic
gmake[2]: Leaving directory `/usr/local/src/gnupg-1.1.0/g10'

-Wl,-export-dynamic is wrong?

...

Making all in checks
gmake[2]: Entering directory `/usr/local/src/gnupg-1.1.0/checks'
../g10/gpg --yes --dearmor -o ./pubring.gpg ./pubring.asc
exec(): 0509-036 Cannot load program ../g10/gpg because of the following errors:
        0509-025 The ../g10/gpg file is not executable or not in correct XCOFF f
ormat.
        0509-026 System error: Cannot run a file that does not have a valid form
at.
gmake[2]: *** [pubring.gpg] Error 255
gmake[2]: Leaving directory `/usr/local/src/gnupg-1.1.0/checks'

Thank you for your help!

Grüss,
-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus at nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;



More information about the Gnupg-devel mailing list