Patch to fix Samba4 compile errors on Gentoo
Philip M. White
pmw at qnan.org
Sun Oct 31 08:49:22 MDT 2010
This patch allows me to compile revision
97c0def79d123406b44289a131c054ebe863823d of Samba 4 on Gentoo.
--
Philip
-------------- next part --------------
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index 799d7b1..f27ce90 100644
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -21,6 +21,7 @@ bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
source='unix_privs.c',
autoproto='unix_privs.h',
local_include=False,
+ deps='talloc',
)
diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build
index ef01f09..a4d1816 100644
--- a/source4/auth/ntlm/wscript_build
+++ b/source4/auth/ntlm/wscript_build
@@ -11,7 +11,8 @@ bld.SAMBA_MODULE('auth_sam_module',
bld.SAMBA_MODULE('auth_anonymous',
source='auth_anonymous.c',
subsystem='auth',
- init_function='auth_anonymous_init'
+ init_function='auth_anonymous_init',
+ deps='talloc'
)
@@ -34,7 +35,8 @@ bld.SAMBA_MODULE('auth_winbind',
bld.SAMBA_MODULE('auth_developer',
source='auth_developer.c',
subsystem='auth',
- init_function='auth_developer_init'
+ init_function='auth_developer_init',
+ deps='talloc'
)
diff --git a/source4/lib/com/wscript_build b/source4/lib/com/wscript_build
index ad716ef..2794d66 100644
--- a/source4/lib/com/wscript_build
+++ b/source4/lib/com/wscript_build
@@ -19,6 +19,7 @@ bld.SAMBA_SUBSYSTEM('DCOM',
bld.SAMBA_MODULE('com_simple',
source='classes/simple.c',
+ deps='talloc',
subsystem='COM',
init_function='com_simple_init'
)
diff --git a/source4/ntvfs/wscript_build b/source4/ntvfs/wscript_build
index 4948d2f..e181334 100644
--- a/source4/ntvfs/wscript_build
+++ b/source4/ntvfs/wscript_build
@@ -25,7 +25,8 @@ bld.SAMBA_MODULE('ntvfs_simple',
source='simple/vfs_simple.c simple/svfs_util.c',
autoproto='simple/proto.h',
subsystem='ntvfs',
- init_function='ntvfs_simple_init'
+ init_function='ntvfs_simple_init',
+ deps='talloc'
)
@@ -33,14 +34,16 @@ bld.SAMBA_MODULE('ntvfs_cifsposix',
source='cifs_posix_cli/vfs_cifs_posix.c cifs_posix_cli/svfs_util.c',
autoproto='cifs_posix_cli/proto.h',
subsystem='ntvfs',
- init_function='ntvfs_cifs_posix_init'
+ init_function='ntvfs_cifs_posix_init',
+ deps='talloc'
)
bld.SAMBA_MODULE('ntvfs_print',
source='print/vfs_print.c',
subsystem='ntvfs',
- init_function='ntvfs_print_init'
+ init_function='ntvfs_print_init',
+ deps='talloc'
)
@@ -56,7 +59,8 @@ bld.SAMBA_MODULE('ntvfs_ipc',
bld.SAMBA_MODULE('ntvfs_nbench',
source='nbench/vfs_nbench.c',
subsystem='ntvfs',
- init_function='ntvfs_nbench_init'
+ init_function='ntvfs_nbench_init',
+ deps='talloc'
)
diff --git a/source4/smb_server/wscript_build b/source4/smb_server/wscript_build
index 3ecbf24..7ccfeec 100644
--- a/source4/smb_server/wscript_build
+++ b/source4/smb_server/wscript_build
@@ -13,7 +13,8 @@ bld.SAMBA_MODULE('SERVICE_SMB',
bld.SAMBA_MODULE('SERVICE_SAMBA3_SMB',
source='smb_samba3.c',
subsystem='service',
- init_function='server_service_samba3_smb_init'
+ init_function='server_service_samba3_smb_init',
+ deps='talloc'
)
More information about the samba-technical
mailing list