compile 2.2.12 with pts/ldap [auf Viren überprüft]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I compiled 2.2.12 successfully before without ldap/pts (on AIX):
----------- 1. ---------------------
export CC=gcc
export CFLAGS="-O2"
export CXXFLAGS="-O2"
export MAKE=gmake
export PATH=$PATH:/usr/vac/bin

./configure \
--prefix=/opt/mail \
--with-cyrus-prefix=/opt/mail/cyrus \
--with-service-path=/opt/mail/cyrus \
--libdir=/opt/freeware/lib \
--includedir=/opt/freeware/include \
--mandir=/opt/freeware/man \
--with-bdb-libdir=/opt/freeware/lib \
--with-bdb-incdir=/opt/freeware/include \
--with-sasl=/opt/freeware/lib \
--with-openssl=/opt/freeware \
--with-idle=idled
----------- 1. ---------------------

Now I want to add ldap/pts. ldap*.h is in /opt/freeware/include.

----------- 2. ---------------------
export CC=gcc
export CFLAGS="-O2"
export CXXFLAGS="-O2"
export MAKE=gmake
export PATH=$PATH:/usr/vac/bin

./configure \
--prefix=/opt/mail \
--with-cyrus-prefix=/opt/mail/cyrus \
--with-service-path=/opt/mail/cyrus \
--libdir=/opt/freeware/lib \
--includedir=/opt/freeware/include \
--mandir=/opt/freeware/man \
--with-bdb-libdir=/opt/freeware/lib \
--with-bdb-incdir=/opt/freeware/include \
--with-sasl=/opt/freeware/lib \
--with-openssl=/opt/freeware \
--with-idle=idled \
--with-ldap=/opt/freeware \
--with-pts=ldap \
--with-auth=pts
----------- 2. ---------------------

It does not compile.
----------- make ---------------------
### Making all in /SOURCE/mail/cyrus-imapd-2.2.12/ptclient
gmake[1]: Entering directory `/SOURCE/mail/cyrus-imapd-2.2.12/ptclient'
gcc -c -I.. -I./../imap -I./../lib -I../et -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include/include -DHAVE_CONFIG_H -O2 ptexpire.c gcc -L/opt/freeware/lib -L/opt/freeware/lib -o ptexpire ptexpire.o ../imap/mutex_fake.o ../imap/cli_fatal.o ../imap/libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/opt/freeware/lib/lib -lsasl2 -L/opt/freeware/lib/lib -lsasl2 -L/opt/freeware/lib -ldb-4.2 -lssl -lcrypto ../et/libcom_err.a gcc -c -I.. -I./../imap -I./../lib -I../et -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include/include -DHAVE_CONFIG_H -O2 ptloader.c gcc -c -I.. -I./../imap -I./../lib -I../et -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include -I/opt/freeware/include/include -DHAVE_CONFIG_H -O2 ldap.c
ldap.c: In function `ptsmodule_make_authstate_attribute':
ldap.c:909: warning: assignment makes pointer from integer without a cast
ldap.c: In function `ptsmodule_make_authstate_filter':
ldap.c:1052: warning: assignment makes pointer from integer without a cast
gcc -L/opt/freeware/lib -L/opt/freeware/lib -o ptloader ptloader.o ldap.o ../imap/mutex_fake.o ../master/service-thread.o -L/opt/freeware/lib -L/opt/freeware/include/lib ../imap/libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/opt/freeware/lib/lib -lsasl2 -L/opt/freeware/lib/lib -lsasl2 -L/opt/freeware/lib -ldb-4.2 -lssl -lcrypto ../et/libcom_err.a
ld: 0711-317 ERROR: Undefined symbol: .ldap_initialize
ld: 0711-317 ERROR: Undefined symbol: .ldap_set_option
ld: 0711-317 ERROR: Undefined symbol: .ldap_unbind
ld: 0711-317 ERROR: Undefined symbol: ber_pvt_opt_on
ld: 0711-317 ERROR: Undefined symbol: .ldap_get_option
ld: 0711-317 ERROR: Undefined symbol: .ldap_sasl_interactive_bind_s
ld: 0711-317 ERROR: Undefined symbol: .ldap_err2string
ld: 0711-317 ERROR: Undefined symbol: .ldap_simple_bind_s
ld: 0711-317 ERROR: Undefined symbol: .ldap_start_tls_s
ld: 0711-317 ERROR: Undefined symbol: .ldap_whoami_s
ld: 0711-317 ERROR: Undefined symbol: .ber_bvfree
ld: 0711-317 ERROR: Undefined symbol: .ber_free
ld: 0711-317 ERROR: Undefined symbol: .ldap_memfree
ld: 0711-317 ERROR: Undefined symbol: .ldap_value_free
ld: 0711-317 ERROR: Undefined symbol: .ldap_msgfree
ld: 0711-317 ERROR: Undefined symbol: .ldap_search_st
ld: 0711-317 ERROR: Undefined symbol: .ldap_first_entry
ld: 0711-317 ERROR: Undefined symbol: .ldap_first_attribute
ld: 0711-317 ERROR: Undefined symbol: .ldap_get_values
ld: 0711-317 ERROR: Undefined symbol: .ldap_next_attribute
ld: 0711-317 ERROR: Undefined symbol: .ldap_count_entries
ld: 0711-317 ERROR: Undefined symbol: .ldap_next_entry
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
gmake[1]: *** [ptloader] Error 1
gmake[1]: Leaving directory `/SOURCE/mail/cyrus-imapd-2.2.12/ptclient'
gmake: *** [all] Error 1
----------- make ---------------------


What is missing?


Hans

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux