The Samba-Bugzilla – Bug 1880
OpenVMS C Compiler issue with ../foo/foo.h include files.
Last modified: 2005-08-24 10:19:47 UTC
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
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:
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
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.