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

John E. Malmberg wb8tyw at qsl.net
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:
> 
>    -d_SAMBA_BUILD_ -dLDAP_DEPRECIATED -d_SAMBA_BUILD_
> 
> 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.

-John
wb8tyw at qsl.net
Personal Opinion Only



More information about the samba-technical mailing list