followup: samba compile problem, Red Hat 7.2

David Talkington dtalk at prairienet.org
Thu Nov 1 18:50:03 GMT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>Compiling smbd/server.c
>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
>
>This built fine on 7.1.

I have reproduced this problem with a fresh, complete ("everything")
install of Red Hat 7.2, compiling as root with no environment changes
and no updates.  (The system which produced the original failure had
all available updates applied, including kernel 2.4.9.)

To circumvent the problem, I have commented out the offending
definition in /usr/include/asm/statfs.h, and samba-2.2.2 is now able
to compile.

I still have not heard from anyone who can confirm or shed light upon
this situation.  Thoughts from the trenches?

Cheers ... -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBO+IKBL9BpdPKTBGtEQL68QCfYgYfWIhy/erkSu1k7vpP8oNNZYUAnRwL
UE92FonVxjD2ZlhvEXVWgZOG
=2FV3
-----END PGP SIGNATURE-----






More information about the samba mailing list