[Samba] Problems Compiling Samba 3.0.2a on SLES8 SP3

Samba Samba at guidemail.com
Tue Mar 16 16:14:05 GMT 2004

I'm trying to get Samba to compile on SLES8 SP3 (Linux under z/VM) and I'm
getting the following error.  Configure ran fine with "./configure
--with-ads --with-winbind --with-krb5", but when I run make I get the
following output and error.

Using FLAGS =  -O -I/usr/local/include -I./popt -Iinclude
-I/usr/local/downloads/samba-3.0.2a/source/smbwrapper  -I.
-I/usr/local/include -I/usr/local/downloads/samba-3.0.2a/source   
      LIBS = -lcrypt -lresolv -lnsl -ldl
      LDSHFLAGS = -shared
      LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/downloads/samba-3.0.2a/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/downloads/samba-3.0.2a/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/local/downloads/samba-3.0.2a/source/nsswitch/winbindd_proto.h
creating /usr/local/downloads/samba-3.0.2a/source/web/swat_proto.h
creating /usr/local/downloads/samba-3.0.2a/source/client/client_proto.h
creating /usr/local/downloads/samba-3.0.2a/source/utils/net_proto.h
Compiling dynconfig.c
cc1: warning: changing search order for system directory
cc1: warning:   as it has already been specified as a non-system directory
In file included from /usr/include/asm/statfs.h:6,
                 from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:13,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/sys/capability.h:24,
                 from include/includes.h:355,
                 from dynconfig.c:21:
/usr/include/asm-s390/statfs.h:20: redefinition of `struct statfs'
make: *** [dynconfig.o] Error 1

Any suggestions are appreciated.

Josh Konkol, CNE MCSE
Technical Research Specialist
 .~.	GuideOne Insurance
/( )\	
^^-^^	samba at guidemail.com

This message and accompanying documents are covered by the Electronic
Communications Privacy Act, 18 U.S.C. §§ 2510-2521, and contains information
intended for the specified individual(s) only. This information is
confidential. If you are not the intended recipient or an agent responsible
for delivering it to the intended recipient, you are hereby notified that
you have received this document in error and that any review, dissemination,
copying, or the taking of any action based on the contents of this
information is strictly prohibited. If you have received this communication
in error, please notify us immediately by e-mail, and delete the original

More information about the samba mailing list