compiling gnupg-2.0.9 with gcc-3.1 on HP Tru64.
Getting the following error:
make[3]: Leaving directory `/user01/dgrimes/cdev/gnupg-2.0.9/doc'
make[2]: Leaving directory `/user01/dgrimes/cdev/gnupg-2.0.9/doc'
Making all in tests
make[2]: Entering directory `/user01/dgrimes/cdev/gnupg-2.0.9/tests'
Making all in openpgp
make[3]: Entering directory `/user01/dgrimes/cdev/gnupg-2.0.9/tests/openpgp'
echo '#!/bin/sh' >./gpg_dearmor
echo "../../g10/gpg2 --no-options --no-greeting \
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor
chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
560787:../../g10/gpg2: /sbin/loader: Error: libgcrypt.so.11:
symbol "_gcry_mpih_rshift" unresolved
560787:../../g10/gpg2: /sbin/loader: Fatal Error: Load of "../../g10/gpg2"
failed: Unresolved symbol name
make[3]: * [pubring.gpg] Error 1
make[3]: Leaving directory `/user01/dgrimes/cdev/gnupg-2.0.9/tests/openpgp'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/user01/dgrimes/cdev/gnupg-2.0.9/tests'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/user01/dgrimes/cdev/gnupg-2.0.9'
make: * [all] Error 2
It looks like _gcry_mpih_rshift and _gcry_mpih_lshift should be defined in
libgcrypt.so.11 but for some reason it's not. libgcrypt is installed. Here is
an nm of libgcrypt:
_gcry_mpih_add | 0004396972722912 | T | 0000000000000008
_gcry_mpih_add_1 | 0004396972722736 | T | 0000000000000008
_gcry_mpih_add_n | 0004396972756832 | T | 0000000000000008
_gcry_mpih_addmul_1 | 0004396972757504 | T | 0000000000000008
_gcry_mpih_cmp | 0004396972723440 | T | 0000000000000008
_gcry_mpih_divmod_1 | 0004396972740576 | T | 0000000000000008
_gcry_mpih_divrem | 0004396972739280 | T | 0000000000000008
_gcry_mpih_lshift | 0000000000000000 | U | 0000000000000000
_gcry_mpih_mod_1 | 0004396972738496 | T | 0000000000000008
_gcry_mpih_mul | 0004396972746912 | T | 0000000000000008
_gcry_mpih_mul_1 | 0004396972757376 | T | 0000000000000008
_gcry_mpih_mul_karatsuba_case | 0004396972745488 | T | 0000000000000008
_gcry_mpih_mul_n | 0004396972745040 | T | 0000000000000008
_gcry_mpih_release_karatsuba_ctx | 0004396972746656 | T | 0000000000000008
_gcry_mpih_rshift | 0000000000000000 | U | 0000000000000000
_gcry_mpih_sqr_n | 0004396972743792 | T | 0000000000000008
_gcry_mpih_sqr_n_basecase | 0004396972743376 | T | 0000000000000008
_gcry_mpih_sub | 0004396972723264 | T | 0000000000000008
_gcry_mpih_sub_1 | 0004396972723088 | T | 0000000000000008
_gcry_mpih_sub_n | 0004396972757104 | T | 0000000000000008
_gcry_mpih_submul_1 | 0004396972757696 | T | 0000000000000008
Everything is there except for rshift and lshift.