Build Problem
djh
henman at it.to-be.co.jp
Thu Nov 30 06:14:25 CET 2006
I have run into a build problem.
./configure result:
# GPGME v1.0.3 has been configured as follows:
# GnuPG path: /usr/local/bin/gpg
# GnuPG version: 1.4.5, min. 1.2.2
# GpgSM path: no
# GpgSM version: unknown, min. 1.9.6
# GPGME Pthread: yes
# GPGME Pth:
I am not an expert in the utilities used to build gpgme. But, wonder why a library seems to be missing. Could this be a command line argument ordering problem??
Read below for more information:
Thanks,
D. Henman
-------------------------------- Start
#
# Make problem (November 30, 2006): (see below)
#
(cd .libs && rm -f libgpgme.la && ln -s ../libgpgme.la libgpgme.la)
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT ath-pthread.lo -MD -MP -MF ".deps/ath-pthread.Tpo" -c -o ath-pthread.lo ath-pthread.c; \
then mv -f ".deps/ath-pthread.Tpo" ".deps/ath-pthread.Plo"; else rm -f ".deps/ath-pthread.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT ath-pthread.lo -MD -MP -MF .deps/ath-pthread.Tpo -c ath-pthread.c -DPIC -o .libs/ath-pthread.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o libgpgme-pthread.la -rpath /usr/local/lib -version-info 15:0:4 ath-pthread.lo libgpgme-real.la stpcpy.lo memrchr.lo -lpthread -lgpg-error
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
.
.
.
Making all in tests
make[2]: Entering directory `/usr/src/gpgme/gpgme-1.0.3/tests'
Making all in gpg
make[3]: Entering directory `/usr/src/gpgme/gpgme-1.0.3/tests/gpg'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -MT t-encrypt.o -MD -MP -MF ".deps/t-encrypt.Tpo" -c -o t-encrypt.o t-encrypt.c; \
then mv -f ".deps/t-encrypt.Tpo" ".deps/t-encrypt.Po"; else rm -f ".deps/t-encrypt.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o t-encrypt.exe t-encrypt.o ../../gpgme/libgpgme.la
mkdir .libs
gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o t-encrypt.exe t-encrypt.o ../../gpgme/.libs/libgpgme.a /usr/lib/libgpg-error.dll.a -L/usr/lib /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a
../../gpgme/.libs/libgpgme.a(posix-sema.o): In posix-sema.c
- undefined reference to `__gpgme_ath_mutex_destroy'
- undefined reference to `__gpgme_ath_init'
- undefined reference to `__gpgme_ath_mutex_lock'
- undefined reference to `__gpgme_ath_mutex_unlock'
- undefined reference to `__gpgme_ath_read'
- undefined reference to `__gpgme_ath_write'
- undefined reference to `__gpgme_ath_waitpid'
- undefined reference to `__gpgme_ath_select'
make[3]: *** [t-encrypt.exe] Error 1
make[3]: Leaving directory `/usr/src/gpgme/gpgme-1.0.3/tests/gpg'
-------------------------------- END
More information about the Gnupg-devel
mailing list