[linux-l] Bekomme Samba 3.0.0 nicht kompiliert

Andreas Fritzsche kofi at freenet.de
Do Okt 16 22:17:12 CEST 2003


Hallo, 

habe nach anfänglichen Fehlermeldungen wegen Kerberos heimdal wieder runtergeschmissen und Kerberos 5 installiert. Danach waren zumindest diese einfach verständlichen Fehlermeldungen weg (wie z.B. "kann nich als Member Server durch Active Directory Athentisieren ... da kein Kerberos ..."). Doch ... 

------------------------------------------------------------------------------------------ 

Das sind die Fehler, die ich immer erhalte wenn ich Samba 3.0.0 unter SuSE 8.2 konfiguriere: 

linux:~/Desktop/samba/source # ./configure --prefix=/usr/local/samba --with-ldap --with-ads --with-krb5=/usr/kerberos 
(habe es schon mit allen möglichen bzw. ohne Parameter versucht) 

checking linux/quota.h presence... yes 
configure: WARNING: linux/quota.h: present but cannot be compiled (warum???) 
configure: WARNING: linux/quota.h: check for missing prerequisite headers? (sorry, aber was???) 
configure: WARNING: linux/quota.h: proceeding with the preprocessor's result (schön, aber was heißt daß???) 

------------------------------------------------------------------------------------------ 

Beim Kompilieren kommen dann noch mehrere andere Meldungen wie: 

linux:~/Desktop/samba/source # make 
Using FLAGS = -g -O2 -I/usr/kerberos/include -I./popt -Iinclude -I/root/Desktop/samba/source/include 

-I/root/Desktop/samba/source/ubiqx -I/root/Desktop/samba/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 

-D_GNU_SOURCE -I/usr/kerberos/include -I/root/Desktop/samba/source 
LIBS = -lcrypt -lresolv -lnsl -ldl 
LDSHFLAGS = -shared 
LDFLAGS = 
Generating smbd/build_options.c 
... 
Compiling lib/util_str.c 
(1) 
lib/util_str.c: In function `strchr_m': 
lib/util_str.c:1196: warning: return discards qualifiers from pointer target type 
lib/util_str.c: In function `strrchr_m': 
lib/util_str.c:1244: warning: return discards qualifiers from pointer target type 
Compiling lib/clobber.c 
... 
Compiling tdb/tdbutil.c 
(2) 
tdb/tdbutil.c: In function `make_tdb_data': 
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type 
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal': 
tdb/tdbutil.c:59: warning: passing arg 1 of `tdb_set_lock_alarm' discards qualifiers from pointer target type 
Compiling tdb/tdbback.c 
... 
Compiling smbd/notify_hash.c 
(3) 
smbd/notify_hash.c: In function `notify_hash': 
smbd/notify_hash.c:91: warning: assignment discards qualifiers from pointer target type 
Compiling smbd/notify_kernel.c 
... 
Compiling libads/kerberos.c 
(4) 
libads/kerberos.c: In function `kerberos_kinit_password': 
libads/kerberos.c:84: warning: passing arg 6 of `krb5_get_init_creds_password' discards qualifiers from pointer target type 
Compiling libads/util.c 
... 
Compiling nsswitch/winbindd_acct.c 
(5) 
nsswitch/winbindd_acct.c: In function `string2group': 
nsswitch/winbindd_acct.c:224: warning: passing arg 1 of `next_token' from incompatible pointer type 
Compiling sam/idmap.c 
... 
Compiling client/client.c 
(6) 
client/client.c: In function `do_get': 
client/client.c:694: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type 
client/client.c: In function `do_put': 
client/client.c:1070: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type 
client/client.c: In function `do_host_query': 
client/client.c:2670: warning: passing arg 1 of `list_servers' discards qualifiers from pointer target type 
client/client.c: In function `main': 
client/client.c:2939: warning: passing arg 1 of `lp_set_name_resolve_order' discards qualifiers from pointer target type 
Compiling client/clitar.c 
... 
Compiling utils/net_ads.c 
(7) 
utils/net_ads.c: In function `net_ads_join': 
utils/net_ads.c:743: warning: assignment discards qualifiers from pointer target type 
Compiling utils/net_ads_cldap.c 
... 
Compiling utils/net_lookup.c 
(8) 
utils/net_lookup.c: In function `net_lookup_kdc': 
utils/net_lookup.c:212: warning: passing arg 3 of `krb5_locate_kdc' from incompatible pointer type 
Compiling utils/net_cache.c 
... 
Compiling utils/smbcontrol.c 
(9) 
utils/smbcontrol.c: In function `do_printnotify': 
utils/smbcontrol.c:422: warning: passing arg 3 of `notify_printer_byname' discards qualifiers from pointer target type 
Linking bin/smbcontrol 
... 
Compiling rpcclient/cmd_spoolss.c 
(10) 
rpcclient/cmd_spoolss.c: In function `get_driver_3_param': 
rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers from pointer target type 
Compiling rpcclient/cmd_netlogon.c 
... 
Compiling rpcclient/cmd_reg.c 
(11) 
rpcclient/cmd_reg.c: In function `cmd_reg_shutdown': 
rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible pointer type 
Compiling rpcclient/display_sec.c 
... 
Compiling libsmb/spnego.c 
(12) 
libsmb/spnego.c: In function `read_negTokenInit': 
libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible pointer type 
libsmb/spnego.c: In function `read_negTokenTarg': 
libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible pointer type 
libsmb/spnego.c: In function `free_spnego_data': 
libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from pointer target type 
libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from pointer target type 
Linking bin/ntlm_auth 
... 
Compiling lib/util_str.c with -fPIC 
(13) 
lib/util_str.c: In function `strchr_m': 
lib/util_str.c:1196: warning: return discards qualifiers from pointer target type 
lib/util_str.c: In function `strrchr_m': 
lib/util_str.c:1244: warning: return discards qualifiers from pointer target type 
Compiling lib/clobber.c with -fPIC 
... 
Compiling tdb/tdbutil.c with -fPIC 
(14) 
tdb/tdbutil.c: In function `make_tdb_data': 
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type 
tdb/tdbutil.c: In function `tdb_chainlock_with_timeout_internal': 
tdb/tdbutil.c:59: warning: passing arg 1 of `tdb_set_lock_alarm' discards qualifiers from pointer target type 
Compiling tdb/tdbback.c with -fPIC 
... 
Compiling libads/kerberos.c with -fPIC 
(15) 
libads/kerberos.c: In function `kerberos_kinit_password': 
libads/kerberos.c:84: warning: passing arg 6 of `krb5_get_init_creds_password' discards qualifiers from pointer target type 
Linking nsswitch/libnss_wins.so 
... 
-------------------------------------------------------------------------------------- 

Und somit klappt dann die Installation nicht, d.h. es fehlen danach z.B. smbd, nmbd, smb.conf, ... 

Hilfe !!! 

Andreas
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20031016/e79706f4/attachment.html>


Mehr Informationen über die Mailingliste linux-l