CVS-HEAD -- make error: "pdb_ldap.c:3666: undefined reference to `get_global_sam_name' [was: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"]

Kurt Pfeifle kpfeifle at danka.de
Thu May 15 19:29:59 GMT 2003


Kurt Pfeifle wrote:
> I configured "--with-vfs" -- "make" produced this error:
> 
> [....]
> Compiling smbd/vfs.c
> smbd/vfs.c: In function `vfs_init_custom':
> smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)
> smbd/vfs.c:267: (Each undeclared identifier is reported only once
> smbd/vfs.c:267: for each function it appears in.)
> make: *** [smbd/vfs.o] Error 1
> 
> 
> SuSE-8.0, gcc-2.95.3
> 
> 
> Cheers,
> Kurt
> 

I re-run ./autogen.sh, but got errors (also in compiling other
programs)

Now back-graded to autoconf-2.56 and autogen.sh worked again.

But now "make" says this:

    [....]
    Linking bin/smbd
    passdb/pdb_ldap.o: In function `pdb_init_ldapsam_common':
    /home/kde4/cups-versionen/CVSstuff/samba/source/passdb/pdb_ldap.c:3666: undefined reference to `get_global_sam_name'
    collect2: ld returned 1 exit status
    make: *** [bin/smbd] Error 1





More information about the samba-technical mailing list