I tried to build vfs_afsacl and it fails with make: Fatal error: Don't know how to make target `modules/vfs_afsacl.po' anarchist [smbbuild]:30 source> make Using FLAGS = -O -DMSU_PRINTER_AUTH_PORT=91015 -DMSU_PRINTER_AUTH_HOST="prtauth.cl.msu.edu" -DMSU_PRINTER_QUOTA -DMSU_GID=65534 -DMSU_UID=65534 -DMSU_MODS -D_SAMBA_BUILD_=3 -I/home/smbbuild/samba-3.0.25pre2/source/popt -I/home/smbbuild/samba-3.0.25pre2/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/vice/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLDAP_DEPRECATED -DSUNOS5 -I/home/smbbuild/samba-3.0.25pre2/source/lib -D_SAMBA_BUILD_=3 PICFLAG = -KPIC LIBS = -lsendfile -lresolv -lnsl -lsocket -liconv LDFLAGS = -L/usr/vice/lib -lthread -L/usr/local/lib DYNEXP = LDSHFLAGS = -G -O -DMSU_PRINTER_AUTH_PORT=91015 -DMSU_PRINTER_AUTH_HOST="prtauth.cl.msu.edu" -DMSU_PRINTER_QUOTA -DMSU_GID=65534 -DMSU_UID=65534 -DMSU_MODS -D_SAMBA_BUILD_=3 -L/usr/vice/lib -lthread -L/usr/local/lib SHLIBEXT = so SONAMEFLAG = -h make: Fatal error: Don't know how to make target `modules/vfs_afsacl.po' anarchist [smbbuild]:31 source> This is with both sun CC and GCC built with CFLAGS='-O -DMSU_PRINTER_AUTH_PORT=91015 -DMSU_PRINTER_AUTH_HOST=\"prtauth.cl.msu.edu\" -DMSU_PRINTER_QUOTA -DMSU_GID=65534 -DMSU_UID=65534 -DMSU_MODS' export CFLAGS CPPFLAGS="-I/usr/vice/include" export CPPFLAGS LDFLAGS="-L/usr/vice/lib" export LDFLAGS ./configure --prefix=/usr/local/samba --with-pam --with-included-popt --disable-cups --with-syslog --with-vfs-afsacl --with-sys-quotas --without-afs echo you still need to edit the Makefile to add LIBSMB_OBJ = msu/msu_print_quota.o It also chokes miserably if i use the --with-afs flag but with different errors. mostly conflicts with the xdr.h includes with gcc. I havent tried it with cc yet. I am also getting a ton of warnings using sun cc like: "./librpc/gen_ndr/srvsvc.h", line 213: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 216: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 219: warning: enumerator value overflows INT_MAX (2147483647) "./librpc/gen_ndr/srvsvc.h", line 223: warning: enumerator value overflows INT_MAX (2147483647) I am trying to keep this short, so if you need more info let me know.
I had the same problem. I'll attach 2 patches that should fix this. One is to fix the afsacl vfs module. The other one is to remove /usr/include/afs from the include path. AFS installs assert.h into /usr/include/afs, which makes log2pcap fail to build.
Created attachment 2882 [details] Patch to fix compile problems with afsacl vfs module.
Created attachment 2883 [details] Patch to make log2pcap compile with --with-afs.