Bug 3799 - source/client/(u)mount.cifs.c do not compile if MOUNT_CIFS_VENDOR_SUFFIX is undefined
source/client/(u)mount.cifs.c do not compile if MOUNT_CIFS_VENDOR_SUFFIX is u...
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.23
Other Linux
: P3 normal
: 3.0.23
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-25 01:19 UTC by Christian Perrier
Modified: 2006-07-01 11:37 UTC (History)
0 users

See Also:


Attachments

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"

by

#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.