SAMBA V3 popt/findme.c not including unistd.h

John E. Malmberg wb8tyw at
Wed May 17 20:52:17 GMT 2006

John E. Malmberg wrote:
> When I try to build SAMBA V3, the makefile is attempting to compile 
> popt/findme.c with out either HAVE_CONFIG_H or HAVE_UNISTD_H defined.
> Because of that, unistd.h is not included, so there is no prototype for 
> the access() function, nor any symbol for X_OK.
> The only defines set by the makefile are:
> I do not know why the _SAMBA_BUILD_ is in there twice.

The compilation of popt/popt.c and popt/poptconfig.c have similar issues 
with failing to include required header files.

wb8tyw at
Personal Opinion Only

More information about the samba-technical mailing list