followup: samba compile problem, Red Hat 7.2

David Talkington dtalk at prairienet.org
Thu Nov 1 19:05:08 GMT 2001


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

Jeremy Allison wrote:

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

<snip>

>> 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.
>
>Well, RedHat 7.2 was finalized after Samba 2.2.2 was shipped, so
>I didn't get chance to test it on 7.2.
>
>It'll have to wait until Samba 2.2.3 to be supported I'm afraid.

Thanks for the note.  2.2.1a produced the same error, incidentally,
and that's the version that ships with Red Hat 7.2.  Perhaps RH
modified your code to fix that ... ?

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+INk79BpdPKTBGtEQIsfQCfYGTpuYlDGVWh/2pg0jCDroE3R6cAoMx/
tBokMZZY77ANHAgPPC7yS9vM
=dN9j
-----END PGP SIGNATURE-----






More information about the samba mailing list