Francesco Mosca
2002-Nov-23 10:47 UTC
[Samba] 2.2.7 compile error using --with-acl-support on debian
hi, i'm trying to package samba2.2.7 on a debian woody, using --with-acl-support. the configure part seems ok, but when the compile starts i get a lot of errors.. what's wrong? attached the sensitive part of the dpkg-buildpackage output. thanks -- Francesco Mosca <askmosca@tin.it> -------------- next part -------------- /usr/bin/make -C source all nsswitch/libnss_wins.so make[1]: Entering directory `/usr/src/samba-2.2.7/source' Using FLAGS = -O -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOGFILEBASE="/var/log/samba" -DCONFIGFILE="/etc/samba/smb.conf" -DLMHOSTSFILE="/etc/samba/lmhosts" -DSWATDIR="/usr/share/samba/swat" -DSBINDIR="/usr/sbin" -DLOCKDIR="/var/run/samba" -DCODEPAGEDIR="/usr/share/samba/codepages" -DDRIVERFILE="/etc/samba/printers.def" -DBINDIR="/usr/bin" -DPIDDIR="/var/run/samba" -DLIBDIR="/usr/lib" -DVARDIR="/var" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/etc/samba/smbpasswd" -DTDB_PASSWD_FILE="/etc/samba/smbpasswd.tdb" Using FLAGS32 = -O -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOGFILEBASE="/var/log/samba" -DCONFIGFILE="/etc/samba/smb.conf" -DLMHOSTSFILE="/etc/samba/lmhosts" -DSWATDIR="/usr/share/samba/swat" -DSBINDIR="/usr/sbin" -DLOCKDIR="/var/run/samba" -DCODEPAGEDIR="/usr/share/samba/codepages" -DDRIVERFILE="/etc/samba/printers.def" -DBINDIR="/usr/bin" -DPIDDIR="/var/run/samba" -DLIBDIR="/usr/lib" -DVARDIR="/var" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/etc/samba/smbpasswd" -DTDB_PASSWD_FILE="/etc/samba/smbpasswd.tdb" Using LIBS = -lacl -lcups -lnsl -lcrypt -ldl -lpam Compiling smbd/server.c In file included from include/smb.h:462, from include/includes.h:677, 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:677, from smbd/server.c:22: include/smb.h:480: field `vfs_ops' has incomplete type In file included from include/includes.h:737, from smbd/server.c:22: include/proto.h:211: parse error before `the_acl' include/proto.h:212: parse error before `entry_d' include/proto.h:213: parse error before `entry_d' include/proto.h:214: parse error before `entry_d' include/proto.h:215: parse error before `sys_acl_get_file' include/proto.h:215: parse error before `acl_type_t' include/proto.h:215: warning: data definition has no type or storage class include/proto.h:216: parse error before `sys_acl_get_fd' include/proto.h:216: warning: data definition has no type or storage class include/proto.h:217: parse error before `permset' include/proto.h:217: `sys_acl_clear_perms' redeclared as different kind of symbol include/vfs.h:117: previous declaration of `sys_acl_clear_perms' include/proto.h:218: parse error before `permset' include/proto.h:218: `sys_acl_add_perm' redeclared as different kind of symbol include/vfs.h:118: previous declaration of `sys_acl_add_perm' include/proto.h:219: parse error before `permset' include/proto.h:219: `sys_acl_get_perm' redeclared as different kind of symbol include/vfs.h:129: previous declaration of `sys_acl_get_perm' include/proto.h:220: parse error before `the_acl' include/proto.h:220: `sys_acl_to_text' redeclared as different kind of symbol include/vfs.h:119: previous declaration of `sys_acl_to_text' include/proto.h:221: parse error before `sys_acl_init' include/proto.h:221: warning: data definition has no type or storage class include/proto.h:222: parse error before `*' include/proto.h:222: `sys_acl_create_entry' redeclared as different kind of symbol include/vfs.h:121: previous declaration of `sys_acl_create_entry' include/proto.h:223: parse error before `entry' include/proto.h:223: `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:224: parse error before `entry' include/proto.h:224: `sys_acl_set_qualifier' redeclared as different kind of symbol include/vfs.h:123: previous declaration of `sys_acl_set_qualifier' include/proto.h:225: parse error before `entry' include/proto.h:225: `sys_acl_set_permset' redeclared as different kind of symbol include/vfs.h:124: previous declaration of `sys_acl_set_permset' include/proto.h:226: parse error before `theacl' include/proto.h:226: `sys_acl_valid' redeclared as different kind of symbol include/vfs.h:125: previous declaration of `sys_acl_valid' include/proto.h:227: parse error before `acl_type_t' include/proto.h:227: `sys_acl_set_file' redeclared as different kind of symbol include/vfs.h:126: previous declaration of `sys_acl_set_file' include/proto.h:228: parse error before `acl_t' include/proto.h:228: `sys_acl_set_fd' redeclared as different kind of symbol include/vfs.h:127: previous declaration of `sys_acl_set_fd' include/proto.h:229: `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:230: `sys_acl_free_text' redeclared as different kind of symbol include/vfs.h:130: previous declaration of `sys_acl_free_text' include/proto.h:231: parse error before `the_acl' include/proto.h:231: `sys_acl_free_acl' redeclared as different kind of symbol include/vfs.h:131: previous declaration of `sys_acl_free_acl' include/proto.h:232: parse error before `acl_tag_t' include/proto.h:232: `sys_acl_free_qualifier' redeclared as different kind of symbol include/vfs.h:132: previous declaration of `sys_acl_free_qualifier' include/proto.h:233: parse error before `the_acl' include/proto.h:234: parse error before `entry_d' include/proto.h:235: parse error before `entry_d' include/proto.h:236: parse error before `entry_d' include/proto.h:237: parse error before `sys_acl_get_file' include/proto.h:237: parse error before `acl_type_t' include/proto.h:237: warning: data definition has no type or storage class include/proto.h:238: parse error before `sys_acl_get_fd' include/proto.h:238: warning: data definition has no type or storage class include/proto.h:239: parse error before `permset' include/proto.h:240: parse error before `permset' include/proto.h:241: parse error before `permset' include/proto.h:242: parse error before `the_acl' include/proto.h:243: parse error before `sys_acl_init' include/proto.h:243: warning: data definition has no type or storage class include/proto.h:244: parse error before `*' include/proto.h:245: parse error before `entry' include/proto.h:246: parse error before `entry' include/proto.h:247: parse error before `entry' include/proto.h:248: parse error before `theacl' include/proto.h:249: parse error before `acl_type_t' include/proto.h:250: parse error before `acl_t' include/proto.h:253: parse error before `the_acl' include/proto.h:254: parse error before `acl_tag_t' include/proto.h:255: parse error before `acl_d' include/proto.h:256: parse error before `entry_d' include/proto.h:257: parse error before `entry_d' include/proto.h:258: parse error before `entry_d' include/proto.h:259: parse error before `sys_acl_get_file' include/proto.h:259: parse error before `acl_type_t' include/proto.h:259: warning: data definition has no type or storage class include/proto.h:260: parse error before `sys_acl_get_fd' include/proto.h:260: warning: data definition has no type or storage class include/proto.h:261: parse error before `permset_d' include/proto.h:262: parse error before `permset_d' include/proto.h:263: parse error before `permset_d' include/proto.h:264: parse error before `acl_d' include/proto.h:265: parse error before `sys_acl_init' include/proto.h:265: warning: data definition has no type or storage class include/proto.h:266: parse error before `*' include/proto.h:267: parse error before `entry_d' include/proto.h:268: parse error before `entry_d' include/proto.h:269: parse error before `entry_d' include/proto.h:270: parse error before `acl_d' include/proto.h:271: parse error before `acl_type_t' include/proto.h:272: parse error before `acl_t' include/proto.h:275: parse error before `acl_d' include/proto.h:276: parse error before `acl_tag_t' include/proto.h:277: parse error before `acl_d' include/proto.h:278: parse error before `entry_d' include/proto.h:279: parse error before `entry_d' include/proto.h:280: parse error before `entry_d' include/proto.h:281: parse error before `sys_acl_get_file' include/proto.h:281: parse error before `acl_type_t' include/proto.h:281: warning: data definition has no type or storage class include/proto.h:282: parse error before `sys_acl_get_fd' include/proto.h:282: warning: data definition has no type or storage class include/proto.h:283: parse error before `permset_d' include/proto.h:284: parse error before `permset_d' include/proto.h:285: parse error before `permset_d' include/proto.h:286: parse error before `acl_d' include/proto.h:287: parse error before `sys_acl_init' include/proto.h:287: warning: data definition has no type or storage class include/proto.h:288: parse error before `*' include/proto.h:289: parse error before `entry_d' include/proto.h:290: parse error before `entry_d' include/proto.h:291: parse error before `entry_d' include/proto.h:292: parse error before `acl_d' include/proto.h:293: parse error before `acl_type_t' include/proto.h:294: parse error before `acl_t' include/proto.h:297: parse error before `acl_d' include/proto.h:298: parse error before `acl_tag_t' include/proto.h:299: parse error before `acl_d' include/proto.h:300: parse error before `entry_d' include/proto.h:301: parse error before `entry_d' include/proto.h:302: parse error before `entry_d' include/proto.h:303: parse error before `sys_acl_get_file' include/proto.h:303: parse error before `acl_type_t' include/proto.h:303: warning: data definition has no type or storage class include/proto.h:304: parse error before `sys_acl_get_fd' include/proto.h:304: warning: data definition has no type or storage class include/proto.h:305: parse error before `permset_d' include/proto.h:306: parse error before `permset_d' include/proto.h:307: parse error before `permset_d' include/proto.h:308: parse error before `acl_d' include/proto.h:309: parse error before `sys_acl_init' include/proto.h:309: warning: data definition has no type or storage class include/proto.h:310: parse error before `*' include/proto.h:311: parse error before `entry_d' include/proto.h:312: parse error before `entry_d' include/proto.h:313: parse error before `entry_d' include/proto.h:314: parse error before `acl_d' include/proto.h:315: parse error before `acl_type_t' include/proto.h:316: parse error before `acl_t' include/proto.h:319: parse error before `acl_d' include/proto.h:320: parse error before `acl_tag_t' include/proto.h:321: parse error before `theacl' include/proto.h:322: parse error before `entry_d' include/proto.h:323: parse error before `entry_d' include/proto.h:324: parse error before `entry_d' include/proto.h:325: parse error before `sys_acl_get_file' include/proto.h:325: parse error before `acl_type_t' include/proto.h:325: warning: data definition has no type or storage class include/proto.h:326: parse error before `sys_acl_get_fd' include/proto.h:326: warning: data definition has no type or storage class include/proto.h:327: parse error before `permset' include/proto.h:328: parse error before `permset' include/proto.h:329: parse error before `theacl' include/proto.h:330: parse error before `sys_acl_init' include/proto.h:330: warning: data definition has no type or storage class include/proto.h:331: parse error before `*' include/proto.h:332: parse error before `entry' include/proto.h:333: parse error before `entry' include/proto.h:334: parse error before `entry' include/proto.h:335: parse error before `theacl' include/proto.h:336: parse error before `acl_type_t' include/proto.h:337: parse error before `acl_t' include/proto.h:339: parse error before `permset' include/proto.h:341: parse error before `posix_acl' include/proto.h:342: parse error before `acl_tag_t' include/proto.h:343: parse error before `the_acl' include/proto.h:344: parse error before `entry_d' include/proto.h:345: parse error before `entry_d' include/proto.h:346: parse error before `entry_d' include/proto.h:347: parse error before `sys_acl_get_file' include/proto.h:347: parse error before `acl_type_t' include/proto.h:347: warning: data definition has no type or storage class include/proto.h:348: parse error before `sys_acl_get_fd' include/proto.h:348: warning: data definition has no type or storage class include/proto.h:349: parse error before `permset' include/proto.h:350: parse error before `permset' include/proto.h:351: parse error before `permset' include/proto.h:352: parse error before `the_acl' include/proto.h:354: parse error before `sys_acl_init' include/proto.h:354: warning: data definition has no type or storage class include/proto.h:355: parse error before `*' include/proto.h:356: parse error before `entry' include/proto.h:357: parse error before `entry' include/proto.h:358: parse error before `entry' include/proto.h:359: parse error before `theacl' include/proto.h:360: parse error before `acl_type_t' include/proto.h:361: parse error before `acl_t' include/proto.h:363: parse error before `the_acl' include/proto.h:364: parse error before `acl_tag_t' include/proto.h:4842: parse error before `acl_t' include/proto.h:4843: parse error before `acl_entry_t' include/proto.h:4844: parse error before `acl_entry_t' include/proto.h:4845: parse error before `acl_entry_t' include/proto.h:4846: parse error before `vfswrap_sys_acl_get_file' include/proto.h:4846: parse error before `acl_type_t' include/proto.h:4846: warning: data definition has no type or storage class include/proto.h:4847: parse error before `vfswrap_sys_acl_get_fd' include/proto.h:4847: warning: data definition has no type or storage class include/proto.h:4848: parse error before `acl_permset_t' include/proto.h:4849: parse error before `acl_permset_t' include/proto.h:4850: parse error before `acl_t' include/proto.h:4851: parse error before `vfswrap_sys_acl_init' include/proto.h:4851: warning: data definition has no type or storage class include/proto.h:4852: parse error before `acl_t' include/proto.h:4853: parse error before `acl_entry_t' include/proto.h:4854: parse error before `acl_entry_t' include/proto.h:4855: parse error before `acl_entry_t' include/proto.h:4856: parse error before `acl_t' include/proto.h:4857: parse error before `acl_type_t' include/proto.h:4858: parse error before `acl_t' include/proto.h:4860: parse error before `acl_permset_t' include/proto.h:4862: parse error before `acl_t' include/proto.h:4863: parse error before `acl_tag_t' make[1]: *** [smbd/server.o] Error 1 make[1]: Leaving directory `/usr/src/samba-2.2.7/source' make: *** [build-stamp] Error 2
Frank Matthieß
2002-Nov-26 12:45 UTC
[Samba] 2.2.7 compile error using --with-acl-support on debian
On Sat, Nov 23, 2002 at 11:45:17AM +0100, Francesco Mosca wrote:> hi, i'm trying to package samba2.2.7 on a debian woody, using > --with-acl-support. the configure part seems ok, but when the compile > starts i get a lot of errors.. what's wrong? attached the sensitive part > of the dpkg-buildpackage output. > thanksYou have installed "libacl1" and "libacl1-dev" on compile system? -- Frank Matthie? fm+samba@Microdata-pos.de