I am positively certain this "large file support ... not available on this platform" is wrong. I've formatted a 2TB ext4 partition using "-T largefiles". If there's something else that defines a large file system, I don't know what. I don't quite know what the message "Checking for -D_LARGE_FILES" means, but I've found no where to set these compile option in the makefile.
Checking getconf LFS_CFLAGS : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Checking getconf large file support flags work : not found Checking for large file support without additional flags : not found Checking for -D_FILE_OFFSET_BITS=64 : not found Checking for -D_LARGE_FILES : not found Samba requires large file support support, but not available on this platform: sizeof(off_t) < 8 Error in lib/talloc configure (error code 1) make: *** [samba] Error 1
There is, in fact, no /usr/include/sys/cdefs.h. Linking the one from /usr/include/unistring/cde
In file included from /usr/include/stdio.h:27:0, from conftest.c:12: /usr/include/features.h:375:25: fatal error: sys/cdefs.h: No such file or directory # include <sys/cdefs.h> ^ compilation terminated. configure:3793: $? = 1 configure:3800: ./conftest ./configure: line 3802: ./conftest: No such file or directory configure:3804: $? = 127 configure:3811: error: in `/user/util/src/openchange-2.1-QUADRANT': configure:3813: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details
From novice to tech pro — start learning today.