Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 9528] New: libcap fails to build on some systems

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 9528] New: libcap fails to build on some systems
  • Date: Fri, 19 Aug 2005 09:01:16 -0700 (PDT)

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

Summary: libcap fails to build on some systems
Product: Codex
Version: stable grimoire
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: eric AT sandall.us


# cast -c -V on libcap
...
gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith
-Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes
-Wmissing-prototypes -Wn
ested-externs -Winline -Wshadow -pedantic -g -O -march=athlon -mmmx -m3dnow
-pipe -DPIC -fPIC -O3 -I/usr/src/libcap-1.10/libcap/include -c cap_text.c -o c
ap_text.o
In file included from cap_text.c:14:
libcap.h:57:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:58:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:101:25: warning: ISO C does not permit named variadic macros
cap_text.c:86:27: warning: ISO C99 requires rest arguments to be used
cap_text.c:162:49: warning: ISO C99 requires rest arguments to be used
cap_text.c:166:31: warning: ISO C99 requires rest arguments to be used
cap_text.c:199:52: warning: ISO C99 requires rest arguments to be used
cap_text.c:208:26: warning: ISO C99 requires rest arguments to be used
cap_text.c: In function `_setbits':
cap_text.c:33: warning: traditional C rejects ISO C style function definitions
cap_text.c: In function `_clrbits':
cap_text.c:41: warning: traditional C rejects ISO C style function definitions
cap_text.c: In function `namcmp':
cap_text.c:48: warning: traditional C rejects ISO C style function definitions
cap_text.c: In function `lookupname':
cap_text.c:59: warning: traditional C rejects ISO C style function definitions
cap_text.c:62: warning: cast discards qualifiers from pointer target type
cap_text.c: In function `cap_from_text':
cap_text.c:80: warning: traditional C rejects ISO C style function definitions
cap_text.c:100: warning: traditional C rejects automatic aggregate
initialization
cap_text.c: In function `getstateflags':
cap_text.c:224: warning: traditional C rejects ISO C style function
definitions
cap_text.c: In function `cap_to_text':
cap_text.c:240: warning: traditional C rejects ISO C style function
definitions
cap_text.c:243: warning: traditional C rejects automatic aggregate
initialization
gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith
-Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes
-Wmissing-prototypes -Wn
ested-externs -Winline -Wshadow -pedantic -g -O -march=athlon -mmmx -m3dnow
-pipe -DPIC -fPIC -O3 -I/usr/src/libcap-1.10/libcap/include -c cap_sys.c -o ca
p_sys.o
In file included from cap_sys.c:10:
libcap.h:57:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:58:3: warning: suggest hiding #error from traditional C with an
indented #
libcap.h:101:25: warning: ISO C does not permit named variadic macros
cap_sys.c: In function `capget':
cap_sys.c:14: warning: traditional C rejects ISO C style function definitions
cap_sys.c: In function `capset':
cap_sys.c:18: warning: traditional C rejects ISO C style function definitions
cap_sys.c: In function `capget':
cap_sys.c:14: error: can't find a register in class `BREG' while reloading
`asm'
make[1]: *** [cap_sys.o] Error 1
make[1]: Leaving directory `/usr/src/libcap-1.10/libcap'

This is on a stable/0.1 machine with glibc using 2.6.11.2 headers. Another
machine using test and glibc using 2.6.12.0 headers builds libcap fine.
Testing
if updating glibc to 2.6.12.0 headers on stable/0.1 fixes it.

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



  • [SM-Grimoire-Bugs] [Bug 9528] New: libcap fails to build on some systems, bugzilla-daemon, 08/19/2005

Archive powered by MHonArc 2.6.24.

Top of Page