Verified on OSX-10.3.6 (darwin 7.6.0) and FreeBSD-5.3 but I believe that the problem is platform
tar xpzf samba-3.0.8.tar.gz
libsmb/clifile.c: In function `cli_unix_stat':
libsmb/clifile.c:216: error: `STAT_ST_BLOCKSIZE' undeclared (first use in this function)
libsmb/clifile.c:216: error: (Each undeclared identifier is reported only once
libsmb/clifile.c:216: error: for each function it appears in.)
make: *** [libsmb/clifile.o] Error 1
I see that in configure.in all the definitions for the macro STAT_ST_BLOCKSIZE (and other definitions/
checks possibly needed for various platforms, like BROKEN_GETGRNAM for netbsd etc) are in a case
statment under the following if:
if test "$enable_shared" = "yes"; then
case "$host_os" in
*darwin*) AC_DEFINE(DARWINOS,1,[Whether the host os is Darwin/MacOSX])
LDSHFLAGS="-bundle -flat_namespace -undefined suppress"
This obviously fails to set STAT_ST_BLOCKSIZE and other various macros when building --disable-
If it can help I have splitted the things and done a cleaned up configure.in, patch available by email if
requested (I can't see in the bug report form a place to submit a patch).
Created attachment 779 [details]
the problem is already fixed since a long time. Thanks for reporting!