hi i tried to port attr + libcap to openwrt.
but i am not able to compile libcap - i always get this error /mnt/data/Openwrt/trunk_git/staging_dir/toolchain- mipsel_gcc-4.3.3+cs_uClibc-0.9.30.2/usr/lib/gcc/mipsel-openwrt-linux- uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: cannot find -lattr collect2: ld returned 1 exit status PLEASE help me to fix the error: the toolcahain has to be compiled with UCLIBC_HAS_XATTR=y - patch attached (uclibc.patch) after the patch is applied u have to do a make toolchain/{clean,compile,install} greets
diff --git a/toolchain/uClibc/config-0.9.30.1/common b/toolchain/uClibc/config-0.9.30.1/common index 9cd2e3d..e210229 100644 --- a/toolchain/uClibc/config-0.9.30.1/common +++ b/toolchain/uClibc/config-0.9.30.1/common @@ -158,7 +158,7 @@ UCLIBC_HAS_TZ_FILE=y UCLIBC_HAS_TZ_FILE_READ_MANY=y UCLIBC_HAS_WCHAR=y UCLIBC_HAS_WORDEXP=y -# UCLIBC_HAS_XATTR is not set +UCLIBC_HAS_XATTR=y UCLIBC_HAS___PROGNAME=y # UCLIBC_LINUX_MODULE_24 is not set UCLIBC_LINUX_SPECIFIC=y
foo.tgz
Description: application/compressed-tar
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel