I have error while compiling dovecot with GSSAPI under FreeBSD 6.2:
Is this dovecot-related or not?
cc -std=gnu99 -O2 -fno-strict-aliasing -pipe -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecot-auth auth.o
auth-cache.o auth-client-connection.o auth-master-connection.o
auth-master-listener.o auth-module.o auth-request.o
auth-request-handler.o auth-stream.o auth-worker-client.o
auth-worker-server.o db-ldap.o db-sql.o db-passwd-file.o main.o mech.o
mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o
mech-digest-md5.o mech-ntlm.o mech-gssapi.o mech-rpa.o mech-apop.o
passdb.o passdb-blocking.o passdb-bsdauth.o passdb-cache.o passdb-ldap.o
passdb-passwd.o passdb-passwd-file.o passdb-pam.o passdb-checkpassword.o
passdb-shadow.o passdb-sia.o passdb-vpopmail.o passdb-sql.o userdb.o
userdb-blocking.o userdb-ldap.o userdb-passwd.o userdb-passwd-file.o
userdb-prefetch.o userdb-static.o userdb-vpopmail.o userdb-sql.o
-Wl,--export-dynamic -L/usr/local/lib libpassword.a
../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a
../lib/liblib.a -lpam -L/usr/lib -lgssapi -lkrb5 -lasn1 -lroken -lcrypt
-lcom_err /usr/local/lib/libldap.so /usr/local/lib/liblber.so
/usr/local/lib/libsasl2.so -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libgssapi.so: undefined reference to `krb5_rd_cred2'
/usr/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_address'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_data'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_keyblock'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setremotesubkey'
/usr/lib/libgssapi.so: undefined reference to `krb5_data_free'
/usr/lib/libgssapi.so: undefined reference to `krb5_config_get_strings'
/usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setlocalsubkey'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_generatelocalsubkey'
/usr/lib/libgssapi.so: undefined reference to `krb5_sockaddr2address'
/usr/lib/libgssapi.so: undefined reference to `krb5_cc_get_ops'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_default_principal'
/usr/lib/libgssapi.so: undefined reference to `krb5_cc_copy_cache'
/usr/lib/libasn1.so: undefined reference to `init_error_table'
/usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setkey'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_forwarded_creds'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_err_text'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_int32'
/usr/lib/libgssapi.so: undefined reference to `krb5_h_addr2sockaddr'
/usr/lib/libgssapi.so: undefined reference to `krb5_build_authenticator'
/usr/lib/libgssapi.so: undefined reference to `krb5_build_ap_req'
/usr/lib/libgssapi.so: undefined reference to `krb5_auth_getremoteseqnumber'
/usr/lib/libgssapi.so: undefined reference to `krb5_data_zero'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_free'
/usr/lib/libgssapi.so: undefined reference to `krb5_config_free_strings'
/usr/lib/libgssapi.so: undefined reference to `krb5_create_checksum'
/usr/lib/libgssapi.so: undefined reference to `krb5_generate_random_block'
/usr/lib/libgssapi.so: undefined reference to `krb5_crypto_init'
/usr/lib/libgssapi.so: undefined reference to `krb5_enctype_to_keytype'
/usr/lib/libgssapi.so: undefined reference to `krb5_free_creds_contents'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_from_mem'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_address'
/usr/lib/libgssapi.so: undefined reference to `krb5_decrypt_ivec'
/usr/lib/libasn1.so: undefined reference to `initialize_error_table_r'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_int16'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_int16'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_error_string'
/usr/lib/libgssapi.so: undefined reference to `krb5_principal_match'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setlocalseqnumber'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_to_data'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_int32'
/usr/lib/libgssapi.so: undefined reference to `krb5_encrypt_ivec'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_emem'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_data'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setremoteseqnumber'
/usr/lib/libgssapi.so: undefined reference to `krb5_principal_get_realm'
/usr/lib/libgssapi.so: undefined reference to `krb5_set_error_string'
/usr/lib/libgssapi.so: undefined reference to `krb5_make_principal'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock'
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc28/src/auth.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc28/src.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc28.
*** Error code 1
Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc28.
*** Error code 1
Stop in /usr/ports/mail/dovecot.
*** Error code 1
Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.29635.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=dovecot-1.0.r28 UPGRADE_PORT_VER=1.0.r28 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! mail/dovecot (dovecot-1.0.r28) (linker error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--
? ?????????, ?????? ?????
??? "???????" : ?????????? ??, WEB-??????????
http://www.elantech.ru
+7 (495) 589 68 81
+7 (926) 575 22 11