Compiling Error (fwd)
Lynn Zhang
lyzhang at umich.edu
Wed Apr 5 01:42:42 GMT 2000
Dear Samba Group,
I am compiling samba now. The error I get is
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
when I compile,
I have this option,
CFLAGS="-pipe -O3" ./configure --with-afs \
--with-krb4=/afs/lsa.umich.edu/group/admin/software/build/samba/samba-2.0.5a
\
--with-syslog \
--with-quotas \
--with-lockdir=/afs/lsa.umich.edu/group/admin/software/build/samba/samba-2.0.5a/var/locks
\
--with-swatdir=/afs/lsa.umich.edu/group/admin/software/build/samba/samba-2.0.5a/swat
Thanks for your help!
I also get some error in config.log, the next is only part of the
config.log.
ld: fatal: library -ldir: not found
ld: fatal: File processing errors. No output written to conftest
configure: failed program was:
#line 1684 "configure"
#include "confdefs.h"
configure:1885: sys/id.h: No such file or directory
configure: failed program was:
#line 1884 "configure"
#include "confdefs.h"
#include <sys/id.h>
#line 2044 "configure"
#include "confdefs.h"
#include <sys/fs/s5param.h>
configure:2039: checking for sys/filsys.h
configure:2049: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2045: sys/filsys.h: No such file or directory
configure: failed program was:
#line 2044 "configure"
#include "confdefs.h"
#include <sys/filsys.h>
configure:2089: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2085: sys/dustat.h: No such file or directory
configure: failed program was:
#line 2084 "configure"
#include "confdefs.h"
#include <sys/dustat.h>
configure: failed program was:
#line 2589 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif
; return 0; }
configure:2648: gcc -o conftest -O conftest.c 1>&5
configure: failed program was:
#line 2635 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}
More information about the samba-technical
mailing list