The way that OpenVMS resolves the default path for include files means that it can not really deal with include file paths that have the ".." directory in their path. With SAMBA 2.2.X this only affected a few modules, but now with 3.0.7 it is affecting several modules. Can the ".." be removed, and the affected directory added to the path for the compiler to search for the header files. The alternative is that OpenVMS will need to perform an edit on any file that uses a "../" to reference an include file. So it would need: #ifdef __VMS #include "web/swat_proto.h" #else #include "../web/swat_proto.h" #endif
The value for CFLAGS already includes -I. and -I$(srcdir) so there is actually no problem with getting rid of the ../ globally. You will have to keep an eye on things though and check that they don't creep back in.
I've checked in a (big) patch. Let me know if this doesn't fix the problem for you.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.