[Samba] compile 3.0.28a probs.

Collen Blijenberg collen at hermanjordan.nl
Fri May 23 10:32:57 GMT 2008

Hi all, i have some odd errors i never had before, when compiling samba 

first i had an error in oplock_linux.c

:37 error: conflicting types for capget
/usr/include/sys/capability.h:111 previous declaration of capget was here
:39 error: conflicting types for capset
/usr/include/sys/capability.h:110 previous declaration of capset was here

i removed the capset and capget from this linux file, and it continued 
compiling again.
it was a quick and dirty fix. but still odd. (did i misted a library or 
so ?!?!?)

after that the make command spit this at me:

mount.cifs.c: in function 'main'
mount.cifs.c: 1183 : error 'PATH_MAX' undeclared (first use in this 

dunno how to fix it, but what LIBS did i forget to install here.

it's a fresh install on:

Fedora core 9
gcc - 4.3.0

Tips ?!?!?!? hints ?!?!? clue's ?!?!?

Cheers, Collen

More information about the samba mailing list