[Samba] Problems building Samba on SuSE Linux 8
Hall, Ken (IDS ECCS)
KeHall at exchange.ml.com
Fri Apr 11 12:51:28 GMT 2003
I've been having problems building Samba on SuSE 8 (S390), and I've made some progress figuring out why.
The error is "Redefinition of structure statfs" during compile of smbd/server.c.
There are two statfs.h include files on my system: One in /usr/include/sys, and another in /usr/include/asm-s390, and they're different. The Samba include.h file includes the one from sys, if it
finds it, but there's a later chain of includes starting with capability.h that includes the other one, and it tries to redefine the structure.
Problem is, I'm not sure which is correct. The arrangement on my SuSE 7.2 system is a little different. I can't tell if this is a bug in the include files, or in the Samba configure.
Odd thing is that the Samba 2.2.5 package that came with my system won't recompile for the same reason. I've opened a bug report on the Samba site, and I'm trying to open one with SuSE, but there are
administrative hurdles I need to deal with first.
Does anyone have any ideas about this? I've heard from one other person experiencing this on PPC.
More information about the samba