[Samba] Build problem on s390 - dynconfig.o

Thomas Munck Steenholdt tmus at tmus.dk
Tue Apr 27 09:53:19 GMT 2004


Has anyone had any problems building on SuSE SLES 8 for s390 with all
patches applied... After applying patches to my build server last night,
building samba fails with the following...

mycomp:/srv/build/samba-3.0.2a/source # make
Using FLAGS =  -O -I./popt -Iinclude
-I/srv/build/samba-3.0.2a/source/include -I
/srv/build/samba-3.0.2a/source/ubiqx
-I/srv/build/samba-3.0.2a/source/smbwrapper
   -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/srv/build/sa
mba-3.0.2a/source
       LIBS = -lcrypt -lattr -lresolv -lnsl -ldl
       LDSHFLAGS = -shared
       LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
creating /srv/build/samba-3.0.2a/source/include/proto.h
Building include/wrepld_proto.h
creating /srv/build/samba-3.0.2a/source/include/wrepld_proto.h
Building include/build_env.h
creating /srv/build/samba-3.0.2a/source/nsswitch/winbindd_proto.h
creating /srv/build/samba-3.0.2a/source/web/swat_proto.h
creating /srv/build/samba-3.0.2a/source/client/client_proto.h
creating /srv/build/samba-3.0.2a/source/utils/net_proto.h
Compiling dynconfig.c
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

Same thing for 3.0.2a, 3.0.3pre2 and 3.0.3rc1 (didn't try others)

Any idea, anyone?


Best regards

Thomas




More information about the samba mailing list