On Fedora a 20 box got the following linker errors during 'make check'.
* krb5 built from git master
* sssd git master
* Both built with --prefix=/opt/build ...
Attached is a patch which fixes the problem.
Cheers,
Stef
libtool: link: gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -Wwrite-strings
-Werror-implicit-function-declaration -fno-strict-aliasing -std=gnu99
-DUNIT_TESTING -O0 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -o .libs/ad_access_filter_tests
src/providers/ad_access_filter_tests-data_provider_be.o
src/providers/ad_access_filter_tests-data_provider_fo.o
src/providers/ad_access_filter_tests-data_provider_opts.o
src/providers/ad_access_filter_tests-data_provider_callbacks.o
src/providers/ad_access_filter_tests-dp_dyndns.o
src/providers/ad_access_filter_tests-dp_ptask.o
src/providers/ad_access_filter_tests-dp_refresh.o
src/providers/ad_access_filter_tests-fail_over.o
src/providers/ad_access_filter_tests-fail_over_srv.o
src/resolv/ad_access_filter_tests-async_resolv.o
src/resolv/ad_access_filter_tests-async_resolv_utils.o
src/util/ad_access_filter_tests-sss_ldap.o
src/util/ad_access_filter_tests-sss_krb5.o
src/util/ad_access_filter_tests-find_uid.o
src/util/ad_access_filter_tests-user_info_msg.o
src/providers/ad/ad_access_filter_tests-ad_common.o
src/tests/cmocka/ad_access_filter_tests-test_ad_access_filter.o -lpam
-lcmocka -lcares -lkrb5 -lk5crypto -lcom_err ./.libs/libsss_util.so
-lpopt -lldb -ldbus-1 -lpcre -lini_config -lcollection -ldhash -llber
-lldap -ltdb -lglib-2.0 ./.libs/libsss_crypt.so -lssl3 -lsmime3 -lnss3
-lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread ./.libs/libsss_debug.so
./.libs/libsss_child.so -lsystemd-login ./.libs/libsss_ldap_common.so
./.libs/libsss_idmap.so ./.libs/libsss_krb5_common.so
./.libs/libsss_test_common.a -ltevent -ltalloc -ldl -Wl,-rpath
-Wl,/opt/build/lib64/sssd -Wl,-rpath -Wl,/opt/build/lib64
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_add_fmt@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_get_error@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_len@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_add@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_add_len@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_labeled_open@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_data@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_free_buf@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_free_error@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_init_fixed@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_labeled_fopen@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_pop_fscreatecon@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_vset_error_fl@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_push_fscreatecon_for@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_set_error_info_callout_fn@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_vset_error@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_buf_init_dynamic@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_set_error@krb5support_0_MIT'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libkrb5.so:
undefined reference to `krb5int_clear_error@krb5support_0_MIT'
Show replies by date