Bug 9861 - VFS example module does not compile
Summary: VFS example module does not compile
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 4.0.5
Hardware: x64 Linux
: P5 major (vote)
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2013-05-07 04:04 UTC by fudanchii
Modified: 2014-03-04 22:26 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description fudanchii 2013-05-07 04:04:33 UTC
Step to reproduce
1. tar -xf samba-4.0.5.tar.gz
2. cd samba-4.0.5
3. ./configure --prefix=/usr/local/samba
4. cd examples/VFS
5. ./configure --prefix=/usr/local/samba --with-samba-source=../../source3
6. make

expected output:
Compiling shadow_copy_test.c
Linking shadow_copy_test.so
Compiling skel_opaque.c
Linking skel_opaque.so
Compiling skel_transparent.c
Linking skel_transparent.so
rm skel_opaque.o skel_transparent.o shadow_copy_test.o

What I see instead:
Compiling skel_opaque.c
In file included from ../../source3/../librpc/../source3/include/includes.h:23:0,
                 from skel_opaque.c:25:
../../source3/../lib/replace/../replace/replace.h:32:20: fatal error: config.h: No such file or directory
compilation terminated.
make: *** [skel_opaque.so] Error 1

The expected output is taken from samba 3.6.14