[Samba] how to add new vfs module to build...

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jan 27 00:18:53 MST 2015

On Mon, Jan 26, 2015 at 05:52:29PM -0500, Ed Sutter wrote:
> On 1/24/2015 3:03 PM, Volker Lendecke wrote:
> >On Sat, Jan 24, 2015 at 01:35:40PM -0500, Ed Sutter wrote:
> >>Hi,
> >>I'm working with version 4.1.6 to create a new VFS module.
> >>I've been experimenting by just modifying one of the existing
> >>module source files (vfs_full_audit.c) and that rebuilds as expected.
> >>
> >>I want to step back now and create a unique module name, but
> >>I'm having trouble getting it to be included in the build.
> >>Using vfs_full_audit.c as my example, I've added entries into
> >>source3/wscript and source3/modules/wscript_build.
> >>Then I run make at the top level, but don't see my module built.
> >>
> >>What am I missing here?
> >default_shared_modules.extend(TO_LIST('vfs_ceph'))
> >
> >You might want to use ceph as an optional module example.
> >
> >Volker
> >
> Tried that (used vfs_ceph as the example module, to add changes to both
> source3/wscript and source3/modules/wscript_build), but still no difference.
> I found if I run ./configuer after this, then 'make' will rebuild the module.
> Is this expected?

Yes. The module list is only assembled during the configure


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba mailing list