mark.cuthbert@yorkshirewater.co.uk
2006-Mar-28 09:31 UTC
[Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2
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
Guenther Deschner
2006-Mar-28 10:01 UTC
[Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060328/44e7dfe7/attachment.bin
mark.cuthbert@yorkshirewater.co.uk
2006-Mar-28 10:38 UTC
[Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2
Hi Guenther, Thanks for the code. Even I managed to understand that ;-0 It has got the make past the point it failed last time, should this be flagged as a bug? Regards Mark |---------+----------------------------------------------------------------> | | Guenther Deschner <gd@samba.org> | | | Sent by: | | | samba-bounces+mark.cuthbert=yorkshirewater.co.uk@list| | | s.samba.org | | | | | | | | | 28/03/2006 11:01 | | | | | | Message Size: 7.3Kb | |---------+----------------------------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: mark.cuthbert@yorkshirewater.co.uk | | cc: samba@lists.samba.org | | Subject: Re: [Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2 | >----------------------------------------------------------------------------------------------| Hi, On Tue, Mar 28, 2006 at 10:30:45AM +0100, mark.cuthbert@yorkshirewater.co.uk wrote:> Can anyone help with the following error I get whilst comiling samba,can you please retry with the following patch? Guenther -- G?nther Deschner GPG-ID: 8EE11688 Novell / SUSE LINUX gd@suse.de Samba Team gd@samba.org (See attached file: diff) (See attached file: C.DTF) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba 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
Guenther Deschner
2006-Mar-31 11:46 UTC
[Samba] Error compiling samba 3.0.21c, AIX 52 ML7 gcc 3.3.2
On Tue, Mar 28, 2006 at 11:37:08AM +0100, mark.cuthbert@yorkshirewater.co.uk wrote:> > Hi Guenther, > > Thanks for the code. Even I managed to understand that ;-0 > > It has got the make past the point it failed last time, should this be > flagged as a bug?Not required, I commit that patch. Thanks, Guenther -- G?nther Deschner GPG-ID: 8EE11688 Novell / SUSE LINUX gd@suse.de Samba Team gd@samba.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060331/abfa65f4/attachment.bin
Seemingly Similar Threads
- Samba 3.0.21c on AIX 5.2 ML7
- Samba 3.0.21b binaries on AIX 5.2 ML4, fails to run after install
- Cannot connect to Samba-3.0.23d (and earlier) from other trusted AD domains
- samba 3.0.21c, AIX 52 ML7 gcc 3.3.2, Error authenticating root in SWAT
- AIX 5.2 Samba 3.0.23c Samba peculiarities