[Samba] Samba 4 on AIX with XLC

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Mon Jan 7 15:44:39 MST 2013


Has anyone tried building Samba 4.0 on AIX with XLC?

I'm moving right along, but tripping up on some bugs in source3/utils/net_rpc.c, source3/utils/net_rpc_printer.c, and source3/utils/net_cache.c where there is an invalid use of the ":" operator.  According to some other posts on the PostgreSQL forum, this shouldn't compile anywhere, even though GCC apparently allows it??  (http://archives.postgresql.org/pgsql-hackers/1998-09/msg00211.php)

Maybe there's a way to skip building these components?

Anyway, here's what I'm seeing on the console:

bash-3.2# make
        WAF_MAKE=1  ./buildtools/bin/waf build
Waf: Entering directory `/admin/tst/build/samba-4.0.0/bin'
    Selected embedded Heimdal build
[   8/3655] Generating VERSION
[  44/3655] Generating smbd/build_options.c
[2833/3655] Compiling source3/utils/net_rpc.c
[2838/3655] Compiling source3/utils/net_cache.c
[2844/3655] Compiling source3/utils/net_rpc_printer.c
[2851/3655] Compiling source3/utils/net_rpc_shell.c
"../source3/utils/net_cache.c", line 87.56: 1506-226 (S) The ":" operator is not allowed between "char[1]" and "int".
"../source3/utils/net_cache.c", line 86.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 96.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 184.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 189.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 193.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 216.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 220.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_cache.c", line 251.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/include/smb_ldap.h", line 69.9: 1506-236 (W) Macro name LDAP_CONST has been redefined.
"../source3/include/smb_ldap.h", line 69.9: 1506-358 (I) "LDAP_CONST" is defined on line 50 of /opt/openldap-2.4.32/include/ldap_cdefs.h.
"../source3/utils/net_rpc.c", line 88.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 281.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 389.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 446.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 482.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 487.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 539.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 546.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 559.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 565.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 580.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 582.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 583.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 585.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 586.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 587.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 645.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 731.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 736.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 769.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 773.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 805.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 820.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 824.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 852.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 857.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 889.41: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 906.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 949.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 988.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1170.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1176.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1183.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1273.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1342.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1370.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1417.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1446.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1466.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1615.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1621.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1632.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1638.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1652.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1658.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1672.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1678.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1690.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1698.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1705.33: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1720.41: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1728.41: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1740.41: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1749.41: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1757.50: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1768.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1779.42: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1791.50: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1818.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1823.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1838.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1847.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1850.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1887.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1892.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1920.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 1925.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2057.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2064.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2126.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2212.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2222.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2233.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2239.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2312.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2319.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2377.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2465.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2475.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2486.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2492.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2603.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2930.""35../source3/utils/net_rpc_shell.c../source3/include/smb_ldap.h: ""1506-280, line , line  (8469W..) 359Function argument assignment between types "const char*" and "int" is not allowed.: :
1506-2801506-236 ( (WW) ) Function argument assignment between types "const char*" and "int" is not allowed.Macro name LDAP_CONST has been redefined."

../source3/utils/net_rpc.c"", line ../source3/include/smb_ldap.h2934"., line 3569: .1506-2809 (: W1506-358")  (../source3/utils/net_rpc_shell.cFunction argument assignment between types "const char*" and "int" is not allowed.I"
) , line "LDAP_CONST" is defined on line 50 of /opt/openldap-2.4.32/include/ldap_cdefs.h.91
.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2948.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2957.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2964.35": ../source3/utils/net_rpc_shell.c1506-280" (, line W153) .Function argument assignment between types "const char*" and "int" is not allowed.34
: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_shell.c", line 159.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2979.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_shell.c", line 191.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 2990.43: 1506-226 (S) The ":" operator is not allowed between "char*" and "int".
"../source3/utils/net_rpc.c", line 2991.41: 1506-226 (S) The ":" operator is not allowed between "char*" and "int".
"../source3/utils/net_rpc_shell.c", line 239.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_shell.c", line 245.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_shell.c", line 260.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3081.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_shell.c", line 287.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3097.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3104.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3141.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3155.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3256.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3257.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3329.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3517.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3534.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3540.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3552.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3564.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3633.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3646.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3651.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3658.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3698.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3758.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3763.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3780.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3808.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3814.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 66.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 67.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 68.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c""../source3/utils/net_rpc_printer.c, line "3840, line .6935.: 161506-280:  (1506-280W () WFunction argument assignment between types "const char*" and "int" is not allowed.)
Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 70.16: 1506-280 ("W../source3/utils/net_rpc.c) "Function argument assignment between types "const char*" and "int" is not allowed., line
3849.35: 1506-280" (../source3/utils/net_rpc_printer.cW") , line Function argument assignment between types "const char*" and "int" is not allowed.71
.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 72.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 73.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 76.24: "1506-280../source3/utils/net_rpc.c ("W, line ) 3882Function argument assignment between types "const char*" and "int" is not allowed..
35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 81.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3887.24": ../source3/utils/net_rpc_printer.c1506-280" (, line W82) .Function argument assignment between types "const char*" and "int" is not allowed.16
: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 92.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 95.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
""../source3/utils/net_rpc.c../source3/utils/net_rpc_printer.c"", line , line 3954105..3426: : 1506-2801506-280 ( (WW) ) Function argument assignment between types "const char*" and "int" is not allowed.Function argument assignment between types "const char*" and "int" is not allowed.

"../source3/utils/net_rpc_printer.c", line 109."26../source3/utils/net_rpc.c: "1506-280, line  (3965W.) 43Function argument assignment between types "const char*" and "int" is not allowed.:
1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 3974.43: 1506-226 (S) The ":" operator is not allowed between "int" and "char[1]".
"../source3/utils/net_rpc.c", line 3969.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 132.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4004.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4013.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4046.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4116.24: 1506-280 (W) "Function argument assignment between types "const char*" and "int" is not allowed.../source3/utils/net_rpc_printer.c
", line 260.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 268.25: "1506-280../source3/utils/net_rpc.c ("W, line ) 4135Function argument assignment between types "const char*" and "int" is not allowed..
32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4141.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4181.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4216.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 360.43: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 379.41: 1506-226 (S) The ":" operator is not allowed between "int" and "char[1]".
"../source3/utils/net_rpc_printer.c", line 371.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 392.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 407.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 435.33: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 446.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4714.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 455.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 4723.27: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 586.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 627.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 696.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 729.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 736.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 762.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 844.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 848.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 877.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 882.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 903.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 929.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5098.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 958.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 963.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 988.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1013.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1017.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5210.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1051.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1082.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1092.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1097.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5276.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1101.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5277.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5278.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5279.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1208.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1248.16: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5391.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1263.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1269.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5455.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5456.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1353."32../source3/utils/net_rpc.c: "1506-280, line  (5503W.) 26Function argument assignment between types "const char*" and "int" is not allowed.:
1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1373".../source3/utils/net_rpc.c32": , line 1506-2805548 (.W26) : Function argument assignment between types "const char*" and "int" is not allowed.1506-280
 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1379.40: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1381.40: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1388.24: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5643.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1503.40: 1506-280 (W) "Function argument assignment between types "const char*" and "int" is not allowed.../source3/utils/net_rpc.c
", line 5703.26: "1506-280../source3/utils/net_rpc_printer.c ("W, line ) 1506Function argument assignment between types "const char*" and "int" is not allowed..
48: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1510.40: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1514.40: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1518.40: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1594.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1615.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 5881.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1746.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1766.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6039.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6046.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1802.42: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed."
../source3/utils/net_rpc.c", line 6059.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6067.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1818.42: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6085.26: "1506-280../source3/utils/net_rpc_printer.c ("W, line ) 1823Function argument assignment between types "const char*" and "int" is not allowed..
42: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6092.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6105.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6113.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6120.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1946.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 1968.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2143.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2165.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2177.33: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6398.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2201.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2212.35: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2215.44: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2218.44: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2318.25: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2351"../source3/utils/net_rpc.c", line 6648.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc_printer.c", line 2487.32: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6693.47: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6828.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6869.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 6888.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7022.50: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7027.51: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7030.42: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7257.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7313.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7345.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7377.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7409.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7442.26: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7736.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7737.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7764.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7766.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7768.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7771.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7773.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7775.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7777.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7779.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7781.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7786.18: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7841.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
"../source3/utils/net_rpc.c", line 7842.34: 1506-280 (W) Function argument assignment between types "const char*" and "int" is not allowed.
Waf: Leaving directory `/admin/tst/build/samba-4.0.0/bin'
Build failed:
 -> task failed (err #1):
        {task: cc net_cache.c -> net_cache_126.o}
 -> task failed (err #1):
        {task: cc net_rpc_printer.c -> net_rpc_printer_126.o}
 -> task failed (err #1):
        {task: cc net_rpc.c -> net_rpc_126.o}
make: 1254-004 The error code from the last command is 1.


Stop.
bash-3.2#



Pardon the excessive output, but that's XLC for you.  Hopefully there's a way to get this to work on AIX, or I'm going to be up a creek.  So many, many thanks in advance for any help that can be offered!!

-Ben


More information about the samba mailing list