Re: dbus build error



You need libcap-devel installed.

Bob

On Thu, 2005-03-10 at 02:03 -0500, a wrote:
> [wrapped for client's sake]
> 
> this error's from a hal build (2.6.10) -- dbus already built successfully
> 
> 
> if cc -DHAVE_CONFIG_H -I. -I. -I..
> -DPACKAGE_SYSCONF_DIR=\""/usr/local/gnome/etc"\"
> -DPACKAGE_DATA_DIR=\""/usr/local/gnome/share"\"
> -DPACKAGE_BIN_DIR=\""/usr/local/gnome/bin"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local/gnome//locale"\"
> -DPACKAGE_LOCALSTATEDIR=\""/usr/local/gnome/var"\" -I..
> -I/usr/local/gnome/include/glib-2.0
> -I/usr/local/gnome/lib/glib-2.0/include
> -I/usr/local/gnome/include/dbus-1.0
> -I/usr/local/gnome/lib/dbus-1.0/include    -I/usr/local/gnome/include 
> -I/usr/local/gnome/include -L/usr/local/gnome/lib -O2 -pipe -Wall
> -Wchar-subscripts -Wmissing-declarations -Wnested-externs
> -Wpointer-arith -Wcast-align -Wsign-compare -MT hald.o -MD -MP -MF
> ".deps/hald.Tpo" -c -o hald.o hald.c; \
> then mv -f ".deps/hald.Tpo" ".deps/hald.Po"; else rm -f
> ".deps/hald.Tpo"; exit 1; fi
> hald.c:42:28: sys/capability.h: No such file or directory
> hald.c: In function `drop_privileges':
> hald.c:258: error: `cap_t' undeclared (first use in this function)
> hald.c:258: error: (Each undeclared identifier is reported only once
> hald.c:258: error: for each function it appears in.)
> hald.c:258: error: parse error before "cap"
> hald.c:298: error: `cap' undeclared (first use in this function)
> hald.c:298: warning: implicit declaration of function `cap_from_text'
> hald.c:300: warning: implicit declaration of function `cap_set_proc'
> hald.c:305: warning: implicit declaration of function `cap_free'
> make[4]: *** [hald.o] Error 1
> make[4]: Leaving directory `/home/moi/g/work/main.d/hal-0.2.98/hald'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/moi/g/work/main.d/hal-0.2.98/hald'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/moi/g/work/main.d/hal-0.2.98'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/moi/g/work/main.d/hal-0.2.98'
> make: *** [build-/home/moi/g/work/main.d/hal-0.2.98/Makefile] Error 2
-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]