[Samba] --with-acl-support

Jerry Haltom wasabi at larvalstage.net
Tue May 20 17:07:57 GMT 2003


I am unable to figure out how to compile Samba 2.2.8a with ACl support.

My first problem was --with-acl-support would not work,./configure would
spew out about an ACL test failing. I determined that perhaps I did not
have a correct version of the acl development libraries.

So, I built and installed acl 2.2.9-1 and the dev libraries.

Now, Samba gets past the ACL ./configure checks, but fails on
compilation with a LOT of "parse errors", all related to acl.

This is some of the relevent output of make.

        In file included from include/smb.h:463,
                         from include/includes.h:683,
                         from smbd/server.c:22:
        include/vfs.h:111: parse error before `acl_t'
        include/vfs.h:112: parse error before `acl_entry_t'
        include/vfs.h:113: parse error before `acl_entry_t'
        include/vfs.h:114: parse error before `acl_entry_t'
        include/vfs.h:115: warning: no semicolon at end of struct or
        union
        include/vfs.h:116: parse error before `*'
        include/vfs.h:116: `acl_t' declared as function returning a
        function
        include/vfs.h:116: warning: data definition has no type or
        storage class
        include/vfs.h:117: parse error before `acl_permset_t'
        include/vfs.h:118: parse error before `acl_permset_t'
        include/vfs.h:119: parse error before `acl_t'
        include/vfs.h:120: parse error before `*'
        include/vfs.h:120: `acl_t' declared as function returning a
        function
        include/vfs.h:120: warning: data definition has no type or
        storage class
        include/vfs.h:121: parse error before `acl_t'
        include/vfs.h:122: parse error before `acl_entry_t'
        include/vfs.h:123: parse error before `acl_entry_t'
        include/vfs.h:124: parse error before `acl_entry_t'
        include/vfs.h:125: parse error before `acl_t'
        include/vfs.h:126: parse error before `acl_type_t'
        include/vfs.h:127: parse error before `acl_t'
        include/vfs.h:129: parse error before `acl_permset_t'
        include/vfs.h:131: parse error before `acl_t'
        include/vfs.h:132: parse error before `acl_tag_t'
        In file included from include/includes.h:683,
                         from smbd/server.c:22:
        include/smb.h:481: field `vfs_ops' has incomplete type
        In file included from include/includes.h:743,
                         from smbd/server.c:22:
        include/proto.h:852: parse error before `the_acl'
        include/proto.h:853: parse error before `entry_d'
        include/proto.h:854: parse error before `entry_d'
        include/proto.h:855: parse error before `entry_d'
        include/proto.h:856: parse error before `sys_acl_get_file'
        include/proto.h:856: parse error before `acl_type_t'
        include/proto.h:856: warning: data definition has no type or
        storage class
        include/proto.h:857: parse error before `sys_acl_get_fd'
        include/proto.h:857: warning: data definition has no type or
        storage class
        include/proto.h:858: parse error before `permset'
        include/proto.h:858: `sys_acl_clear_perms' redeclared as
        different kind of symbol
        include/vfs.h:117: previous declaration of `sys_acl_clear_perms'
        include/proto.h:859: parse error before `permset'
        include/proto.h:859: `sys_acl_add_perm' redeclared as different
        kind of symbol
        include/vfs.h:118: previous declaration of `sys_acl_add_perm'
        include/proto.h:860: parse error before `permset'
        include/proto.h:860: `sys_acl_get_perm' redeclared as different
        kind of symbol
        include/vfs.h:129: previous declaration of `sys_acl_get_perm'
        include/proto.h:861: parse error before `the_acl'
        include/proto.h:861: `sys_acl_to_text' redeclared as different
        kind of symbol
        include/vfs.h:119: previous declaration of `sys_acl_to_text'
        include/proto.h:862: parse error before `sys_acl_init'
        include/proto.h:862: warning: data definition has no type or
        storage class
        include/proto.h:863: parse error before `*'
        include/proto.h:863: `sys_acl_create_entry' redeclared as
        different kind of symbol
        include/vfs.h:121: previous declaration of
        `sys_acl_create_entry'
        include/proto.h:864: parse error before `entry'
        include/proto.h:864: `sys_acl_set_tag_type' redeclared as
        different kind of symbol
        include/vfs.h:122: previous declaration of
        `sys_acl_set_tag_type'
        include/proto.h:865: parse error before `entry'
        include/proto.h:865: `sys_acl_set_qualifier' redeclared as
        different kind of symbol
        include/vfs.h:123: previous declaration of
        `sys_acl_set_qualifier'
        include/proto.h:866: parse error before `entry'
        include/proto.h:866: `sys_acl_set_permset' redeclared as
        different kind of symbol
        include/vfs.h:124: previous declaration of `sys_acl_set_permset'
        include/proto.h:867: parse error before `theacl'
        include/proto.h:867: `sys_acl_valid' redeclared as different
        kind of symbol
        include/vfs.h:125: previous declaration of `sys_acl_valid'
        include/proto.h:868: parse error before `acl_type_t'
        include/proto.h:868: `sys_acl_set_file' redeclared as different
        kind of symbol
        include/vfs.h:126: previous declaration of `sys_acl_set_file'
        include/proto.h:869: parse error before `acl_t'
        include/proto.h:869: `sys_acl_set_fd' redeclared as different
        kind of symbol
        include/vfs.h:127: previous declaration of `sys_acl_set_fd'
        include/proto.h:870: `sys_acl_delete_def_file' redeclared as
        different kind of symbol
        include/vfs.h:128: previous declaration of
        `sys_acl_delete_def_file'
        include/proto.h:871: `sys_acl_free_text' redeclared as different
        kind of symbol
        include/vfs.h:130: previous declaration of `sys_acl_free_text'
        include/proto.h:872: parse error before `the_acl'
        include/proto.h:872: `sys_acl_free_acl' redeclared as different
        kind of symbol
        include/vfs.h:131: previous declaration of `sys_acl_free_acl'
        include/proto.h:873: parse error before `acl_tag_t'
        include/proto.h:873: `sys_acl_free_qualifier' redeclared as
        different kind of symbol
        include/vfs.h:132: previous declaration of
        `sys_acl_free_qualifier'
        include/proto.h:874: parse error before `the_acl'
        include/proto.h:875: parse error before `entry_d'
        include/proto.h:876: parse error before `entry_d'
        include/proto.h:877: parse error before `entry_d'
        include/proto.h:878: parse error before `sys_acl_get_file'
        include/proto.h:878: parse error before `acl_type_t'
        include/proto.h:878: warning: data definition has no type or
        storage class
        include/proto.h:879: parse error before `sys_acl_get_fd'
        include/proto.h:879: warning: data definition has no type or
        storage class
        include/proto.h:880: parse error before `permset'
        include/proto.h:881: parse error before `permset'
        include/proto.h:882: parse error before `permset'
        include/proto.h:883: parse error before `the_acl'
        include/proto.h:884: parse error before `sys_acl_init'
        include/proto.h:884: warning: data definition has no type or
        storage class
        include/proto.h:885: parse error before `*'
        include/proto.h:886: parse error before `entry'
        include/proto.h:887: parse error before `entry'
        include/proto.h:888: parse error before `entry'
        include/proto.h:889: parse error before `theacl'
        include/proto.h:890: parse error before `acl_type_t'
        include/proto.h:891: parse error before `acl_t'
        include/proto.h:894: parse error before `the_acl'
        include/proto.h:895: parse error before `acl_tag_t'
        include/proto.h:896: parse error before `acl_d'
        include/proto.h:897: parse error before `entry_d'
        include/proto.h:898: parse error before `entry_d'
        include/proto.h:899: parse error before `entry_d'
        include/proto.h:900: parse error before `sys_acl_get_file'
        include/proto.h:900: parse error before `acl_type_t'
        include/proto.h:900: warning: data definition has no type or
        storage class
        include/proto.h:901: parse error before `sys_acl_get_fd'
        include/proto.h:901: warning: data definition has no type or
        storage class
        include/proto.h:902: parse error before `permset_d'
        include/proto.h:903: parse error before `permset_d'
        include/proto.h:904: parse error before `permset_d'
        include/proto.h:905: parse error before `acl_d'
        include/proto.h:906: parse error before `sys_acl_init'
        include/proto.h:906: warning: data definition has no type or
        storage class
        include/proto.h:907: parse error before `*'
        include/proto.h:908: parse error before `entry_d'
        include/proto.h:909: parse error before `entry_d'
        include/proto.h:910: parse error before `entry_d'
        include/proto.h:911: parse error before `acl_d'
        include/proto.h:912: parse error before `acl_type_t'
        include/proto.h:913: parse error before `acl_t'
        include/proto.h:916: parse error before `acl_d'
        include/proto.h:917: parse error before `acl_tag_t'
        include/proto.h:918: parse error before `acl_d'
        include/proto.h:919: parse error before `entry_d'
        include/proto.h:920: parse error before `entry_d'
        include/proto.h:921: parse error before `entry_d'
        include/proto.h:922: parse error before `sys_acl_get_file'
        include/proto.h:922: parse error before `acl_type_t'
        include/proto.h:922: warning: data definition has no type or
        storage class
        include/proto.h:923: parse error before `sys_acl_get_fd'
        include/proto.h:923: warning: data definition has no type or
        storage class
        include/proto.h:924: parse error before `permset_d'
        include/proto.h:925: parse error before `permset_d'
        include/proto.h:926: parse error before `permset_d'
        include/proto.h:927: parse error before `acl_d'
        include/proto.h:928: parse error before `sys_acl_init'
        include/proto.h:928: warning: data definition has no type or
        storage class
        include/proto.h:929: parse error before `*'
        include/proto.h:930: parse error before `entry_d'
        include/proto.h:931: parse error before `entry_d'
        include/proto.h:932: parse error before `entry_d'
        include/proto.h:933: parse error before `acl_d'
        include/proto.h:934: parse error before `acl_type_t'
        include/proto.h:935: parse error before `acl_t'
        include/proto.h:938: parse error before `acl_d'
        include/proto.h:939: parse error before `acl_tag_t'
        include/proto.h:940: parse error before `acl_d'
        include/proto.h:941: parse error before `entry_d'
        include/proto.h:942: parse error before `entry_d'
        include/proto.h:943: parse error before `entry_d'
        include/proto.h:944: parse error before `sys_acl_get_file'
        include/proto.h:944: parse error before `acl_type_t'
        include/proto.h:944: warning: data definition has no type or
        storage class
        include/proto.h:945: parse error before `sys_acl_get_fd'
        include/proto.h:945: warning: data definition has no type or
        storage class
        include/proto.h:946: parse error before `permset_d'
        include/proto.h:947: parse error before `permset_d'
        include/proto.h:948: parse error before `permset_d'
        include/proto.h:949: parse error before `acl_d'
        include/proto.h:950: parse error before `sys_acl_init'
        include/proto.h:950: warning: data definition has no type or
        storage class
        include/proto.h:951: parse error before `*'
        include/proto.h:952: parse error before `entry_d'
        include/proto.h:953: parse error before `entry_d'
        include/proto.h:954: parse error before `entry_d'
        include/proto.h:955: parse error before `acl_d'
        include/proto.h:956: parse error before `acl_type_t'
        include/proto.h:957: parse error before `acl_t'
        include/proto.h:960: parse error before `acl_d'
        include/proto.h:961: parse error before `acl_tag_t'
        include/proto.h:962: parse error before `theacl'
        include/proto.h:963: parse error before `entry_d'
        include/proto.h:964: parse error before `entry_d'
        include/proto.h:965: parse error before `entry_d'
        include/proto.h:966: parse error before `sys_acl_get_file'
        include/proto.h:966: parse error before `acl_type_t'
        include/proto.h:966: warning: data definition has no type or
        storage class
        include/proto.h:967: parse error before `sys_acl_get_fd'
        include/proto.h:967: warning: data definition has no type or
        storage class
        include/proto.h:968: parse error before `permset'
        include/proto.h:969: parse error before `permset'
        include/proto.h:970: parse error before `theacl'
        include/proto.h:971: parse error before `sys_acl_init'
        include/proto.h:971: warning: data definition has no type or
        storage class
        include/proto.h:972: parse error before `*'
        include/proto.h:973: parse error before `entry'
        include/proto.h:974: parse error before `entry'
        include/proto.h:975: parse error before `entry'
        include/proto.h:976: parse error before `theacl'
        include/proto.h:977: parse error before `acl_type_t'
        include/proto.h:978: parse error before `acl_t'
        include/proto.h:980: parse error before `permset'
        include/proto.h:982: parse error before `posix_acl'
        include/proto.h:983: parse error before `acl_tag_t'
        include/proto.h:984: parse error before `the_acl'
        include/proto.h:985: parse error before `entry_d'
        include/proto.h:986: parse error before `entry_d'
        include/proto.h:987: parse error before `entry_d'
        include/proto.h:988: parse error before `sys_acl_get_file'
        include/proto.h:988: parse error before `acl_type_t'
        include/proto.h:988: warning: data definition has no type or
        storage class
        include/proto.h:989: parse error before `sys_acl_get_fd'
        include/proto.h:989: warning: data definition has no type or
        storage class
        include/proto.h:990: parse error before `permset'
        include/proto.h:991: parse error before `permset'
        include/proto.h:992: parse error before `permset'
        include/proto.h:993: parse error before `the_acl'
        include/proto.h:995: parse error before `sys_acl_init'
        include/proto.h:995: warning: data definition has no type or
        storage class
        include/proto.h:996: parse error before `*'
        include/proto.h:997: parse error before `entry'
        include/proto.h:998: parse error before `entry'
        include/proto.h:999: parse error before `entry'
        include/proto.h:1000: parse error before `theacl'
        include/proto.h:1001: parse error before `acl_type_t'
        include/proto.h:1002: parse error before `acl_t'
        include/proto.h:1004: parse error before `the_acl'
        include/proto.h:1005: parse error before `acl_tag_t'
        include/proto.h:4626: parse error before `free_empty_sys_acl'
        include/proto.h:4626: parse error before `acl_t'
        include/proto.h:4626: warning: data definition has no type or
        storage class
        include/proto.h:4874: parse error before `acl_t'
        include/proto.h:4875: parse error before `acl_entry_t'
        include/proto.h:4876: parse error before `acl_entry_t'
        include/proto.h:4877: parse error before `acl_entry_t'
        include/proto.h:4878: parse error before
        `vfswrap_sys_acl_get_file'
        include/proto.h:4878: parse error before `acl_type_t'
        include/proto.h:4878: warning: data definition has no type or
        storage class
        include/proto.h:4879: parse error before
        `vfswrap_sys_acl_get_fd'
        include/proto.h:4879: warning: data definition has no type or
        storage class
        include/proto.h:4880: parse error before `acl_permset_t'
        include/proto.h:4881: parse error before `acl_permset_t'
        include/proto.h:4882: parse error before `acl_t'
        include/proto.h:4883: parse error before `vfswrap_sys_acl_init'
        include/proto.h:4883: warning: data definition has no type or
        storage class
        include/proto.h:4884: parse error before `acl_t'
        include/proto.h:4885: parse error before `acl_entry_t'
        include/proto.h:4886: parse error before `acl_entry_t'
        include/proto.h:4887: parse error before `acl_entry_t'
        include/proto.h:4888: parse error before `acl_t'
        include/proto.h:4889: parse error before `acl_type_t'
        include/proto.h:4890: parse error before `acl_t'
        include/proto.h:4892: parse error before `acl_permset_t'
        include/proto.h:4894: parse error before `acl_t'
        include/proto.h:4895: parse error before `acl_tag_t'
        

I do not know where to go from here. Do I have the correct version of
ACL? Am I missing something important? Does Samba --with-acl-support not
work?

Thank you.

Jerry Haltom
Feedback Plus, Inc.




More information about the samba mailing list