Fwd: Compiling Cyrus SASL 2.1.26 on Ubuntu 12.04 LTS
Guruprasad Kulkarni
gkulkarni at gridcosystems.com
Fri Nov 14 14:56:15 EST 2014
Hi,
I need to use Cyrus SASL in order to use openldap 2.4.40
I am trying out the installation on ubuntu 12.04lts
I downloaded cyrus sasl 2.1.26 and followed the installation instructions
I have attached the configure command output and the make command output
I get errors while trying the make command. I do not understand the errors
and so need your help to figure out what I am doing wrong.
Please advise.
-Guruprasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20141114/c117ae12/attachment-0001.html
-------------- next part --------------
configure: loading cache ./config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking target system type... (cached) x86_64-unknown-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) mawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... (cached) yes
checking for runpath switch... (cached) -Wl,-rpath,
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached)
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) no
checking for dns_lookup... (cached) no
checking DB path to use... /etc/sasldb2
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for db.h... (cached) yes
checking DB library to use... berkeley
checking if Berkeley DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... (cached) yes
checking /dev/random to use... /dev/random
checking for nm... (cached) /usr/bin/nm -B
checking for underscore before symbols... (cached) no
checking for syslog... (cached) yes
checking for security/pam_appl.h... (cached) no
checking for pam/pam_appl.h... (cached) no
checking for pam_start... (cached) no
checking if I should include saslauthd... /var/state/saslauthd
checking to include Courier authdaemond support... /dev/null
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... no
checking if we should enable sasl_checkapop... enabled
checking CRAM-MD5... enabled
checking size of long... (cached) 8
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) no
checking for OpenSSL... no
checking DIGEST-MD5... enabled
configure: WARNING: OpenSSL not found -- SCRAM will be disabled
checking SCRAM... disabled
configure: WARNING: OpenSSL not found -- OTP will be disabled
checking OTP... disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
checking SRP... disabled
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for gssapi.h... (cached) no
checking for gssapi/gssapi.h... (cached) no
configure: WARNING: Disabling GSSAPI - no include files found
checking for gssapi/gssapi_ext.h... (cached) no
checking GSSAPI... disabled
checking PLAIN... enabled
checking ANONYMOUS... enabled
checking LOGIN... disabled
configure: WARNING: OpenSSL not found -- NTLM will be disabled
checking NTLM... disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
checking PASSDSS... disabled
checking SQL... disabled
checking LDAPDB... disabled
checking for dmalloc library... no
checking for sfio library... no
checking for getsubopt... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for getaddrinfo... (cached) yes
checking for gai_strerror... (cached) yes
checking for getnameinfo... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for des.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for paths.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for varargs.h... (cached) no
checking whether you have ss_family in struct sockaddr_storage... (cached) yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
checking for gethostname... (cached) yes
checking for getdomainname... (cached) yes
checking for getpwnam... (cached) yes
checking for getspnam... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_aton... (cached) yes
checking for memcpy... (cached) yes
checking for mkdir... (cached) yes
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strspn... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for jrand48... (cached) yes
checking for getpassphrase... (cached) no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsasl2.pc
config.status: creating include/Makefile
config.status: creating sasldb/Makefile
config.status: creating plugins/Makefile
config.status: creating lib/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating sample/Makefile
config.status: creating java/Makefile
config.status: creating java/CyrusSasl/Makefile
config.status: creating java/Test/Makefile
config.status: creating java/javax/Makefile
config.status: creating java/javax/security/Makefile
config.status: creating java/javax/security/auth/Makefile
config.status: creating java/javax/security/auth/callback/Makefile
config.status: creating pwcheck/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in saslauthd (/home/ubuntu/cyrus-sasl-2.1.26/saslauthd)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for __attribute__... (cached) yes
checking for runpath switch... (cached) -Wl,-rpath,
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for dn_expand... (cached) no
checking for dns_lookup... (cached) no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking size of long... (cached) 8
checking what directory libraries are found in... (cached) lib
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for openssl/evp.h... (cached) no
checking for OpenSSL... no
checking KERBEROS_V4... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for gssapi.h... (cached) no
checking for gssapi/gssapi.h... (cached) no
configure: WARNING: Disabling GSSAPI - no include files found
checking for gssapi/gssapi_ext.h... (cached) no
checking GSSAPI... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for pam_start in -lpam... (cached) no
checking for PAM support... no
checking for inet_aton in -lresolv... (cached) yes
checking to include LDAP support... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for krb5.h... (cached) no
checking for strings.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for pid_t... (cached) yes
checking whether gcc implements __func__... yes
checking return type of signal handlers... (cached) void
checking for gethostname... (cached) yes
checking for mkdir... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for getspnam... (cached) yes
checking for asprintf... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking if getpwnam_r/getspnam_r take 5 arguments... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... (cached) yes
checking whether you have ss_family in struct sockaddr_storage... (cached) yes
checking whether you have sa_len in struct sockaddr... (cached) no
checking for socklen_t... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating saslauthd.h
config.status: saslauthd.h is unchanged
config.status: executing depfiles commands
Configuration Complete. Type 'make' to build.
-------------- next part --------------
make all-recursive
make[1]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26'
Making all in include
make[2]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26/include'
gcc -DHAVE_CONFIG_H -I. -I.. -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT makemd5.o -MD -MP -MF .deps/makemd5.Tpo -c -o makemd5.o makemd5.c
mv -f .deps/makemd5.Tpo .deps/makemd5.Po
/bin/bash ../libtool --mode=link gcc -Wall -W -g -O2 -o makemd5 makemd5.o -lresolv
mkdir .libs
gcc -Wall -W -g -O2 -o makemd5 makemd5.o -lresolv
rm -f md5global.h
./makemd5 md5global.h
make[2]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26/include'
Making all in sasldb
make[2]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26/sasldb'
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o allockey.lo
mv -f .deps/allockey.Tpo .deps/allockey.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.lo db_berkeley.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o db_berkeley.lo
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Plo
/bin/bash ../libtool --mode=link gcc -Wall -W -g -O2 -o libsasldb.la allockey.lo db_berkeley.lo -lresolv
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_berkeley.lo
ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT db_berkeley.o -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.o db_berkeley.c
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT allockey.o -MD -MP -MF .deps/allockey.Tpo -c -o allockey.o allockey.c
mv -f .deps/allockey.Tpo .deps/allockey.Po
ar cru .libs/libsasldb.a db_berkeley.o allockey.o
make[2]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26/sasldb'
Making all in lib
make[2]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26/lib'
make all-am
make[3]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26/lib'
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c -o auxprop.lo auxprop.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT auxprop.lo -MD -MP -MF .deps/auxprop.Tpo -c auxprop.c -fPIC -DPIC -o auxprop.lo
mv -f .deps/auxprop.Tpo .deps/auxprop.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT canonusr.lo -MD -MP -MF .deps/canonusr.Tpo -c -o canonusr.lo canonusr.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT canonusr.lo -MD -MP -MF .deps/canonusr.Tpo -c canonusr.c -fPIC -DPIC -o canonusr.lo
mv -f .deps/canonusr.Tpo .deps/canonusr.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT checkpw.lo -MD -MP -MF .deps/checkpw.Tpo -c -o checkpw.lo checkpw.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT checkpw.lo -MD -MP -MF .deps/checkpw.Tpo -c checkpw.c -fPIC -DPIC -o checkpw.lo
checkpw.c: In function '_sasl_make_plain_secret':
checkpw.c:119:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c:120:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'char *'
checkpw.c:121:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c: In function '_sasl_auxprop_verify_apop':
checkpw.c:371:5: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c:373:7: warning: pointer targets in passing argument 2 of '_sasl_MD5Update' differ in signedness [-Wpointer-sign]
../include/md5.h:37:6: note: expected 'const unsigned char *' but argument is of type 'const char *'
checkpw.c: In function 'saslauthd_verify_password':
checkpw.c:662:5: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [enabled by default]
saslint.h:403:1: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)'
checkpw.c: In function 'authdaemon_verify_password':
checkpw.c:1044:5: warning: passing argument 3 of '_sasl_getcallback' from incompatible pointer type [enabled by default]
saslint.h:403:1: note: expected 'int (**)(void)' but argument is of type 'int (**)(void *, const char *, const char *, const char **, unsigned int *)'
mv -f .deps/checkpw.Tpo .deps/checkpw.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT client.lo -MD -MP -MF .deps/client.Tpo -c -o client.lo client.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT client.lo -MD -MP -MF .deps/client.Tpo -c client.c -fPIC -DPIC -o client.lo
mv -f .deps/client.Tpo .deps/client.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo common.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -fPIC -DPIC -o common.lo
common.c: In function 'sasl_getprop':
common.c:1048:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
common.c:1051:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
common.c: In function '_sasl_getsimple':
common.c:1528:16: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
mv -f .deps/common.Tpo .deps/common.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT config.lo -MD -MP -MF .deps/config.Tpo -c -o config.lo config.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.c -fPIC -DPIC -o config.lo
mv -f .deps/config.Tpo .deps/config.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT external.lo -MD -MP -MF .deps/external.Tpo -c -o external.lo external.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT external.lo -MD -MP -MF .deps/external.Tpo -c external.c -fPIC -DPIC -o external.lo
mv -f .deps/external.Tpo .deps/external.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o md5.lo
mv -f .deps/md5.Tpo .deps/md5.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT saslutil.lo -MD -MP -MF .deps/saslutil.Tpo -c -o saslutil.lo saslutil.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT saslutil.lo -MD -MP -MF .deps/saslutil.Tpo -c saslutil.c -fPIC -DPIC -o saslutil.lo
saslutil.c: In function 'sasl_encode64':
saslutil.c:134:11: warning: variable 'blah' set but not used [-Wunused-but-set-variable]
mv -f .deps/saslutil.Tpo .deps/saslutil.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT server.lo -MD -MP -MF .deps/server.Tpo -c -o server.lo server.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT server.lo -MD -MP -MF .deps/server.Tpo -c server.c -fPIC -DPIC -o server.lo
server.c: In function 'load_config':
server.c:654:10: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
server.c:654:10: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat]
mv -f .deps/server.Tpo .deps/server.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT seterror.lo -MD -MP -MF .deps/seterror.Tpo -c -o seterror.lo seterror.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT seterror.lo -MD -MP -MF .deps/seterror.Tpo -c seterror.c -fPIC -DPIC -o seterror.lo
mv -f .deps/seterror.Tpo .deps/seterror.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c -o dlopen.lo dlopen.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c dlopen.c -fPIC -DPIC -o dlopen.lo
dlopen.c: In function '_parse_la':
dlopen.c:271:9: warning: integer overflow in expression [-Woverflow]
dlopen.c:272:6: warning: integer overflow in expression [-Woverflow]
dlopen.c: In function '_sasl_load_plugins':
dlopen.c:501:7: warning: integer overflow in expression [-Woverflow]
dlopen.c:503:10: warning: integer overflow in expression [-Woverflow]
mv -f .deps/dlopen.Tpo .deps/dlopen.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c -o plugin_common.lo `test -f '../plugins/plugin_common.c' || echo './'`../plugins/plugin_common.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLIBSASL_EXPORTS=1 -I../include -I../plugins -I../include -I../sasldb -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c ../plugins/plugin_common.c -fPIC -DPIC -o plugin_common.lo
mv -f .deps/plugin_common.Tpo .deps/plugin_common.Plo
/bin/bash ../libtool --mode=link gcc -Wall -W -g -O2 -version-info 3:0:0 -o libsasl2.la -rpath /usr/local/lib auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo -ldl -lresolv
mkdir .libs
(cd . && ln -s auxprop.lo auxprop.o)
(cd . && ln -s canonusr.lo canonusr.o)
(cd . && ln -s checkpw.lo checkpw.o)
(cd . && ln -s client.lo client.o)
(cd . && ln -s common.lo common.o)
(cd . && ln -s config.lo config.o)
(cd . && ln -s external.lo external.o)
(cd . && ln -s md5.lo md5.o)
(cd . && ln -s saslutil.lo saslutil.o)
(cd . && ln -s server.lo server.o)
(cd . && ln -s seterror.lo seterror.o)
(cd . && ln -s dlopen.lo dlopen.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
gcc -shared auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo plugin_common.lo -ldl -lresolv -lc -Wl,-soname -Wl,libsasl2.so.3 -o .libs/libsasl2.so.3.0.0
(cd .libs && rm -f libsasl2.so.3 && ln -s libsasl2.so.3.0.0 libsasl2.so.3)
(cd .libs && rm -f libsasl2.so && ln -s libsasl2.so.3.0.0 libsasl2.so)
creating libsasl2.la
(cd .libs && rm -f libsasl2.la && ln -s ../libsasl2.la libsasl2.la)
make[3]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26/lib'
make[2]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26/lib'
Making all in plugins
make[2]: Entering directory `/home/ubuntu/cyrus-sasl-2.1.26/plugins'
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT sasldb.lo -MD -MP -MF .deps/sasldb.Tpo -c -o sasldb.lo sasldb.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT sasldb.lo -MD -MP -MF .deps/sasldb.Tpo -c sasldb.c -fPIC -DPIC -o sasldb.lo
sasldb.c: In function 'sasldb_auxprop_store':
sasldb.c:251:17: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
mv -f .deps/sasldb.Tpo .deps/sasldb.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c -o sasldb_init.lo sasldb_init.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c sasldb_init.c -fPIC -DPIC -o sasldb_init.lo
mv -f .deps/sasldb_init.Tpo .deps/sasldb_init.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c -o plugin_common.lo plugin_common.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT plugin_common.lo -MD -MP -MF .deps/plugin_common.Tpo -c plugin_common.c -fPIC -DPIC -o plugin_common.lo
mv -f .deps/plugin_common.Tpo .deps/plugin_common.Plo
/bin/bash ../libtool --mode=link gcc -Wall -W -g -O2 -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -o libsasldb.la sasldb.lo sasldb_init.lo plugin_common.lo ../sasldb/libsasldb.la -ldb-5.1 -lresolv
mkdir .libs
(cd . && ln -s sasldb.lo sasldb.o)
(cd . && ln -s sasldb_init.lo sasldb_init.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
gcc -shared sasldb.lo sasldb_init.lo plugin_common.lo -Wl,--whole-archive ../sasldb/.libs/libsasldb.al -Wl,--no-whole-archive -lresolv -ldb-5.1 -lresolv -lc -Wl,-soname -Wl,libsasldb.so.3 -o .libs/libsasldb.so.3.0.0
(cd .libs && rm -f libsasldb.so.3 && ln -s libsasldb.so.3.0.0 libsasldb.so.3)
(cd .libs && rm -f libsasldb.so && ln -s libsasldb.so.3.0.0 libsasldb.so)
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c -o cram.lo cram.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT cram.lo -MD -MP -MF .deps/cram.Tpo -c cram.c -fPIC -DPIC -o cram.lo
mv -f .deps/cram.Tpo .deps/cram.Plo
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT crammd5_init.lo -MD -MP -MF .deps/crammd5_init.Tpo -c -o crammd5_init.lo crammd5_init.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT crammd5_init.lo -MD -MP -MF .deps/crammd5_init.Tpo -c crammd5_init.c -fPIC -DPIC -o crammd5_init.lo
mv -f .deps/crammd5_init.Tpo .deps/crammd5_init.Plo
/bin/bash ../libtool --mode=link gcc -Wall -W -g -O2 -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 3:0:0 -o libcrammd5.la cram.lo crammd5_init.lo plugin_common.lo -lresolv
rm -fr .libs/libcrammd5.la .libs/libcrammd5.* .libs/libcrammd5.*
(cd . && ln -s cram.lo cram.o)
(cd . && ln -s crammd5_init.lo crammd5_init.o)
gcc -shared cram.lo crammd5_init.lo plugin_common.lo -lresolv -lc -Wl,-soname -Wl,libcrammd5.so.3 -o .libs/libcrammd5.so.3.0.0
(cd .libs && rm -f libcrammd5.so.3 && ln -s libcrammd5.so.3.0.0 libcrammd5.so.3)
(cd .libs && rm -f libcrammd5.so && ln -s libcrammd5.so.3.0.0 libcrammd5.so)
creating libcrammd5.la
(cd .libs && rm -f libcrammd5.la && ln -s ../libcrammd5.la libcrammd5.la)
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c -o digestmd5.lo digestmd5.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -g -O2 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c -fPIC -DPIC -o digestmd5.lo
digestmd5.c:859:5: error: unknown type name 'des_key_schedule'
digestmd5.c:860:5: error: unknown type name 'des_cblock'
digestmd5.c:861:5: error: unknown type name 'des_key_schedule'
digestmd5.c: In function 'dec_3des':
digestmd5.c:896:5: warning: implicit declaration of function 'des_ede2_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:902:5: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:902:5: note: each undeclared identifier is reported only once for each function it appears in
digestmd5.c: In function 'enc_3des':
digestmd5.c:950:5: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c: In function 'init_3des':
digestmd5.c:970:5: warning: implicit declaration of function 'des_key_sched' [-Wimplicit-function-declaration]
digestmd5.c:970:24: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:970:36: error: expected expression before ')' token
digestmd5.c:974:36: error: expected expression before ')' token
digestmd5.c:976:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:983:36: error: expected expression before ')' token
digestmd5.c:987:36: error: expected expression before ')' token
digestmd5.c:990:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'dec_des':
digestmd5.c:1014:5: warning: implicit declaration of function 'des_cbc_encrypt' [-Wimplicit-function-declaration]
digestmd5.c:1019:7: error: 'DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:1023:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'enc_des':
digestmd5.c:1070:21: error: 'DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c:1074:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'init_des':
digestmd5.c:1094:20: error: 'des_cblock' undeclared (first use in this function)
digestmd5.c:1094:32: error: expected expression before ')' token
digestmd5.c:1096:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c:1103:32: error: expected expression before ')' token
digestmd5.c:1105:5: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [enabled by default]
/usr/include/x86_64-linux-gnu/bits/string3.h:49:1: note: expected 'void * __restrict__' but argument is of type 'int'
digestmd5.c: In function 'digestmd5_server_mech_step':
digestmd5.c:3051:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
digestmd5.c: In function 'parse_server_challenge':
digestmd5.c:3653:10: warning: variable 'IsUTF8' set but not used [-Wunused-but-set-variable]
make[2]: *** [digestmd5.lo] Error 1
make[2]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/cyrus-sasl-2.1.26'
make: *** [all] Error 2
More information about the Cyrus-sasl
mailing list