[Samba] Samba make errors

Loftus Andy - ALoftu Andy.Loftus at acxiom.com
Tue Jul 20 09:08:25 GMT 2004


I am trying to install Samba version 3.0.4 to work with SSL on an IBM server
7029 running AIX version 5.1 maint level4. 

The C compiler installed on the server is vac.C version 6.0.0.0 

The steps i have taken so far are 

from the source directory i have run ./configure--with-ssl which completed
without errors. 

I have then run the make command from the source directory but this comes
back with the following warnings and then stops 
at the nsswitch config. 

I have searched for these warning messages but can not find any relevant
information so please could someone tell me what these warnings actually
mean and if there is anything i need to change to fix these. 

Please find below warnings extracted from make 


"smbd/chgpasswd.c", line 551.35: 1506-280 (W) Function argument assignment
between types "struct passwd*" and "const struct passwd*" is not allowed.

"rpc_server/srv_spoolss_nt.c", line 4288.51: 1506-280 (W) Function argument
assignment between types "struct uuid*" and "struct uuid_flat*" is not
allowed.

"printing/pcap.c", line 276.17: 1506-280 (W) Function argument assignment
between types "unsigned char*" and "const unsigned char*" is not allowed.
"printing/pcap.c", line 277.25: 1506-280 (W) Function argument assignment
between types "unsigned char*" and "const unsigned char*" is not allowed.
"printing/pcap.c", line 277.29: 1506-280 (W) Function argument assignment
between types "unsigned char*" and "const unsigned char*" is not allowed.

"lib/util_str.c", line 1324.24: 1506-068 (W) Operation between types
"unsigned char*" and "const unsigned char*" is not allowed.

"tdb/tdbutil.c", line 46.18: 1506-068 (W) Operation between types "unsigned
char*" and "const unsigned char*" is not allowed.

"lib/popt_common.c", line 118.39: 1506-196 (W) Initialization between types
"void*" and "void(*)(struct poptContext_s*,enum poptCallbackReason,const
struct poptOption*,const unsigned char*,const void*)" is not allowed.
"lib/popt_common.c", line 129.55: 1506-196 (W) Initialization between types
"void*" and "void(*)(struct poptContext_s*,enum poptCallbackReason,const
struct poptOption*,const unsigned char*,const void*)" is not allowed.
"lib/popt_common.c", line 138.39: 1506-196 (W) Initialization between types
"void*" and "void(*)(struct poptContext_s*,enum poptCallbackReason,const
struct poptOption*,const unsigned char*,const void*)" is not allowed.
"lib/popt_common.c", line 386.55: 1506-196 (W) Initialization between types
"void*" and "void(*)(struct poptContext_s*,enum poptCallbackReason,const
struct poptOption*,const unsigned char*,const void*)" is not allowed.

Compiling nsswitch/winbindd.c
     569  1500-010: (W) WARNING in process_loop: Infinite loop.  Program may
not stop.

"nsswitch/winbindd_group.c", line 1042.49: 1506-280 (W) Function argument
assignment between types "int*" and "unsigned int*" is not allowed.
"nsswitch/winbindd_group.c", line 1087.54: 1506-280 (W) Function argument
assignment between types "int*" and "unsigned int*" is not allowed.
"nsswitch/winbindd_group.c", line 1100.66: 1506-280 (W) Function argument
assignment between types "int*" and "unsigned int*" is not allowed.
"nsswitch/winbindd_group.c", line 1120.54: 1506-280 (W) Function argument
assignment between types "int*" and "unsigned int*" is not allowed.
"nsswitch/winbindd_group.c", line 1127.32: 1506-280 (W) Function argument
assignment between types "int*" and "unsigned int*" is not allowed.

Compiling nsswitch/winbindd_dual.c
     171  1500-010: (W) WARNING in do_dual_daemon: Infinite loop.  Program
may not stop.

Compiling client/client.c
"client/client.c", line 699.34: 1506-280 (W) Function argument assignment
between types "unsigned long long*" and "unsigned long*" is not allowed.
"client/client.c", line 1075.60: 1506-280 (W) Function argument assignment
between types "unsigned long long*" and "unsigned long*" is not allowed.

"utils/net_idmap.c", line 123.27: 1506-280 (W) Function argument assignment
between types "unsigned int*" and "int*" is not allowed.
"utils/net_idmap.c", line 123.43: 1506-280 (W) Function argument assignment
between types "unsigned int*" and "int*" is not allowed.
"utils/net_idmap.c", line 124.27: 1506-280 (W) Function argument assignment
between types "unsigned int*" and "int*" is not allowed.
"utils/net_idmap.c", line 124.44: 1506-280 (W) Function argument assignment
between types "unsigned int*" and "int*" is not allowed.

"utils/smbcontrol.c", line 431.63: 1506-280 (W) Function argument assignment
between types "unsigned char*" and "const unsigned char*" is not allowed.

"rpcclient/cmd_spoolss.c", line 452.41: 1506-280 (W) Function argument
assignment between types "unsigned int*" and "int*" is not allowed.
"rpcclient/cmd_spoolss.c", line 456.61: 1506-280 (W) Function argument
assignment between types "unsigned int*" and "int*" is not allowed.
"rpcclient/cmd_spoolss.c", line 1185.22: 1506-280 (W) Function argument
assignment between types "unsigned char*" and "const unsigned char*" is not
allowed.

"rpcclient/cmd_reg.c", line 910.36: 1506-280 (W) Function argument
assignment between types "unsigned char* const*" and "const unsigned char**"
is not allowed.

"rpcclient/cmd_shutdown.c", line 43.36: 1506-280 (W) Function argument
assignment between types "unsigned char* const*" and "const unsigned char**"
is not allowed.

Compiling utils/ntlm_auth.c
    1626  1500-010: (W) WARNING in squid_stream: Infinite loop.  Program may
not stop.

"libsmb/spnego.c", line 51.70: 1506-280 (W) Function argument assignment
between types "unsigned char**" and "const unsigned char**" is not allowed.
"libsmb/spnego.c", line 186.45: 1506-280 (W) Function argument assignment
between types "unsigned char**" and "const unsigned char**" is not allowed.
"libsmb/spnego.c", line 321.68: 1506-280 (W) Function argument assignment
between types "void*" and "const unsigned char*" is not allowed.
"libsmb/spnego.c", line 330.50: 1506-280 (W) Function argument assignment
between types "void*" and "const unsigned char*" is not allowed.

"nsswitch/winbind_nss_aix.c", line 980.18: 1506-022 (S) "method_version" is
not a member of "struct secmethod_table".
"nsswitch/winbind_nss_aix.c", line 980.35: 1506-045 (S) Undeclared
identifier SECMETHOD_VERSION_520.
make: 1254-004 The error code from the last command is 1.



Andy Loftus				
UNIX Systems Administrator
______________________________                                       __

ACXIOM						
							
Direct Dial:  +44 (0)113 251 5881	Acxiom Limited	
Telephone: +44 (0)113 251 5034	1200 Century Way
Mobile         +44 07931 606363               Colton , Leeds
Fax:	   +44 (0)113 251 5365	LS15 8ZA
E-mail:        andy.loftus at acxiom.com



**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.



More information about the samba mailing list