TNG does not compile (libsamrpass.so undefined reference to ...)

Luke Kenneth Casson Leighton lkcl at samba.org
Sat May 13 08:03:19 GMT 2000


hey, guys, try complete new checkouts.  destroy the entire cvs copy you
have, don't use cvs update, i think public cvs got out-of-sync.

On Sat, 13 May 2000, Jens Skripczynski wrote:

> Hi,
> 
> G E N E R A L
> * * * * * * * *
> -------------
> OS          : linux (redhat 6.2b)
> -------------
> Compiler    :  gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> -------------
> CVS-Branch  :  SAMBA_TNG
> -------------
> Version/Date:  today (how can I retrive the time of the last update ?)
> -------------
> Error Type  : reproduceable
> -------------
> Short Desc. : libsamrpass.so fails to compile
> -------------
> Trigger     :
> export INSTALLDIR=$SW_ROOT/i386_lnx2/samba-TNG-`date +%Y.%m.%d` 
> echo $INSTALLDIR
> CFLAGS="-O2 -m486" \
> /configure \
> --prefix=$INSTALLDIR \
> --sysconfdir=/usr/local/etc/samba \
> --localstatedir=/var/log/samba \
> --libdir=/usr/local/etc/samba/lib \
> --with-privatedir=/usr/local/etc/samba/private \
> --with-sambaconfdir=/usr/local/etc/samba \
> --with-lockdir=/var/lock/samba \
> --with-sam-pwdb=passwd \
> --with-gnu-ld \
> --with-pam \
> && make 
> 
> LOG:
> Linking bin/samrd
> rpc_server/srv_pipe_ntlmssp.o: In function `api_ntlmssp_verify':
> rpc_server/srv_pipe_ntlmssp.o(.text+0x9f7): undefined reference to
> `map_nt_and_unix_username'
> bin/.libs/libsamrpass.so: undefined reference to `del_group_entry'
> ..(many lines deleted)
> bin/.libs/libsamrpass.so: undefined reference to `add_alias_member'
> collect2: ld returned 1 exit status
> make: *** [bin/samrd] Error 1
> 
> -------------
> Solution    : partially ...
> >rgrep -x h del_group_entry *
> include/proto.h:BOOL del_group_entry(uint32 rid);
> include/smb.h:  BOOL (*del_group_entry) (uint32);
> 
> >rgrep -x c del_group_entry *
> groupdb/groupdb.c:BOOL del_group_entry(uint32 rid)
> groupdb/groupdb.c:      return gpdb_ops->del_group_entry(rid);
> samrd/srv_samr_grp_tdb.c:       if (!del_group_entry(group_rid))
> samrd/srv_samr_passdb.c:        if (!del_group_entry(group_rid))
> 
> 
> Seems that del_group_entry lives in groupdb.c.
> Maybe some includes/libs/... are missing ?
> 
> 
> Ciao
> 
> Jens Skripczynski
> -- 
> E-Mail: skripi at hrzpub.tu-darmstadt.de
> 
> Computers are like airconditioners: They stop working 
> properly if you open windows.
> 

<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



More information about the samba-ntdom mailing list