Compiling VFS Module

Jan Vidar Klevengen jvk at iname.com
Mon Jan 7 21:49:02 GMT 2002


Edit your Makefile so it points to the correct samba source directory.
Only doing this results in an error on my computer, because it couldn't find
some nsswitch files, so I copied the ..source/nsswitch directory to
..source/include/nsswitch, and
the it worked fine. I couldn't get the audit.so to work tho. When I tried to
access the share, I was
denied access. If you get the same problem and find a way to fix it, send me
a mail.


My Makefile looks like this:

--code snippets--

SAMBA_SRC = /usr/src/redhat/BUILD/samba-2.2.2
SAMBA_INCL = /usr/src/redhat/BUILD/samba-2.2.2/source/include
UBIQX_SRC = /usr/src/redhat/BUILD/samba-2.2.2/source/ubiqx
SMBWR_SRC = /usr/src/redhat/BUILD/samba-2.2.2/source/smbwrapper

--code end--

Kind Regards
  Jan Vidar Klevengen



-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Nick Willey
Sent: 7. januar 2002 22:08
To: samba at lists.samba.org
Subject: Compiling VFS Module


Hi,

I downloaded the SAMBA_2_2 branch to attempt to compile the "audit" VFS
module.  The output is below:

[nick at server1 VFS]$ make
libtool
gcc  -I../../source -I../../source/include -I../../source/ubiqx -I../../
source/smbwrapper -Wall -g -c audit.c
rm -f .libs/audit.lo
gcc -I../../source -I../../source/include -I../../source/ubiqx -I../../sourc
e/sm
bwrapper -Wall -g -c audit.c  -fPIC -DPIC -o .libs/audit.lo
audit.c:22:20: config.h: No such file or directory
In file included from audit.c:37:
../../source/include/includes.h:25:20: config.h: No such file or directory
make: *** [audit.lo] Error 1
[nick at server1 VFS]$

Can anyone tell me what I can do to get this to compile.

Thanks,

Nick



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list