* Problem compiling libselinux 1.26
@ 2005-09-12 19:59 Pierre
2005-09-12 20:17 ` Lorenzo Hernández García-Hierro
2005-09-13 12:58 ` Stephen Smalley
0 siblings, 2 replies; 4+ messages in thread
From: Pierre @ 2005-09-12 19:59 UTC (permalink / raw)
To: selinux
# make
make -C src
make[1]: Entering directory `/tmp/libselinux-1.26/src'
gcc -s -O3 -march=i686 -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-c -o fgetfilecon.o fgetfilecon.c
fgetfilecon.c:6:23: sys/xattr.h: No such file or directory
make[1]: *** [fgetfilecon.o] Error 1
make[1]: Leaving directory `/tmp/libselinux-1.26/src'
make: *** [all] Error 2
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling libselinux 1.26
2005-09-12 19:59 Problem compiling libselinux 1.26 Pierre
@ 2005-09-12 20:17 ` Lorenzo Hernández García-Hierro
2005-09-12 21:21 ` Pierre
2005-09-13 12:58 ` Stephen Smalley
1 sibling, 1 reply; 4+ messages in thread
From: Lorenzo Hernández García-Hierro @ 2005-09-12 20:17 UTC (permalink / raw)
To: Pierre; +Cc: selinux
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
El lun, 12-09-2005 a las 21:59 +0200, Pierre escribió:
> # make
> make -C src
> make[1]: Entering directory `/tmp/libselinux-1.26/src'
> gcc -s -O3 -march=i686 -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -c -o fgetfilecon.o fgetfilecon.c
> fgetfilecon.c:6:23: sys/xattr.h: No such file or directory
> make[1]: *** [fgetfilecon.o] Error 1
> make[1]: Leaving directory `/tmp/libselinux-1.26/src'
> make: *** [all] Error 2
You need the file-system extended attributes related header files, but
you lack of them for some reason.
You can try to get them from http://sosdg.org/~coywolf/lxr/source/ or
re-install your kernel headers packages, or just get updated ones.
I hope it helps ;)
Cheers,
--
Lorenzo Hernández García-Hierro <lorenzo@gnu.org>
[1024D/6F2B2DEC] & [2048g/9AE91A22][http://tuxedo-es.org]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling libselinux 1.26
2005-09-12 20:17 ` Lorenzo Hernández García-Hierro
@ 2005-09-12 21:21 ` Pierre
0 siblings, 0 replies; 4+ messages in thread
From: Pierre @ 2005-09-12 21:21 UTC (permalink / raw)
To: selinux
Lorenzo Hernández García-Hierro wrote:
> El lun, 12-09-2005 a las 21:59 +0200, Pierre escribió:
>
>># make
>>make -C src
>>make[1]: Entering directory `/tmp/libselinux-1.26/src'
>>gcc -s -O3 -march=i686 -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
>>-c -o fgetfilecon.o fgetfilecon.c
>>fgetfilecon.c:6:23: sys/xattr.h: No such file or directory
>>make[1]: *** [fgetfilecon.o] Error 1
>>make[1]: Leaving directory `/tmp/libselinux-1.26/src'
>>make: *** [all] Error 2
>
>
> You need the file-system extended attributes related header files, but
> you lack of them for some reason.
>
> You can try to get them from http://sosdg.org/~coywolf/lxr/source/ or
> re-install your kernel headers packages, or just get updated ones.
Which software is providing these headers ? glibc ?
--
Pierre.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compiling libselinux 1.26
2005-09-12 19:59 Problem compiling libselinux 1.26 Pierre
2005-09-12 20:17 ` Lorenzo Hernández García-Hierro
@ 2005-09-13 12:58 ` Stephen Smalley
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Smalley @ 2005-09-13 12:58 UTC (permalink / raw)
To: Pierre; +Cc: Lorenzo Hernández García-Hierro, selinux
On Mon, 2005-09-12 at 21:59 +0200, Pierre wrote:
> # make
> make -C src
> make[1]: Entering directory `/tmp/libselinux-1.26/src'
> gcc -s -O3 -march=i686 -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -c -o fgetfilecon.o fgetfilecon.c
> fgetfilecon.c:6:23: sys/xattr.h: No such file or directory
> make[1]: *** [fgetfilecon.o] Error 1
> make[1]: Leaving directory `/tmp/libselinux-1.26/src'
> make: *** [all] Error 2
If you have a modern glibc (>= 2.3) built against modern kernel headers
(>= 2.4.20, or any 2.6 kernel), then getxattr/setxattr and sys/xattr.h
should be provided by glibc. Previously, they were provided by libattr,
with its header in attr/xattr.h, but since the xattr system calls were
mainstreamed, glibc has been supporting them directly.
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-13 12:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12 19:59 Problem compiling libselinux 1.26 Pierre
2005-09-12 20:17 ` Lorenzo Hernández García-Hierro
2005-09-12 21:21 ` Pierre
2005-09-13 12:58 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.