[LTP] Fwd: LTP compilation with UCLibC Toolchain

khushbu sharma sharma.khushbu850@gmail.com
Wed May 31 11:42:05 CEST 2017


hi,
    I'am cross-compiling LTP with attitude_adjustment UCLibc toolchain, but
getting compilation error "undefined reference" for "fsetxattr", "setxattr"
and "lsetxattr" functions.

I checked the common config file "include/bits/uClibc_config.h" of
attitude_adjustment  toolchain and macro "__UCLIBC_HAS_XATTR__" is
undefined.
But this macro is defined in toolchain of "chaos calmer" release.

I am stuck at this point as it seems attitude_adjustment toolchain does not
have XATTR support.
Is there any way to enable this macro, so that i can compile LTP
successfully.

Any kind of help is appreciated.

Thanks
Khushboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170531/91f92ac9/attachment.html>


More information about the ltp mailing list