Can't Compile under RH7.2

Alon Rubinstein alon at hamut.com
Thu Jan 24 11:05:11 GMT 2002


trying to compile samba-2.2.2 on RH7.2 with the default kernel. After I run ./configure I run make and get:

In file included from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:14,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/sys/capability.h:24,
                 from include/includes.h:330,
                 from smbd/server.c:22:
/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
make: *** [smbd/server.o] Error 1


The CFLAGS line in samba-2.2.2/source/Makefile is:

CFLAGS=-DHAVE_CRYPT_DECL -I/usr/include/openssl -O  -g -DBROKEN_REDHAT_7_SYSTEM_HEADERS


any ideas?


Alon Rubinstein
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list