compile issue

Flynn, Toby H. flynnth at ornl.gov
Mon Sep 12 15:46:17 CEST 2005


I am attempting to build gpa 0.7 on a solaris 10 x86 machine. I have downloaded, built and installed gnupg, gpg-error, and gpgme.  When trying to build  gpa a get the following error

 gcc  -g -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include -I/usr/local/include -Wall   -o gpa  gpa.o gpawindowkeeper.o  gtktools.o helpmenu.o icons.o  gpawidgets.o fileman.o filesigndlg.o encryptdlg.o verifydlg.o keyring.o  ownertrustdlg.o keysigndlg.o  keygendlg.o keygenwizard.o qdchkpwd.o  keyeditdlg.o expirydlg.o keydeletedlg.o         keylist.o siglist.o gpasubkeylist.o  gpawizard.o gpapastrings.o  gpa_license.o keyserver.o w32reg.o  simple-gettext.o hidewnd.o keytable.o  gpgmetools.o gpgmeedit.o  server_access.o settingsdlg.o  passwddlg.o gpacontext.o  gpaprogressdlg.o gparecvkeydlg.o  gpaoperation.o gpafileop.o  gpafiledecryptop.o gpafileencryptop.o  gpafilesignop.o gpafileverifyop.o  gpakeyop.o gpakeydeleteop.o  gpakeysignop.o gpakeytrustop.o  gpakeyexpireop.o gpakeypasswdop.o  gpaexportop.o gpaexportfileop.o  gpaexportclipop.o gpaexportserverop.o  gpaimportop.o gpaimportfileop.o  gpaimportclipop.o gpaimportserverop.o  gpagenkeyop.o gpagenkeyadvop.o  gpagenkeysimpleop.o gpabackupop.o  gpakeyselector.o options.o ../intl/libintl.a -lz -lm  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L/usr/local/lib -lgpgme -L/usr/local/lib -lgpg-error
Undefined                       first referenced
 symbol                             in file
gpgme_pubkey_algo_name              keyring.o
gpgme_op_encrypt_sign_start         gpafileencryptop.o
gpgme_set_progress_cb               gpacontext.o
gpgme_signers_clear                 gpgmeedit.o
gpgme_key_unref                     verifydlg.o
gpgme_op_decrypt_start              gpafiledecryptop.o
gpgme_op_encrypt_start              gpafileencryptop.o
gpgme_op_edit_start                 gpgmeedit.o
gpgme_op_delete_start               gpakeydeleteop.o
gpgme_key_get_string_attr           keysigndlg.o
gpgme_get_key                       verifydlg.o
gpgme_op_import_start               gpaimportop.o
gpgme_data_new_from_file            gpgmetools.o
gpgme_op_keylist_end                keyring.o
gpgme_data_read                     gpgmetools.o
gpgme_set_passphrase_cb             gpgmetools.o
gpgme_get_passphrase_cb             gpgmeedit.o
gpgme_set_io_cbs                    gpacontext.o
gpgme_op_genkey_start               gpgmetools.o
gpgme_op_keylist_next               options.o
gpgme_release                       gpacontext.o
gpgme_op_verify_start               gpafileverifyop.o
gpgme_signers_add                   gpgmeedit.o
gpgme_data_new_from_mem             gpaimportclipop.o
gpgme_set_armor                     gpafileencryptop.o
gpgme_get_armor                     gpafileencryptop.o
gpgme_op_genkey_result              gpagenkeyadvop.o
gpgme_op_export_ext_start           gpaexportop.o
gpgme_op_verify_result              gpafileverifyop.o
gpgme_check_version                 gpa.o
gpgme_op_import_result              gpaimportop.o
gpgme_data_new_from_fd              gpgmetools.o
gpgme_data_release                  gpgmeedit.o
gpgme_op_keylist_start              keyring.o
gpgme_op_sign_start                 gpafilesignop.o
gpgme_key_get_ulong_attr            gpawidgets.o
gpgme_get_engine_info               gpgmetools.o
gpgme_set_keylist_mode              keyring.o
gpgme_get_keylist_mode              keyring.o
gpgme_strerror                      gpgmetools.o
gpgme_data_rewind                   gpgmetools.o
gpgme_new                           gpgmetools.o
gpgme_data_new                      gpgmeedit.o
gpgme_key_ref                       keyeditdlg.o
ld: fatal: Symbol referencing errors. No output written to gpa
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `gpa'
Current working directory /home/fy9/Downloads/gpa-0.7.0/src
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='m4  intl src po pixmaps'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'


If i install prebuilt packages for gpgme Ican compile pga built it will not run do to library problems with the prebuilt gpgme.  I have tried both the 1.0.3 and 1.0.1 versions of gpgme.  Does anyone know why I am getting this error?



More information about the Gpa-dev mailing list