My first attempt to build 2.5.2

Luke Kenneth Casson Leighton lkcl at samba.org
Tue May 2 22:40:58 GMT 2000


tee hee :)

On Wed, 3 May 2000, Chris Garrigues wrote:

> I'm running a linux system somewhere between redhat 6.1 and 6.2, and am 
> configuring with:
> 
> /configure --prefix=/usr --with-lockdir=/var/lock/samba --with-sambaconfdir=/etc --with-privatedir=/etc --with-swatdir=/usr/share/swat --localstatedir=/var/log/samba --with-automount --with-quotas --with-pam --with-smbmount --with-ldap
> 
> and it ends with:
> 
> ..
> checking configure summary
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config
> 
> Looking in config.log, I find this:
> 
> configure:9785: checking for fcntl locking
> configure:9798: gcc -o conftest -O   conftest.c -lreadline  -ldl -lcrypt 1>&5
> /tmp/ccjBUaf2.o: In function `main':
> /tmp/ccjBUaf2.o(.text+0x24): undefined reference to `sys_fork'
> /tmp/ccjBUaf2.o(.text+0x6d): undefined reference to `sys_getpid'
> /tmp/ccjBUaf2.o(.text+0xd8): undefined reference to `sys_getpid'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 9794 "configure"
> #include "confdefs.h"
> #include "./tests/fcntl_lock.c"
> configure:9821: checking for broken (glibc2.1/x86) 64 bit fcntl locking
> configure:9834: gcc -o conftest -O   conftest.c -lreadline  -ldl -lcrypt 1>&5
> tests/fcntl_lock64.c: In function `main':
> In file included from configure:9831:
> tests/fcntl_lock64.c:35: storage size of `lock' isn't known
> configure: failed program was:
> #line 9830 "configure"
> #include "confdefs.h"
> #include "./tests/fcntl_lock64.c"
> configure:9859: checking for 64 bit fcntl locking
> configure:9892: gcc -o conftest -O   conftest.c -lreadline  -ldl -lcrypt 1>&5
> configure: In function `main':
> configure:9883: storage size of `fl64' isn't known
> configure: failed program was:
> #line 9868 "configure"
> #include "confdefs.h"
> 
> #if defined(HAVE_UNISTD_H)
> #include <unistd.h>
> #endif
> #include <stdio.h>
> #include <stdlib.h>
> 
> #ifdef HAVE_FCNTL_H
> #include <fcntl.h>
> #endif
> 
> #ifdef HAVE_SYS_FCNTL_H
> #include <sys/fcntl.h>
> #endif
> main() { struct flock64 fl64;
> #if defined(F_SETLKW64) && defined(F_SETLK64) && defined(F_GETLK64)
> exit(0);
> #else
> exit(1);
> #endif
> }
> 
> -- 
> Chris Garrigues                 virCIO
> http://www.DeepEddy.Com/~cwg/	http://www.virCIO.Com
> +1 512 432 4046                 +1 512 374 0500
> 				4314 Avenue C
> O-				Austin, TX  78751-3709
>                                 
> 
>   My email address is an experiment in SPAM elimination.  For an
>   explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 
> 
>     Nobody ever got fired for buying Microsoft,
>       but they could get fired for relying on Microsoft.
> 
> 
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 239 bytes
Desc: 
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20000503/3065f3c8/attachment.bin


More information about the samba-ntdom mailing list