Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libselinux fails;page.h? hardened , clean inst.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ucntcme
n00b
n00b


Joined: 11 Oct 2004
Posts: 32

PostPosted: Thu Nov 29, 2007 4:18 pm    Post subject: libselinux fails;page.h? hardened , clean inst. Reply with quote

clean install of /usr/portage/profiles/hardened/x86/2.6 from the minimal CD.

Trying to build libselinux (1.3.0 per portage) and get:
Code:
anonicalize_context.c:8:22: asm/page.h: No such file or directory
canonicalize_context.c: In function `security_canonicalize_context_raw':
canonicalize_context.c:26: error: `PAGE_SIZE' undeclared (first use in this function)
canonicalize_context.c:26: error: (Each undeclared identifier is reported only once
canonicalize_context.c:26: error: for each function it appears in.)
make[1]: *** [canonicalize_context.o] Error 1



WTF? I have page.h in /usr/src/linux/include/asm (asm being a symlink to asm-i386)

hardened-sources 2.2.33-r8
gcc-config shows current profile as i686-pc-linux-gnu-3.4.6


Any help appreciated.
Back to top
View user's profile Send private message
ucntcme
n00b
n00b


Joined: 11 Oct 2004
Posts: 32

PostPosted: Thu Nov 29, 2007 5:32 pm    Post subject: kinda resolved Reply with quote

So I symlinked that page.h into /usr/include/asm/ and it compiled.

But should I have needed to do that? That doesn't smell right to me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum