Problem Installing libcap
I was posting in here earlier about a fprobe install, and a user suggested I install libcap-dev. The poster recommended this site https://launchpad.net/ubuntu/intrepi...:1.10-14build1 After going to the site and downloading, I "cd"'ed into the directory and did a "make install" as per the directions in the ReadMe. I am currently getting a parameter name omitted error after typing that. Anyone know why? Thanks.
|
Quote:
|
I'm getting the same error when I just type "make"
|
What is the error you get? And what distro you're using
Because I can run "make" and "make install" here (Slackware) just fine. |
I'm on Ubuntu 8.10
Is it because I have the libcap folder on the desktop? Is there a better place for me to put it before I make install? |
Anybody have any ideas? I need it for work =(
|
Did you try this package?
|
Quote:
glg:~/build/cdrkit/libcap-1.10.orig[/email]$ 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/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap/include' LD='ld' LIBS='-L/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap -lcap' LDFLAGS='-s ' VERSION='1' MINOR='10' LIBDIR='/lib' INCDIR='/usr/include' SBINDIR='/sbin' MANDIR='/usr/man' all make[1]: Entering directory `/home/glg/build/cdrkit/libcap-1.10.orig/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/home/mingdao/build/cdrkit/libcap-1.10.orig/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 XXX specifiers or ... before capget cap_sys.c:15: error: expected XXX specifiers or ... before header cap_sys.c:16: error: expected XXX 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 `/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap' make: *** [all] Error 2 is that the same with you? Have you solved it? I hope you could help me! Thank you for your help in advance. |
All times are GMT -5. The time now is 11:01 PM. |