[Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2

mark.cuthbert at yorkshirewater.co.uk mark.cuthbert at yorkshirewater.co.uk
Tue Mar 28 09:30:45 GMT 2006


Can anyone help with the following error I get whilst comiling samba,

configured with following flags:-

./configure --prefix=/opt/samba-3.0.21c --with-ldap --with-ads --with-krb5
--with-pam --with-winbind

heimal kerberos heimdal-0.7.2

openldap  openldap-2.3.20

[WMSTRAIN:root]/appfs2/samba/samba-3.0.21c/source> make && make install
Using FLAGS =  -O -D_SAMBA_BUILD_ -I./popt -Iinclude
-I/appfs2/samba/samba-3.0.21c/source/include -I/appfs2/samba/samba-3.0.21
c/sour
ce/ubiqx -I/appfs2/samba/samba-3.0.21c/source/tdb  -I. -DLDAP_DEPRECATED
-I/appfs2/samba/samba-3.0.21c/source -D_SAMBA_BUILD_
      LIBS =
      LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok
      LDFLAGS =
      PIE_CFLAGS =
      PIE_LDFLAGS =
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling passdb/pdb_interface.c
Compiling lib/iconv.c
Compiling auth/auth.c
Compiling smbd/build_options.c
Compiling smbd/server.c
Linking bin/smbd
Linking bin/nmbd
Linking bin/swat
Compiling sam/idmap.c
Linking bin/winbindd
Linking bin/smbclient
Linking bin/net
Linking bin/smbspool
Linking bin/testparm
Linking bin/smbstatus
Linking bin/smbget
Linking bin/smbcontrol
Linking bin/smbtree
Linking bin/nmblookup
Linking bin/pdbedit
Linking bin/smbpasswd
Linking bin/rpcclient
Linking bin/smbcacls
Linking bin/profiles
Linking bin/ntlm_auth
Linking bin/smbcquotas
Linking bin/eventlogadm
Linking bin/wbinfo
Compiling nsswitch/pam_winbind.c with -O2
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:76: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
nsswitch/pam_winbind.c:79: warning: passing arg 2 of pointer to function
from incompatible pointer type
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:94: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:334: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
nsswitch/pam_winbind.c:346: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared
(first use in this function)
nsswitch/pam_winbind.c:346: error: (Each undeclared identifier is reported
only once
nsswitch/pam_winbind.c:346: error: for each function it appears in.)
nsswitch/pam_winbind.c:367: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:375: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:381: warning: assignment discards qualifiers from
pointer target type
nsswitch/pam_winbind.c:439: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:454: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
nsswitch/pam_winbind.c:467: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:535: error: syntax error before "int"
nsswitch/pam_winbind.c:546: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:558: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
nsswitch/pam_winbind.c:580: warning: passing arg 3 of `pam_get_data' from
incompatible pointer type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:614: error: syntax error before "int"
nsswitch/pam_winbind.c:624: error: syntax error before "int"
nsswitch/pam_winbind.c:636: error: syntax error before "int"
nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
nsswitch/pam_winbind.c:656: warning: passing arg 2 of `pam_get_user' from
incompatible pointer type
nsswitch/pam_winbind.c:733: warning: passing arg 3 of `pam_get_item' from
incompatible pointer type
make: 1254-004 The error code from the last command is 1.


Stop.
You have mail in /usr/spool/mail/root
[WMSTRAIN:root]/appfs2/samba/samba-3.0.21c/source> gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2
/specs
Configured with: ../gcc-3.3.2/configure  : (reconfigured) ../gcc-3.3.2
/configure --disable-nls : (reconfigured) ../gcc-3.3.2/configu
re --disable-nls
Thread model: aix
gcc version 3.3.2

Thanks

Mark



Find out how to protect your home from frost this winter at www.yorkshirewater.com

YORKSHIRE WATER - WINNER OF THE UTILITY OF THE YEAR AWARD 2004 AND 2005

The information in this e-mail is confidential and may also be legally
privileged. The contents are intended for recipient only and are subject 
to the legal notice available at http://www.keldagroup.com/email.htm
Yorkshire Water Services Limited
Registered Office Western House Halifax Road Bradford BD6 2SZ
Registered in England and Wales No 2366682



More information about the samba mailing list