[Samba] Probs to "make" Samba-3.0.25b

Michael.Kaiser at InfraServ.Gendorf.de Michael.Kaiser at InfraServ.Gendorf.de
Fri Aug 3 06:16:00 GMT 2007


Hello List,

I`m up to Install Samba 3.0.25b on a SuSE 8.1 Server.
Samba 3.0.14a is already successfully installed and should be updated.

By "make" the bins i get following error:

------------------cut-----------------------
gilbi:/usr/src/tpe/samba-3.0.25b/source # make 
Using FLAGS      =  -O -D_SAMBA_BUILD_=3  -I/usr/src/tpe/samba-3.0.25b/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE    -I/usr/src/tpe/samba-3.0.25b/source/lib -D_SAMBA_BUILD_=3
      PICFLAG    = -fPIC
      LIBS       = -lcrypt -lcap -lresolv -lresolv -lnsl -ldl
      LDFLAGS    = 
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined 
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
Generating smbd/build_options.c
Building include/proto.h
creating /usr/src/tpe/samba-3.0.25b/source/include/proto.h
Building include/build_env.h
creating /usr/src/tpe/samba-3.0.25b/source/nsswitch/winbindd_proto.h
creating /usr/src/tpe/samba-3.0.25b/source/web/swat_proto.h
creating /usr/src/tpe/samba-3.0.25b/source/client/client_proto.h
creating /usr/src/tpe/samba-3.0.25b/source/utils/net_proto.h
creating /usr/src/tpe/samba-3.0.25b/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from lib/replace/system/filesys.h:33,
                 from include/includes.h:104,
                 from /usr/src/tpe/samba-3.0.25b/source/dynconfig.c:21:
/usr/include/sys/mount.h:36: parse error before numeric constant
/usr/include/sys/mount.h:52: parse error before numeric constant
The following command failed:
gcc  -O -D_SAMBA_BUILD_=3  -I/usr/src/tpe/samba-3.0.25b/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE    -I/usr/src/tpe/samba-3.0.25b/source/lib -D_SAMBA_BUILD_=3 -DCONFIGFILE="/usr/local/samba/lib/smb.conf"  -DSBINDIR="/usr/local/samba/sbin" -DBINDIR="/usr/local/samba/bin" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat"  -DLOCKDIR="/usr/local/samba/var/locks" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DLOGFILEBASE="/usr/local/samba/var" -DSHLIBEXT="so" -DCONFIGDIR="/usr/local/samba/lib" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DPRIVATE_DIR="/usr/local/samba/private" -fPIC -c /usr/src/tpe/samba-3.0.25b/source/dynconfig.c -o dynconfig.o
make: *** [dynconfig.o] Error 1
------------------cut-----------------------

Do you know about this issue?

Thanks a lot!

Mit freundlichen Grüßen

Michael Kaiser 
Business Unit IT-Services
Network Solutions
InfraServ GmbH & Co. Gendorf KG
Industriepark Werk GENDORF



More information about the samba mailing list