Hi all, i compiled Samba 2.2.5 with gcc on a Sunblade with Solaris 2.8. Last month i compiled Samba 2.2.4 on the same machine without problems. The following options i used: ./configure --with-winbind --with-pam --with-quotas I got the following warnings: Linking bin/wbinfo Compiling nsswitch/winbindd.c Compiling nsswitch/winbindd_user.c Compiling nsswitch/winbindd_group.c Compiling nsswitch/winbindd_idmap.c Compiling nsswitch/winbindd_util.c Compiling nsswitch/winbindd_cache.c Compiling nsswitch/winbindd_pam.c Compiling nsswitch/winbindd_sid.c Compiling nsswitch/winbindd_misc.c Compiling nsswitch/winbindd_cm.c Compiling nsswitch/winbindd_wins.c Compiling nsswitch/winbindd_rpc.c Linking bin/winbindd Compiling nsswitch/pam_winbind.c with -fPIC nsswitch/pam_winbind.c: In function `converse': nsswitch/pam_winbind.c:72: warning: passing arg 3 of `pam_get_item' from incompatible pointer type nsswitch/pam_winbind.c:75: warning: passing arg 2 of pointer to function from incompatible pointer type nsswitch/pam_winbind.c: In function `_make_remark': nsswitch/pam_winbind.c:90: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c: In function `_winbind_read_password': nsswitch/pam_winbind.c:265: warning: passing arg 3 of `pam_get_item' from incompatible pointer type nsswitch/pam_winbind.c:298: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:306: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:312: warning: assignment discards qualifiers from pointer target type nsswitch/pam_winbind.c:370: warning: passing arg 3 of `pam_get_item' from incompatible pointer type nsswitch/pam_winbind.c: In function `pam_sm_authenticate': nsswitch/pam_winbind.c:396: warning: passing arg 2 of `pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt': nsswitch/pam_winbind.c:450: warning: passing arg 2 of `pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c: In function `pam_sm_chauthtok': nsswitch/pam_winbind.c:525: warning: passing arg 2 of `pam_get_user' from incompatible pointer type nsswitch/pam_winbind.c:601: warning: passing arg 3 of `pam_get_item' from incompatible pointer type Compiling nsswitch/wb_common.c with -fPIC Compiling lib/snprintf.c with -fPIC Linking nsswitch/pam_winbind.so Compiling nsswitch/winbind_nss.c with -fPIC Compiling nsswitch/winbind_nss_solaris.c with -fPIC Linking nsswitch/libnss_winbind.so What can I do? Bernd Schmeling
On Tue, 2 Jul 2002, Schmeling, Bernd wrote:> Hi all, > > i compiled Samba 2.2.5 with gcc on a Sunblade with Solaris 2.8. Last month i > compiled Samba 2.2.4 on the same machine without problems. > > The following options i used: > > ./configure --with-winbind --with-pam --with-quotas > > I got the following warnings: >These are const warnings. Ignore them for now. (not that we don't care about them, but you should be ok). cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--