Code Monkey home page Code Monkey logo

Comments (5)

metan-ucw avatar metan-ucw commented on July 30, 2024 1

Strange I've just checked libattr-devel-2.4.47-3.143.x86_64 from SLES12 and the xattr.h from that package contains:

#ifndef __XATTR_H__
#define __XATTR_H__

#include <features.h>

#include <errno.h>
#ifndef ENOATTR
# define ENOATTR ENODATA        /* No such attribute */
#endif

#define XATTR_CREATE  0x1       /* set value, fail if attr already exists */
#define XATTR_REPLACE 0x2       /* set value, fail if attr does not exist */


__BEGIN_DECLS

...

from ltp.

metan-ucw avatar metan-ucw commented on July 30, 2024

That is strange, the ENOATTR should be defined in /usr/include/attr/xattr.h to ENODATA which should be included at that point since otherwise the test code is not compiled at all (there is a configure check for attr/xattr.h). Can you check if that header is present and that the content is OK?

from ltp.

chvalean avatar chvalean commented on July 30, 2024

Header file /usr/include/attr/xattr.h is present on the system and the content is looking good.
However, it doesn't contain anything for ENOATTR.

Package libattr is: libattr1-2.4.47-3.143.x86_64

The checks during configure as you've mentioned are OK:

checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes

from ltp.

chvalean avatar chvalean commented on July 30, 2024

Let me check the libraries on my system and I'll get back to you @metan-ucw
Thank you for the help on this!

from ltp.

chvalean avatar chvalean commented on July 30, 2024

Resolved as we were incorrectly copying xattr.h between location.

from ltp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.