Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5706 - libcap-1.10 no longer compiles
Attached to Project:
Arch Linux
Opened by david cheung (scruffidog) - Sunday, 29 October 2006, 17:03 GMT
Opened by david cheung (scruffidog) - Sunday, 29 October 2006, 17:03 GMT
|
Detailscurrent system has the following installed:
glibc 2.5-1 kernel-headers 2.6.18.1-1 gcc 4.1.1-3 kernel26ck 2.6.18.1.ck1-1 The following errors were encountered: [root@wideload libcap-1.10]# make make -C libcap CC='gcc' CFLAGS='-Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/var/opt/abs/local/libcap/src/libcap-1.10/libcap/include' LD='ld' LIBS='-L/var/opt/abs/local/libcap/src/libcap-1.10/libcap -lcap' LDFLAGS='-s ' VERSION='1' MINOR='10' LIBDIR='/lib' INCDIR='/usr/include' SBINDIR='/sbin' MANDIR='/usr/man' all make[1]: Entering directory `/var/opt/abs/local/libcap/src/libcap-1.10/libcap' gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/var/opt/abs/local/libcap/src/libcap-1.10/libcap/include -c cap_sys.c -o cap_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:14: error: expected declaration specifiers or ‘...’ before ‘capget’ cap_sys.c:15: error: expected declaration specifiers or ‘...’ before ‘header’ cap_sys.c:16: error: expected declaration specifiers or ‘...’ before ‘data’ cap_sys.c:18: warning: return type defaults to ‘int’ cap_sys.c:18: warning: no previous prototype for ‘_syscall2’ cap_sys.c: In function ‘_syscall2’: cap_sys.c:18: error: expected declaration specifiers before ‘_syscall2’ cap_sys.c:20: warning: traditional C rejects ISO C style function definitions cap_sys.c:14: error: parameter name omitted cap_sys.c:15: error: parameter name omitted cap_sys.c:16: error: parameter name omitted make[1]: *** [cap_sys.o] Error 1 make[1]: Leaving directory `/var/opt/abs/local/libcap/src/libcap-1.10/libcap' make: *** [all] Error 2 |
This task depends upon