Bluehost.com Web Hosting $6.95

[Samba] compiling 3.2.0 on freebsd 7.0 release fails

This is a discussion on [Samba] compiling 3.2.0 on freebsd 7.0 release fails within the Samba forums, part of the Networking and Network Related category; Hi, Today I tried to install the new 3.2.0 release, but that fails :-( config.status: executing rm-stdbool....


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-05-2008
Robert Joosten
 
Posts: n/a
Default [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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0