Displaying 20 results from an estimated 131 matches for "ldshflag".
Did you mean:
ldshflags
2002 Jul 25
2
pam_smbpass.so won't load
...000000)
so it is not linked to libldap
any ideas what's up here?
does this make sense?
===================================================================
RCS file: /cvsroot/samba/source/Makefile.in,v
retrieving revision 1.227.2.145
diff -r1.227.2.145 Makefile.in
656c656
< $(SHLD) @LDSHFLAGS@ -o $@ $(PAM_SMBPASS_OBJ) $(LDFLAGS) -lpam
$(DYNEXP) $(LIBS) -lc \
---
> $(SHLD) @LDSHFLAGS@ -o $@ $(PAM_SMBPASS_OBJ) $(LDFLAGS) -lpam
$(DYNEXP) $(LIBS) $(LDAPLIBS) -lc \
brad
2007 Feb 28
2
VFS module and C++
...uot; {
NTSTATUS init_module(void)
{
DEBUG(2,("Inicialization does work"));
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "mytest_vfs",
skel_op_tuples);
}
};
And my Makefile:
CC = gcc
CFLAGS = -g -O2
CPPFLAGS =
LDFLAGS =
LDSHFLAGS = -shared
INSTALLCMD = /usr/bin/install -c
SAMBA_SOURCE = ../../source
SHLIBEXT = so
OBJEXT = o
FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include
-I$(SAMBA_SOURCE)/popt -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS)
-I$(SAMBA_SOURCE) -I/home/roman/ace/ACE...
2002 Oct 26
1
libsmbclient in Mac OS X / Darwin
...**
*** 855,860 ****
--- 855,868 ----
SONAMEFLAG="-Wl,-soname="
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
;;
+ *darwin*) AC_DEFINE(DARWIN)
+ BLDSHARED="true"
+ LDSHFLAGS="-dynamic"
+ PICFLAG="-fPIC"
+ SHLD="libtool"
+ LIBS="${LIBS} -lc -lcc_dynamic"
+ CFLAGS="-dynamic -fno-common ${CFLAGS}"
+ ;;...
2006 Jul 06
1
Problem compiling pam_winbind.so on Solaris (samba-3.0.23rc3)
..._winbind.so
on Solaris (8 and 9).
So i had a look at the Makefile and found out that there seem's to
be some things missing.... :-))
> bin/pam_winbind.@SHLIBEXT@: $(PAM_WINBIND_OBJ:.o=.@PICSUFFIX@) bin/.dummy
> @echo "Linking shared library $@"
> @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_PICOBJ) \
> @SONAMEFLAG@`basename $@` -lpam @INIPARSERLIBS@
PAM_WINBIND_PICOBJ are not defined in Makefile.in !!
what I did to solve this:
bash-2.03# diff samba-3.0.23rc3-orig/source/Makefile.in samba-3.0.23rc3/source/Makefile.in
1219c1219
< @$(S...
2004 Sep 21
4
Problems compiling samba-3.0.7 on Redhat-7.2
When compiling samba-3.0.7 on Redhat-7.2, stock kernel 2.4.26,
I get undefined references:
-------
Compiling libads/ads_status.c with -fPIC
Linking nsswitch/libnss_wins.so
lib/system.po: In function `sys_dlopen':
lib/system.po(.text+0xc17): undefined reference to `dlopen'
lib/system.po: In function `sys_dlsym':
lib/system.po(.text+0xc3b): undefined reference to `dlsym'
2005 May 17
3
Linux integration with AD
Hi All,
I extended my AD schema (SFU 3.5) and migrated the users and groups from my
NIS domain.
The groups migrated from the NIS have the same GID like on the NIS.
I added linux machines to my AD domain using windbind, and define on the
smb.conf "idmap gid = 10000-20000".
I logged in using my AD user account, and when I'm doing "id", I see that
all the AD groups
2005 Jan 25
2
make: *** [dynconfig.o] Error
...l/src/samba-3.0.10/source/include
-I/usr/local/src/samba-3.0.10/source/ubiqx
-I/usr/local/src/samba-3.0.10/source/smbwrapper -I. -D_LARGEFILE_SOURCE
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/src/samba-3.0.10/source
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDSHFLAGS = -G -lthread
LDFLAGS = -lthread
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/src/samba-3.0.10/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/src/samba-3.0.10/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr...
2002 May 09
1
patch to configure.in for Solaris/gcc (-KPIC vs. -fPIC)
...===========================================
RCS file: /data/cvs/samba/source/configure.in,v
retrieving revision 1.130.4.136
diff -u -r1.130.4.136 configure.in
--- configure.in 2002/05/09 13:26:54 1.130.4.136
+++ configure.in 2002/05/09 13:44:40
@@ -853,7 +853,7 @@
BLDSHARED="true"
LDSHFLAGS="-G"
SONAMEFLAG="-h "
- if test "${ac_cv_prog_CC}" = "gcc"; then
+ if test "${GCC}" = "yes"; then
PICFLAG="-fPIC"
else
PICFLAG="-KPIC"
@@ -884,7 +884,7 @@
LDSHFLAGS="-set_version sgi1.0 -...
2003 Aug 27
1
samba3.0.0rc1 not running on solaris 9
...rce/ubiqx
-I/usr/samba-3.0.0rc1/source/samba-3.0.0rc1/source/smbwrapper -I.
-I/data/openldap-2.0.27/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/krb5-1.3.1/include
-I/usr/samba-3.0.0rc1/source/samba-3.0.0rc1/source
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDSHFLAGS = -G -L/data/openldap-2.0.27/lib -L/usr/krb5-1.3.1/lib
LDFLAGS = -L/data/openldap-2.0.27/lib -L/usr/krb5-1.3.1/lib
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common':
passdb/pdb_ldap.c:2239: incompatible types in assignment
passdb/pdb_ldap.c: In functio...
2003 Sep 23
1
Solaris 8 samba-3.0.0rc4 compile errors
...sing FLAGS = -g -O2 -Iinclude -I/opt/samba-3.0.0rc4/source/include
-I/opt/samba-3.0.0rc4/source/ubiqx
-I/opt/samba-3.0.0rc4/source/smbwrapper -I. -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/opt/samba-3.0.0rc4/source
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -liconv
LDSHFLAGS = -G
LDFLAGS =
Linking bin/smbd
tdb/tdbutil.o: In function `tdb_search_keys':
/opt/samba-3.0.0rc4/source/tdb/tdbutil.c:791: undefined reference to
`ap_fnmatch'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
2007 Feb 21
1
Solaris 9 Samba 3.0.24
...lds/samba-3.0.24/source/include
-I/a1/samba/builds/samba-3.0.24/source/tdb -I. -DHAVE_CONFIG_H
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLDAP_DEPRECATED -DSUNOS5 -I/a1/samba/builds/samba-3.0.24/source
-D_SAMBA_BUILD_
LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl
LDSHFLAGS = -G -lthread
LDFLAGS = -lthread
PIE_CFLAGS =
PIE_LDFLAGS =
Compiling dynconfig.c
In file included from include/includes.h:1067,
from /a1/samba/builds/samba-3.0.24/source/dynconfig.c:21:
include/proto.h:1:1: unterminated #ifndef
*** Error code 1
make: Fatal erro...
2006 Oct 03
0
Samba Compile Error
...er it was one error I have been easily able to fix
by adjusting the generated Makefile. This error only appears on older Linux
systems so it seams to be related to older compilers and/or linkers. On
these older systems my adjustments to the Makefile to get samba to compile
is the following:
< LDSHFLAGS=-shared -Wl,-Bsymbolic -s -Wl,-rpath,/usr/lib
< WINBIND_NSS_LDSHFLAGS=-shared -Wl,-Bsymbolic -s -Wl,-rpath,/usr/lib
> LDSHFLAGS=-shared -Bsymbolic -s -Wl,-rpath,/usr/lib
> WINBIND_NSS_LDSHFLAGS=-shared -Bsymbolic -s -Wl,-rpath,/usr/lib
This may not do exactly the same as the orig...
2003 Nov 04
1
Solaris, Samba-3.0.1pre1 Compile error
...tch/build/samba-3.0.1pre1/source/include
-I/scratch/build/samba-3.0.1pre1/source/ubiqx
-I/scratch/build/samba-3.0.1pre1/source/smbwrapper -I. -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/scratch/build/samba-3.0.1pre1/source
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl
LDSHFLAGS = -G -R/usr/lib
LDFLAGS = -R/usr/lib
Linking bin/tdbbackup
Undefined first referenced
symbol in file
smb_snprintf tdb/tdbback.o
ld: fatal: Symbol referencing errors. No output written to bin/tdbbackup
collect2: ld ret...
2011 Apr 28
2
Linker error for Samba 3.5.8 on Solaris 5.8
...FSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5 -I/root/samba-3.5.8/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lsendfile -lresolv -lrt -ldl -lnsl -lsocket -lintl
LDFLAGS = -Wl,-z,ignore -lthread -L./bin
DYNEXP =
LDSHFLAGS = -fPIC -shared -Wl,-z,ignore -lthread -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-h,
Compiling dynconfig.c
Linking shared library bin/libnetapi.so.0
Undefined first referenced
symbol in file
libiconv_set_relocation_pre...
2004 May 17
0
Darwin Install
...lowing is the result in the terminal
Using FLAGS = -O -I./popt -Iinclude
-I/Users/andy/samba/samba-3.0.4/source/include
-I/Users/andy/samba/samba-3.0.4/source/ubiqx
-I/Users/andy/samba/samba-3.0.4/source/smbwrapper -I. -I/sw/include
-I/Users/andy/samba/samba-3.0.4/source
LIBS =
LDSHFLAGS = -bundle -flat_namespace -undefined suppress -L/sw/lib
LDFLAGS = -L/sw/lib
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:139: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
libsmb/clikrb5.c:123: illegal external declaration, missing `;' after
`__ERROR_XX_UNKNOWN_CREATE_KEY_FUNCTIONS'
libsmb...
2006 Oct 12
1
install failing on bsd
...-3.0.23c/source/iniparser/src -Iinclude
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/include
-I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb -I. -DHAVE_CONFIG_H
-I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
-D_SAMBA_BUILD_
LIBS = -lcrypt -liconv
LDSHFLAGS = -shared -L/usr/local/lib
LDFLAGS = -L/usr/local/lib
PIE_CFLAGS = -fPIE
PIE_LDFLAGS = -pie
Compiling sam/idmap_ad.c with -fPIC -DPIC
sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in this
func...
2004 Nov 09
2
3.0.8 build failure OS X 10.3.6
...g FLAGS = -O -I./popt -Iinclude
-I/Users/admin/Documents/samba-3.0.8/source/include
-I/Users/admin/Documents/samba-3.0.8/source/ubiqx
-I/Users/admin/Documents/samba-3.0.8/source/smbwrapper -I.
-I/sw/include -I/Users/admin/Documents/samba-3.0.8/source
LIBS = -lresolv -ldl -liconv
LDSHFLAGS = -bundle -flat_namespace -undefined suppress -L/sw/lib
LDFLAGS = -L/sw/lib
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:209: error: `krb5_krbhst_handle' undeclared (first use
in this functi...
2004 Oct 05
0
Samba Compile Error on 3.0.7 and 3.0.8 Pre 1 on X64 Fedora Core 3 Test 2
...ocalhost source]# make
Using FLAGS = -O -Iinclude -I/usr/src/samba-3.0.7/source/include
-I/usr/src/samba-3.0.7/source/ubiqx -I/usr/src/samba-3.0.7/source/smbwrapper
-I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/src/samba-3.0.7/source
LIBS = -lcrypt -lnsl -ldl
LDSHFLAGS = -shared -Wl,-Bsymbolic -L/usr/lib64
LDFLAGS = -L/usr/lib64
Generating smbd/build_options.c
Building include/proto.h
creating /usr/src/samba-3.0.7/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/src/samba-3.0.7/source/include/wrepld_proto.h
Building include/build_env.h...
2003 Nov 18
1
compile failure on 3.0.0 and 3.0.1pre3
..../popt -Iinclude
-I/home/rshepard/samba-3.0.0/source/include
-I/home/rshepard/samba-3.0.0/source/ubiqx
-I/home/rshepard/samba-3.0.0/source/smbwrapper -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/rshepard/samba-3.0.0/source
LIBS = -lcrypt -lattr -lresolv -lnsl -ldl
LDSHFLAGS = -shared
LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
creating /home/rshepard/samba-3.0.0/source/include/proto.h
Building include/wrepld_proto.h
creating /home/rshepard/samba-3.0.0/source/include/wrepld_proto.h
Building include/build_env.h
creating /home/rshepard/samba-3.0...
2003 Oct 01
1
Samba 3.0.0 compilation errors under Unixware 7.1.1
...tatus: include/config.h is unchanged
# make
Using FLAGS
= -g -I./popt -Iinclude -I/u2/smbbuild/samba-3.0.0/source/include -
I/u2/smbbuild/samba-3.0.0/source/ubiqx -I/u2/smbbuild/samba-3.0.0/source/smb
wrap
per -I. -I/u2/smbbuild/samba-3.0.0/source
LIBS = -lgen -lresolv -lsocket -lnsl
LDSHFLAGS = -G
LDFLAGS =
Generating smbd/build_options.c
UX:nawk: ERROR: Error in RE `^\/\* (.*?)\*\/': invalid *, +, ?, \{\} or {}
opera
tor
UX:nawk: INFO: Source line number 117
UX:nawk: INFO: Context is
/^\/\* >>> (.*?)\*\// <<< {
*** Error code 2 (bu21)
UX:make: ERR...