[Samba] FW: Problems compiling samba-3.0.15pre2 on Solaris 9

James Smith j.smith at aims.gov.au
Mon May 16 06:21:33 GMT 2005


Hi all,

Getting the following  when I attempt to compile samba-3.0.15pre2 with the
following options under Solaris 9:

--with-ldap --with-ads --with-krb5 --with-pam --with-winbind. 

---snip--
Compiling lib/hmacmd5.c with -fPIC
Compiling lib/iconv.c with -fPIC
lib/iconv.c: In function `sys_iconv':
lib/iconv.c:139: warning: passing arg 2 of `libiconv' from incompatible
pointer type
Compiling nsswitch/wb_client.c with -fPIC
Compiling lib/pam_errors.c with -fPIC
Compiling intl/lang_tdb.c with -fPIC
Compiling lib/account_pol.c with -fPIC
Compiling lib/adt_tree.c with -fPIC
Compiling lib/gencache.c with -fPIC
Compiling tdb/tdb.c with -fPIC
Compiling tdb/spinlock.c with -fPIC
Compiling tdb/tdbutil.c with -fPIC
Compiling tdb/tdbback.c with -fPIC
Compiling lib/module.c with -fPIC
Compiling lib/ldap_escape.c with -fPIC
Compiling lib/privileges.c with -fPIC
Compiling lib/secdesc.c with -fPIC
Compiling lib/secace.c with -fPIC
Compiling lib/secacl.c with -fPIC
Compiling lib/dummysmbd.c with -fPIC
Compiling libads/kerberos.c with -fPIC
Compiling libads/ads_status.c with -fPIC
Linking nsswitch/libnss_wins.so
Compiling nsswitch/pam_winbind.c with -fPIC
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:71: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
nsswitch/pam_winbind.c:74: warning: passing arg 2 of pointer to function
from incompatible pointer type
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c: In function `_pam_delete':
nsswitch/pam_winbind.c:292: error: parse error before "void"
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:329: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:434: 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:462: 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:534: 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:612: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
nsswitch/pam_winbind.c:689: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `nsswitch/pam_winbind.po'

----end----


I compiled samba-3.0.14a previously with the same options without any
problems. Thanks in advance for any ideas/suggestions.

Regards
James

><> ><> ><> ><> ><> ~~~~~ <>< <>< <>< <>< <><
Systems Administrator
Australian Institute of Marine Science
Townsville, FNQ, Australia
Ph: 0747534400  Mobile: 0439916246
Email: sysadmin (at) aims.gov.au  Fax: 0747725852
><> ><> ><> ><> ><> ~~~~~ <>< <>< <>< <>< <><


------------------------------------------------------------------------
 The information contained in this communication is  for the use of the 
 individual  or  entity  to  whom  it  is  addressed, and  may  contain 
 information which is the  subject of legal privilege and/or copyright. 
 If you have received this  communication in  error, please  notify the 
 sender by return E-Mail and delete the transmission, together with any 
 attachments, from your system. Thank you.
-------------------------------------------------------------------------



More information about the samba mailing list