[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sernet samba mit sid?



hi,

Am 29. September 2008 09:57 schrieb Christoph Kaminski <mangel@gmx.de>:
Hi!

hat jemand aktuelle stable sernet samba pkgs unter sid kompiliert bekommen? Ich wurde gerne die sernet ver benutzen da nur die anscheinend (hier in etch) zur zeit mit w2k8 pdc klar kommt.

Ich bekomme diese errors beim erstellen des pkgs: (abhaengigkeiten sind alle aufgeloest)

Compiling client/smbmount.c
In file included from /usr/include/linux/smb.h:14,
                from /usr/include/linux/smb_fs.h:12,
                from client/smbmount.c:25:
/usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
/usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
/usr/include/linux/time.h:20: error: redefinition of 'struct timezone'
/usr/include/linux/time.h:42: error: redefinition of 'struct itimerspec'
/usr/include/linux/time.h:47: error: redefinition of 'struct itimerval'
client/smbmount.c: In function 'init_mount':
client/smbmount.c:496: warning: the address of 'options' will always evaluate as 'true'
The following command failed:
i486-linux-gnu-gcc -I. -I/usr/src/samba-3.0.32/source  -gstabs -Wall -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS -I/usr/src/samba-3.0.32/source -O2 -D_SAMBA_BUILD_=3 -I/usr/src/samba-3.0.32/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED    -I/usr/src/samba-3.0.32/source/lib -D_SAMBA_BUILD_=3 -fPIC -c client/smbmount.c -o client/smbmount.o
make[1]: *** [client/smbmount.o] Error 1
make[1]: Leaving directory `/usr/src/samba-3.0.32/source'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

wie koennte ich es fixen? bin leider nicht so der c/c++ spezi :/

Greetz


--
Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-REQUEST@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)


sieht aus als fehlt ein include-guard.

mh

in der /usr/include/linux/smb.h
wo #include <time.h> steht

könnte
ifndef TIMEH
#include <time.h>
#endif

helfen. Das widerum funktioniert nur, wenn die structs nicht noch ausserhalb noch deklariert werden.

Gruß,
Björn

--
To boldly go where no man has gone before ... I'll wait there with touristinformation

Reply to: