Hi, Anyone! Help me get Samba compiled, if you can. Latest Samba, freshest FreeBSD 8.0. So, full steps: fetch http://www.samba.org/samba/ftp/stable/samba-3.4.5.tar.gz tar zxf samba-3.4.5.tar.gz ; cd samba-3.4.5/source3 ./configure --prefix=/usr/local --with-configdir=/usr/local/etc --with-mandir=/usr/share/man --with-libiconv=/usr/local --with-krb5=/usr/local \ --enable-swat --enable-shared-libs --with-ads --with-libsmbclient --with-winbind --with-ldap --with-acl-support --enable-cups \ --with-libaddns --with-libsmbsharemodes --with-aio-support --with-included-popt --with-quotas make ...... Compiling utils/smbget.c Compiling libsmb/libsmb_cache.c In file included from libsmb/libsmb_cache.c:25: include/libsmb_internal.h:177: error: expected specifier-qualifier-list before 'smbc_smb_encrypt_level' libsmb/libsmb_cache.c: In function 'SMBC_add_cached_server': libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c: In function 'SMBC_get_cached_server': libsmb/libsmb_cache.c:121: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:163: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function libsmb/libsmb_cache.c:178: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function libsmb/libsmb_cache.c: In function 'SMBC_remove_cached_server': libsmb/libsmb_cache.c:203: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type libsmb/libsmb_cache.c: In function 'SMBC_purge_cached_servers': libsmb/libsmb_cache.c:232: error: dereferencing pointer to incomplete type How to cure it?
That what happens with those, who don't use FreeBSD ports infrastructure :) On Tue, Feb 9, 2010 at 11:35 AM, . . <bbtgb at mail.ru> wrote:> Hi, Anyone! > Help me get Samba compiled, if you can. Latest Samba, freshest FreeBSD 8.0. So, full steps: > > fetch http://www.samba.org/samba/ftp/stable/samba-3.4.5.tar.gz > tar zxf samba-3.4.5.tar.gz ; cd samba-3.4.5/source3 > > ./configure --prefix=/usr/local --with-configdir=/usr/local/etc --with-mandir=/usr/share/man --with-libiconv=/usr/local --with-krb5=/usr/local \ > ?--enable-swat --enable-shared-libs --with-ads --with-libsmbclient --with-winbind --with-ldap --with-acl-support --enable-cups \ > ?--with-libaddns --with-libsmbsharemodes --with-aio-support --with-included-popt --with-quotas > libsmb/libsmb_cache.c: In function 'SMBC_purge_cached_servers': > libsmb/libsmb_cache.c:232: error: dereferencing pointer to incomplete type