[Samba] compile error Samba 3.0.20a Solaris 8
Xiaping Lin
Xiaping.Lin at qimr.edu.au
Mon Oct 17 02:09:05 GMT 2005
Hi, All
I am having error compiling Samba 3.2.10a on a Solaris 8 box, using gcc
version 3.0.
./configure --prefix=/usr/local/samba-3.0.20a --with-pam
--with-pam_smbpass --with-automount --with-quotas --with-acl-support
--with-winbind --with-ldap --with-ads
I got following:
Using FLAGS = -I/usr/local/include -Wall -D_SAMBA_BUILD_ -I./popt
-Iinclude -I/opt/local/software/samba/samba-3.0.20a/source/include
-I/opt/local/software/samba/samba-3.0.20a/source/ubiqx -I.
-I/usr/local/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -I/opt/local/software/samba/samba-3.0.20a/source
-I/opt/local/software/samba/samba-3.0.20a/source/tdb
LIBS = -lsec -lgen -lresolv -lsocket -lnsl
LDSHFLAGS = -G -L/usr/local/lib -R/usr/local/lib -lthread
LDFLAGS = -L/usr/local/lib -R/usr/local/lib -lthread
PIE_CFLAGS =
PIE_LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
creating /opt/local/software/samba/samba-3.0.20a/source/include/proto.h
..........
.....
creating /opt/local/software/samba/samba-3.0.20a/source/web/swat_proto.h
nawk: can't open file
web/cgi.cnweb/diagnose.cnweb/startstop.cnweb/statuspage.cnweb/swat.cnweb/neg_lang.c
source line number 13
creating
/opt/local/software/samba/samba-3.0.20a/source/client/client_proto.h
nawk: can't open file client/client.cnclient/clitar.c
source line number 13
creating
/opt/local/software/samba/samba-3.0.20a/source/utils/net_proto.h
nawk: can't open file
utils/net.cnutils/net_ads.cnutils/net_ads_cldap.cnutils/net_help.cnutils/net_rap.cnutils/net_rpc.cnutils/net_rpc_samsync.cnutils/net_rpc_join.cnutils/net_time.cnutils/net_lookup.cnutils/net_cache.cnutils/net_groupmap.cnutils/net_idmap.cnutils/net_status.cnutils/net_rpc_printer.cnutils/net_rpc_rights.cnutils/net_rpc_service.cnutils/net_rpc_registry.c
source line number 13
Compiling dynconfig.c
In file included from nsswitch/winbind_nss_solaris.h:54,
from nsswitch/winbind_nss.h:34,
from nsswitch/winbind_nss_config.h:79,
from nsswitch/winbind_client.h:1,
from include/includes.h:944,
from dynconfig.c:21:
/usr/include/nss_dbdefs.h:375: parse error before "projid_t"
/usr/include/nss_dbdefs.h:400: parse error before '}' token
/usr/include/nss_dbdefs.h:419: field `key' has incomplete type
In file included from include/includes.h:1000,
from dynconfig.c:21:
include/proto.h:1:1: unterminated #ifndef
make: *** [dynconfig.o] Error 1
I found similar problem posted to this list(URL below). But can't found
any answer.
http://lists.samba.org/archive/samba-technical/2004-June/036249.html
Help!!
Thanks in advance.
Xiaping
More information about the samba
mailing list