Bug 5269 - Samba have a conflivt with linux-headers 2.6.24 if build with caps support
Summary: Samba have a conflivt with linux-headers 2.6.24 if build with caps support
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.28
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 15:52 UTC by Maciej Piechotka
Modified: 2008-02-18 15:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2008-02-18 15:52:21 UTC
Compiling smbd/oplock.c
Compiling smbd/oplock_irix.c
Compiling smbd/oplock_linux.c
smbd/oplock_linux.c:38: error: conflicting types for ‘capget’
/usr/include/sys/capability.h:111: error: previous declaration of ‘capget’ was here
smbd/oplock_linux.c:40: error: conflicting types for ‘capset’
/usr/include/sys/capability.h:110: error: previous declaration of ‘capset’ was here
The following command failed:
i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-fs/samba-3.0.28/work/samba-3.0.28/source  -O2 -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -D_SAMBA_BUILD_=3  -I/var/tmp/portage/net-fs/samba-3.0.28/work/samba-3.0.28/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/var/tmp/portage/net-fs/samba-3.0.28/work/samba-3.0.28/source/lib -D_SAMBA_BUILD_=3 -fPIC -c smbd/oplock_linux.c -o smbd/oplock_linux.o
make: *** [smbd/oplock_linux.o] Error 1