Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14583] New: libcap fails to build due missing include

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14583] New: libcap fails to build due missing include
  • Date: 19 Jul 2008 19:49:09 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14583

Summary: libcap fails to build due missing include
Product: Codex
Version: test grimoire
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: gsherwood AT sourcemage.org
CC: stealth AT sourcemage.org


Here is the error:

Building libcap
Using gcc version: 4.2.3
Installing in dir: /usr/src/libcap-2.11
libcap 2.11
/usr/bin/make -C libcap all
make[1]: Entering directory `/usr/src/libcap-2.11/libcap'
=> making cap_names.c from <linux/capability.h>
gcc -O2 _makenames.c -o _makenames
_makenames.c:10:28: error: sys/capability.h: No such file or directory
_makenames.c:25: error: invalid application of 'sizeof' to incomplete type
'struct __user_cap_data_struct'
make[1]: Leaving directory `/usr/src/libcap-2.11/libcap'
make[1]: *** [_makenames] Error 1
make: *** [all] Error 2

capability.h is installed in /usr/src/linux vice sys. sedit'ing _makenames.c
fixes this problem. I am not sure if this is the same problem was was taken
out here:

2008-07-11 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.11, quoting the paths!
* INSTALL: quoting the paths!
* PRE_BUILD: glibc fix no longer needed, quoting the paths!


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page