more SAMBA_3_0 compiler errors in the CVS
Guenther Deschner
gd at suse.de
Thu Aug 14 15:34:17 GMT 2003
hi,
and another compile error:
make smbtorture
Using FLAGS = -O2 -march=i486 -mcpu=i686 -Wall -O -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -I/usr/include/heimdal -I/usr
/include/libxml2 -I/usr/include/mysql -Iinclude
-I/usr/src/packages/BUILD/samba3-3.0.0rc1cvs/source/include -I/usr/
src/packages/BUILD/samba3-3.0.0rc1cvs/source/ubiqx
-I/usr/src/packages/BUILD/samba3-3.0.0rc1cvs/source/smbwrapper -
I. -I/usr/include/heimdal
-I/usr/src/packages/BUILD/samba3-3.0.0rc1cvs/source
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared
LDFLAGS =
Linking bin/smbtorture
passdb/secrets.o(.text+0x0): In function `secrets_init':
: multiple definition of `secrets_init'
passdb/secrets.o(.text+0x0): first defined here
passdb/secrets.o(.text+0x116): In function `secrets_fetch':
: multiple definition of `secrets_fetch'
passdb/secrets.o(.text+0x116): first defined here
passdb/secrets.o(.text+0x189): In function `secrets_store':
: multiple definition of `secrets_store'
passdb/secrets.o(.text+0x189): first defined here
passdb/secrets.o(.text+0x215): In function `secrets_delete':
: multiple definition of `secrets_delete'
passdb/secrets.o(.text+0x215): first defined here
passdb/secrets.o(.text+0x275): In function `secrets_store_domain_sid':
: multiple definition of `secrets_store_domain_sid'
passdb/secrets.o(.text+0x275): first defined here
........
and so on, which can be easily fixed by removing secrets_obj:
--- Makefile.orig 2003-08-14 17:29:26.000000000 +0200
+++ Makefile 2003-08-14 17:31:04.000000000 +0200
@@ -825,7 +825,7 @@
bin/smbtorture: $(SMBTORTURE_OBJ) bin/.dummy
@echo Linking $@
- @$(CC) $(FLAGS) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
$(LIBS) $(KRB5LIBS) $(LDAPLIBS) $(SECRETS_OBJ)
+ @$(CC) $(FLAGS) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
$(LIBS) $(KRB5LIBS) $(LDAPLIBS)
bin/talloctort: $(TALLOCTORT_OBJ) bin/.dummy
@echo Linking $@
bye,
guenther
--
Guenther Deschner gd at suse.de
SuSE Linux AG GnuPG: 8EE11688
Berliner Str. 27 phone: +49 (0) 30 / 430944778
D-13507 Berlin fax: +49 (0) 30 / 43732804
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030814/a5c1b523/attachment.bin
More information about the samba-technical
mailing list