Bug 3799 - source/client/(u)mount.cifs.c do not compile if MOUNT_CIFS_VENDOR_SUFFIX is undefined
Summary: source/client/(u)mount.cifs.c do not compile if MOUNT_CIFS_VENDOR_SUFFIX is u...
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.23
Hardware: Other Linux
: P3 normal
Target Milestone: 3.0.23
Assignee: Gerald (Jerry) Carter
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-05-25 01:19 UTC by Christian Perrier
Modified: 2006-07-01 11:37 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Christian Perrier 2006-05-25 01:19:29 UTC
When MOUNT_CIFS_VENDOR_SUFFIX is undefined, the mount.cifs.c and umount.cifs.c utilities do not compile as the version.h file is not found.

We finally found that replacing:

#include "version.h"


#include "../include/version.h"

or compile with "-I./"

allows the utilities to compile.

I guess that this bug has been missed mostly because the build farm usually defines MOUNT_CIFS_VENDOR_SUFFIC
Comment 1 Gerald (Jerry) Carter 2006-07-01 03:23:30 UTC
Is this not fixed when using --with-cifsmount ?
Comment 2 Christian Perrier 2006-07-01 03:30:07 UTC
I'm just trying to compile 3.0.23rc3 without the patch we temporarily added and with --with-cifsmount. Will let you know
Comment 3 Christian Perrier 2006-07-01 07:12:58 UTC
I confirm that compiling with --with-cifsmount solves this issue
Comment 4 Gerald (Jerry) Carter 2006-07-01 11:37:42 UTC
ok.  Taking that to mean we can close this one.