I tried this question on the Samba user list, but haven't gotten a response,
anyone here have any ideas ??


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/include
-I/usr/local/downloads/samba-3.0.2a/source/ubiqx
-I/usr/local/downloads/samba-3.0.2a/source/smbwrapper  -I.
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-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
"/usr/local/include"
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
 /V\    
/( )\   
^^-^^   [EMAIL PROTECTED]


   
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
message.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to