I am trying to modify OpenWrt's cyrus-sasl package to optionally build
with GSSAPI support. I first added krb5-libs to the package as an
optional dependency. Despite doing this, cyrus-sasl continued to build
without GSSAPI support; I found the following in the package's config.log:

configure:14957: checking for gss_unwrap in -lgssapi_krb5
configure:14982: mips-openwrt-linux-uclibc-gcc -o conftest -Wall -W -Os -pipe 
-mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 
-fpic  
-I/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
 
-I/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
 
-I/home/mike/Source/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
 
-I/home/mike/Source/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include
 
-I/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/krb5
  -DOBSOLETE_CRAM_ATTR=1 
-I/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
 
-L/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
 -R/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_
 34kc_uClibc-0.9.33.2/usr/lib 
-L/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
 
-L/home/mike/Source/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib
 
-L/home/mike/Source/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
 
-L/home/mike/Source/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib
  conftest.c -lgssapi_krb5  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-lkrb5support   >&5
/home/mike/Source/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld:
 cannot find -lcom_err
collect2: error: ld returned 1 exit status

libcom_err seems to be a library that is part of the libext2fs package,
so I added this as an optional dependency for cyrus-sasl as well.
Building libext2fs did not seem to help, though; I found the same warning
in config.log again.

One thing I noticed is that building libext2fs results in libcom_err being 
installed at:

        staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/lib/

but not:

        staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib

However, manually copying the library from the former directory to the
later does not seem to help.

Does anyone know what might be going on?

-- 
Mike

:wq
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to