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

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sat Jul 19 15:49:09 EDT 2008


           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.

More information about the SM-Grimoire-Bugs mailing list