[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] Build Problem with mailutils-2.99.98-2013-07-15
From: |
d.henman |
Subject: |
[bug-mailutils] Build Problem with mailutils-2.99.98-2013-07-15 |
Date: |
Sun, 15 Dec 2013 01:09:32 +0900 |
I presume that mailutils-2.99.98-2013-07-15 builds on proper GNU Linux
environments. That indicates my build environment
CYGWIN_NT-5.1 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin
... or tools for this specific envornment behave differently. I'm hoping that
there is an incompatibility with the compiler/linker processing that doesn't
allow finding library functions due to a possible argument order. I will look
into this.
I just noticed this is occurrming in the examples directory.
/examples Makefile contains:
MU_AUTHINCS =
MU_AUTHLIBS = -lgnutls -lldap
MU_AUTHLIBS_DEPENDENCY = ../libmu_auth/libmu_auth.la
I think this is from the following section in ../examples/Makefile
muauth-muauth.o: muauth.c
$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(muauth_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT muauth-muauth.o -MD
-MP -MF $(DEPDIR)/muauth-muauth.Tpo -c -o muauth-muauth.o `test -f 'muauth.c'
|| echo '$(srcdir)/'`muauth.c
$(AM_V_at)$(am__mv) $(DEPDIR)/muauth-muauth.Tpo
$(DEPDIR)/muauth-muauth.Po
# $(AM_V_CC)source='muauth.c' object='muauth-muauth.o' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(AM_V_CC_no)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)
$(muauth_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o muauth-muauth.o
`test -f 'muauth.c' || echo '$(srcdir)/'`muauth.c
------- make output near where the build error occurs:
make[3]: Entering directory
'/usr/src/mailutils/mailutils-2.99.98-2013-07-15/examples'
CCLD muauth.exe
../libmu_auth/.libs/libmu_auth.a(ldap.o): In function `mu_conn_setup':
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:103:
undefined reference to `ber_set_option'
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:186:
undefined reference to `ber_memfree'
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:187:
undefined reference to `ber_memfree'
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:230:
undefined reference to `ber_memvfree'
../libmu_auth/.libs/libmu_auth.a(ldap.o): In function `mu_ldap_bind':
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:335:
undefined reference to `ber_memfree'
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:337:
undefined reference to `ber_memfree'
/usr/src/mailutils/mailutils-2.99.98-2013-07-15/libmu_auth/ldap.c:339:
undefined reference to `ber_memvfree'
collect2: error: ld returned 1 exit status
Makefile:1403: recipe for target 'muauth.exe' failed
--------
Any ideas on a fix for this are welcome.
Thanks.
- [bug-mailutils] Build Problem with mailutils-2.99.98-2013-07-15,
d.henman <=