2.2.0-alpha3 - still (still!) compile problem on ReliantUNIX

Gerald Carter gcarter at valinux.com
Wed Apr 4 14:29:14 GMT 2001


On Wed, 04 Apr 2001 08:13:13 Andrej Borsenkow wrote:
>
> Compiling nsswitch/wb_common.c
> /usr/include/unistd.h   288: [error]:   CFE1020 identifier 
> "off64_t" is undefined extern int ftruncate64(int, off64_t);
> 
> /usr/include/unistd.h   338: [error]:   CFE1020 identifier 
> "off64_t" is undefined extern int lockf64(int, int, off64_t);
>
>  .... etc etc etc ....
> 
> Now, that's becoming ridiculous. I asked, if original patch 
> was wrong; I explained, why I needed it; I never got any reply 
> why it wasn't applied.

Well it looks like the configure script is broken actually.

winbind_nss_config.h has the following include...

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

So the question is why is 

	AC_CHECK_HEADERS(unistd.h)

Not finding it.  Can you verify that HAVE_UNISTD_H is defined 
in config.h?






Thanks, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list