[Samba] compiling 3.2.0 on freebsd 7.0 release fails - Samba

This is a discussion on [Samba] compiling 3.2.0 on freebsd 7.0 release fails - Samba ; Hi, Today I tried to install the new 3.2.0 release, but that fails :-( config.status: executing rm-stdbool.h commands Using FLAGS = -O -D_SAMBA_BUILD_=3 -I/opt/include -I/usr/disk1/samba-3.2.0/source/popt -I/usr/disk1/samba-3.2.0/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [Samba] compiling 3.2.0 on freebsd 7.0 release fails

  1. [Samba] compiling 3.2.0 on freebsd 7.0 release fails

    Hi,

    Today I tried to install the new 3.2.0 release, but that fails :-(

    config.status: executing rm-stdbool.h commands
    Using FLAGS = -O -D_SAMBA_BUILD_=3 -I/opt/include
    -I/usr/disk1/samba-3.2.0/source/popt
    -I/usr/disk1/samba-3.2.0/source/iniparser/src -Iinclude -I./include -I.
    -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns
    -I./librpc -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./lib/replace
    -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt
    -I/include -I/usr/disk1/samba-3.2.0/source/lib -D_SAMBA_BUILD_=3
    PICFLAG = -fPIC -DPIC
    LIBS = -lcrypt
    LDFLAGS = -pie -Wl,-z,relro -L/opt/lib -Wl,-R/opt/lib -L/opt/lib
    -L./bin
    DYNEXP = -Wl,--export-dynamic
    LDSHFLAGS = -shared -Wl,-z,relro -L/opt/lib -Wl,-R/opt/lib
    -L/opt/lib -L./bin
    SHLIBEXT = so
    SONAMEFLAG = -Wl,-soname,
    Generating smbd/build_options.c
    Building include/proto.h
    creating /usr/disk1/samba-3.2.0/source/include/proto.h
    Building include/build_env.h
    creating /usr/disk1/samba-3.2.0/source/winbindd/winbindd_proto.h
    creating /usr/disk1/samba-3.2.0/source/web/swat_proto.h
    creating /usr/disk1/samba-3.2.0/source/libnet/libnet_proto.h
    creating /usr/disk1/samba-3.2.0/source/client/client_proto.h
    creating /usr/disk1/samba-3.2.0/source/utils/net_proto.h
    creating /usr/disk1/samba-3.2.0/source/utils/ntlm_auth_proto.h
    Compiling lib/talloc/talloc.c
    Linking non-shared library bin/libtalloc.a
    Compiling lib/replace/replace.c
    Compiling lib/replace/snprintf.c
    Compiling lib/replace/getpass.c
    Compiling lib/replace/strptime.c
    Compiling lib/replace/repdir_getdirentries.c
    creating /usr/disk1/samba-3.2.0/source/exports/libtalloc.syms
    Linking shared library bin/libtalloc.so
    Compiling lib/tdb/common/tdb.c
    Compiling lib/tdb/common/dump.c
    Compiling lib/tdb/common/transaction.c
    Compiling lib/tdb/common/error.c
    Compiling lib/tdb/common/traverse.c
    Compiling lib/tdb/common/freelist.c
    Compiling lib/tdb/common/freelistcheck.c
    Compiling lib/tdb/common/io.c
    Compiling lib/tdb/common/lock.c
    Compiling lib/tdb/common/open.c
    Linking non-shared library bin/libtdb.a
    creating /usr/disk1/samba-3.2.0/source/exports/libtdb.syms
    Linking shared library bin/libtdb.so
    Compiling nsswitch/libwbclient/wbclient.c
    Compiling nsswitch/libwbclient/wbc_util.c
    Compiling nsswitch/libwbclient/wbc_pwd.c
    Compiling nsswitch/libwbclient/wbc_idmap.c
    Compiling nsswitch/libwbclient/wbc_sid.c
    Compiling nsswitch/libwbclient/wbc_pam.c
    Compiling nsswitch/wb_common.c
    creating /usr/disk1/samba-3.2.0/source/exports/libwbclient.syms
    Linking shared library bin/libwbclient.so
    Compiling libsmb/libsmb_cache.c
    In file included from libsmb/libsmb_cache.c:25:
    include/libsmb_internal.h:176: 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
    The following command failed:
    gcc -I. -I/usr/disk1/samba-3.2.0/source -O -D_SAMBA_BUILD_=3
    -I/opt/include -I/usr/disk1/samba-3.2.0/source/popt
    -I/usr/disk1/samba-3.2.0/source/iniparser/src -Iinclude -I./include -I.
    -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns
    -I./librpc -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./lib/replace
    -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt
    -I/include -I/usr/disk1/samba-3.2.0/source/lib -D_SAMBA_BUILD_=3 -fPIC
    -DPIC -c libsmb/libsmb_cache.c -o libsmb/libsmb_cache.o
    gmake: *** [libsmb/libsmb_cache.o] Error 1

    I'd run configure like this:
    LDFLAGS="-L/opt/lib" ./configure --prefix=/opt --enable-cups

    uname -a:
    FreeBSD duts.intranet.erje.net 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu
    May 1 18:19:15 CEST 2008 root@duts.intranet.erje.net:/usr/obj/usr/src/sys/DUTS i386

    Any help or insight ? Compiling/making 3.0.29 this way ran okay, last
    week.

    Regards,
    Robert
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] compiling 3.2.0 on freebsd 7.0 release fails

    On Sat, Jul 05, 2008 at 08:36:27PM +0200, Robert Joosten wrote:
    > Today I tried to install the new 3.2.0 release, but that fails :-(


    Please file a bug with bugzilla.samba.org and use the
    libsmbclient component.

    Thanks,

    Volker

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.5 (GNU/Linux)

    iD8DBQFIcHVvUzqjrWwMRl0RAmHrAKCY3UY7OBOJqvKaU7r3ID oJodyJVACeJb7K
    tKCCFTXeGMHwV1L9kARF5F4=
    =5VrB
    -----END PGP SIGNATURE-----


+ Reply to Thread