I'm trying compile samba-3.0.30 on Fedora 9 It seems to be like Bug# 5285 Using FLAGS = -O -D_SAMBA_BUILD_=3 -I/install/samba-3.0.30/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/install/samba-3.0.30/source/lib -D_SAMBA_BUILD_=3 PICFLAG = -fPIC LIBS = -lcrypt -lcap -lresolv -lresolv -lnsl -ldl LDFLAGS = -pie DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-Bsymbolic SHLIBEXT = so SONAMEFLAG = -Wl,-soname= Compiling smbd/oplock_linux.c smbd/oplock_linux.c:37: error: conflicting types for capget /usr/include/sys/capability.h:111: error: previous declaration of capget was here smbd/oplock_linux.c:39: error: conflicting types for capset /usr/include/sys/capability.h:110: error: previous declaration of capset was here The following command failed: gcc -I. -I/install/samba-3.0.30/source -O -D_SAMBA_BUILD_=3 -I/install/samba-3.0.30/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/install/samba-3.0.30/source/lib -D_SAMBA_BUILD_=3 -fPIC -c smbd/oplock_linux.c -o smbd/oplock_linux.o make: *** [smbd/oplock_linux.o] Error 1
Additional Info: Fedora 9 uses libcap-2.0.6 Fedora 8 uses libcap-1.10 Seems to be an incompatibility with libcap-2.x
*** This bug has been marked as a duplicate of 5285 ***