AC_SYS_LARGEFILE check causing gcc compile failures on AIX and HP-UX

Stefan (metze) Metzmacher metze at samba.org
Tue Sep 11 09:55:57 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jerry,

> I'm seeing a lot of compile failures on AIX and HP-UX
> after moving Centeris' code base to the SAMBA_3_2_0 tree.
> The AIX failures are strangely causing failures about
> redefinitions in standard header files:
> 
> /usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64'
> /usr/include/sys/lockf.h:62: error: previous declaration of
>    'lockf64' was here

could it be that the first included header isn't "includes.h",
"lib/replace/replace.h" or "config.h"?

We had this problem in the build farm too. Otherwise
I need more context the generated Makefile,config.h
and at least the header section of the failing .c file
and the full error message (including the compiler cmd line).

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG5mYpm70gjA5TCD8RAu/TAKCpCx9X0BIxX8plqqIxvSO+1mGmeQCeKU/J
iMaHCvF2M2mreo+yJj/Yyr4=
=LzKO
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list