Skip to contentSkip to conversation

compilation error xfs_fsr.c:33:23 sys/xattr.h: No such file or directory

DISCUSSION Alessandro Ferrari 2 participants 4 messages May 19, 2009

lore
Share & tools
lore
#0 lore raw

Linux kernel 2.4.37

I have downloaded:
- acl_2.2.47-1.tar.gz
- attr_2.4.43-1.tar.gz
- xfsprogs-3.0.1-tar.gz
- xfsdump-3.0.1-tar.gz

I compiled and installed this tarballs in this order:
- acl_2.2.47-1
- attr_2.4.43-1

Now I have this error when I compile xfsprogs-3.0.1:

xfs_fsr.c:33:23: sys/xattr.h: No such file or directory

I have forgotten something?

Thanks, alexferro

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 2 lines · Alessandro Ferrari

Now I have this error when I compile xfsprogs-3.0.1:
xfs_fsr.c:33:23: sys/xattr.h: No such file or directory

sys/xattr.h should be part of a libc6-dev (or glibc-headers) package your distribution provides, I think.

Christian.

Signature · 6 lines
SHA = "Schneier has access"

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw

Re: compilation error xfs_fsr.c:33:23 sys/xattr.h: No such file ordirectory

Hi Chtistian!

Quoted 7 lines

sys/xattr.h should be part of a libc6-dev (or glibc-headers) package your distribution provides, I think.

Christian.

Signature · 1 line
SHA = "Schneier has access"

I searched xattr.h and I founded it into:

- /usr/src/linux/include/linux/xattr.h dated 02/Dec/2008 09:01 (when I compiled my kernel 2.4.37)
- /usr/include/linux/xattr.h dated 07/Mar/2002
- /usr/include/attr/xattr.h dated 18/May/2009 21:16 (when I compiled and installed attr_2.4.43-1 tarball)

I am very confused?!?!

Which is xattr.h correct for <sys/xattr.h> in xfs_fsr.c file ?

Alessandro

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw

Re: compilation error xfs_fsr.c:33:23 sys/xattr.h: No such file ordirectory

Quoted 1 line · Alessandro Ferrari

I searched xattr.h and I founded it into:

Apparently there's no sys/xattr.h on your system. What distribution do you have? You'll need to install either the libc6-dev or glibc-headers package, depending on which package of your distribution provides this file.

Christian.

Signature · 7 lines
Vs lbh nfxrq Oehpr Fpuarvre gb qrpelcg guvf, ur'q pehfu lbhe fxhyy jvgu uvf
ynhtu.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs