Error while compiling

Roger Martensson Roger.Martensson at mh.se
Wed Jun 27 11:53:53 GMT 2001


Hello!

I tried to compile Samba 2.2.0a with spinlocks to see if the daemon 
freeze I see is connected with the fcntl lock is the problem.

But I didn't manage to compile it. As I don't have the knowledge and the 
resource to debug the problem(even if it might be simple) I thought I 
would drop a line in here.

The system I used is Solaris 7(Sparc) with gcc 2.95.2.

The error message recieved was:
WARNING: you need to rerun autoconf
Using FLAGS =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DLOGFILEBASE="/usr/private/samba220a/var" 
-DCONFIGFILE="/usr/private/samba220a/lib/smb.conf" 
-DLMHOSTSFILE="/usr/private/samba220a/lib/lmhosts"   
-DSWATDIR="/usr/private/samba220a/swat" 
-DSBINDIR="/usr/private/samba220a/sbin" 
-DLOCKDIR="/usr/private/samba220a/var/locks" 
-DCODEPAGEDIR="/usr/private/samba220a/lib/codepages" 
-DDRIVERFILE="/usr/private/samba220a/lib/printers.def" 
-DBINDIR="/usr/private/samba220a/bin"  -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM="/bin/passwd" 
-DSMB_PASSWD_FILE="/usr/private/samba220a/private/smbpasswd" 
-DTDB_PASSWD_FILE="/usr/private/samba220a/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DLOGFILEBASE="/usr/private/samba220a/var" 
-DCONFIGFILE="/usr/private/samba220a/lib/smb.conf" 
-DLMHOSTSFILE="/usr/private/samba220a/lib/lmhosts"   
-DSWATDIR="/usr/private/samba220a/swat" 
-DSBINDIR="/usr/private/samba220a/sbin" 
-DLOCKDIR="/usr/private/samba220a/var/locks" 
-DCODEPAGEDIR="/usr/private/samba220a/lib/codepages" 
-DDRIVERFILE="/usr/private/samba220a/lib/printers.def" 
-DBINDIR="/usr/private/samba220a/bin"  -DHAVE_INCLUDES_H 
-DPASSWD_PROGRAM="/bin/passwd" 
-DSMB_PASSWD_FILE="/usr/private/samba220a/private/smbpasswd" 
-DTDB_PASSWD_FILE="/usr/private/samba220a/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
Compiling smbd/server.c
In file included from include/includes.h:615,
                 from smbd/server.c:22:
include/../tdb/spinlock.h:35: conflicting types for `rwlock_t'
/usr/include/synch.h:67: previous declaration of `rwlock_t'
make: *** [smbd/server.o] Error 1

Btw.. What is the first message?

Good luck,

-- 
Roger Martensson        E-Mail:  Roger.Martensson at mh.se
Genvagen 56C            
S-831 42 OSTERSUND      Magister Mundi Sum
SWEDEN                  Work: +46-(0)63-16 54 45
Home: +46-(0)63-139583  Cell: +46-(0)70-629 54 45






More information about the samba-technical mailing list