Samba 3.0.6

From: Don Newcomer (newcomer@dickinson.edu)
Date: Mon Aug 30 2004 - 16:11:35 EDT


I'm trying to install Samba 3.0.6 on an AlphaServer ES45 runnung Tru64 UNIX
V5.1B (Rev. 2650). Everything was going fine on the 'make' until I ran
into this error:

Compiling modules/vfs_full_audit.c with -fPIC
cc: Warning: modules/vfs_full_audit.c, line 140: In this declaration, "audit_loc
k" is declared with both internal and external linkage. The previous declaratio
n is at line number 1907 in file /usr/include/prot.h. (mixlinkage)
static BOOL audit_lock(vfs_handle_struct *handle, files_struct *fsp, int fd,
------------^
cc: Error: modules/vfs_full_audit.c, line 140: In this declaration, the type of
"audit_lock" is not compatible with the type of a previous declaration of "audit
_lock" at line number 1907 in file /usr/include/prot.h. (notcompat)
static BOOL audit_lock(vfs_handle_struct *handle, files_struct *fsp, int fd,
------------^
cc: Warning: modules/vfs_full_audit.c, line 1116: In this declaration, "audit_lo
ck" is declared with both internal and external linkage. The previous declarati
on is at line number 1907 in file /usr/include/prot.h. (mixlinkage)
static BOOL audit_lock(vfs_handle_struct *handle, files_struct *fsp, int fd,
------------^
cc: Error: modules/vfs_full_audit.c, line 1116: In this declaration, the type of
 "audit_lock" is not compatible with the type of a previous declaration of "audi
t_lock" at line number 1907 in file /usr/include/prot.h. (notcompat)
static BOOL audit_lock(vfs_handle_struct *handle, files_struct *fsp, int fd,
------------^
*** Exit 1
Stop.

Any ideas as to how to get around this since it's pretty obvious that there
are issues with declarations in an include file. Thanks in advance.

Don Newcomer
Senior Manager, Systems
Infrastructure Systems Department
Library and Information Services
Dickinson College
P.O. Box 1773
Carlisle, PA 17013
717-245-1256 (Voice)
717-245-1690 (FAX)
newcomer@dickinson.edu



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:07 EDT