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? Tx Ed
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 -- 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
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? Tx
Possibly Parallel Threads
- how to add new vfs module to build...
- Samba git: build error when upgrading
- Samba4 git pull of today (11/28/2013) link error on FreeBSD 9.2 RELEASE
- git folder moved : waf : The top source directory has moved. Please run distclean and reconfigure
- Linux integration with AD