We are compiling samba on AIX 5.1 with export CC=gcc export CPPFLAGS="-I/usr/local/include -I/usr/local/ssl/lib/include" export LDFLAGS="-L/usr/local/lib -L/usr/local/ssl/lib" ./configure --enable-shared=no --enable-static=yes" we get the following error when using make: Compiling libsmb/clifile.c libsmb/clifile.c: In function `cli_unix_stat` libsmb/clifile.c:216: error `STAT_ST_BLOCKSIZE' undeclared .... Can someone help regards Mathias