David Pullman
2005-Mar-16 19:34 UTC
[Samba] Compile error: libsmbclient on 12rc1 on Solaris 9
snip from make.log: Compiling libsmb/libsmbclient.c with -KPIC "libsmb/libsmbclient.c", line 3249: warning: argument #3 is incompatible with prototype: prototype: pointer to char : "libsmb/libsmbclient.c", line 1167 argument : pointer to const char "libsmb/libsmbclient.c", line 3843: warning: argument #5 is incompatible with prototype: prototype: pointer to char : "libsmb/libsmbclient.c", line 3120 argument : pointer to const char "libsmb/libsmbclient.c", line 4097: invalid directive "libsmb/libsmbclient.c", line 4236: invalid directive "libsmb/libsmbclient.c", line 4373: warning: argument #7 is incompatible with prototype: prototype: pointer to char : "libsmb/libsmbclient.c", line 3315 argument : pointer to const char "libsmb/libsmbclient.c", line 4373: warning: argument #8 is incompatible with prototype: prototype: pointer to char : "libsmb/libsmbclient.c", line 3315 argument : pointer to const char cc: acomp failed for libsmb/libsmbclient.c *** Error code 2 make: Fatal error: Command failed for target `libsmb/libsmbclient.po.o' build method: #!/bin/bash export SOURCEPATH='/private/src/samba' export PATH="/usr/sbin:/sbin:/usr/bin:/depot/sws60/bin:/usr/ccs/bin:/depot/util/arch/bin" export SAMBAVERSION='3.0.12rc1' cd ${SOURCEPATH}/samba-${SAMBAVERSION}/source export CPPFLAGS="-I/opt/krb5/include -I/opt/openldap/include" export LDFLAGS="-L/opt/krb5/lib -R/opt/krb5/lib -L/opt/openldap/lib -R/opt/openldap/lib" export CC='/depot/sws60/bin/cc' export PATH="/opt/krb5:${PATH}" ./configure --prefix=/opt/samba-${SAMBAVERSION} --with-ads --with-syslog --with-acl-support --with-krb5=/opt/krb5 --with-ldap --with-winbind make >& make.log My build method hasn't changed since at least before 3.0.8. If I configure --with-libsmbclient=no it builds successfully. I haven't run into an acomp failure before. Any suggestions? Thanks very much. -- David Pullman
Gerald (Jerry) Carter
2005-Mar-17 14:22 UTC
[Samba] Compile error: libsmbclient on 12rc1 on Solaris 9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Pullman wrote: | snip from make.log: | Compiling libsmb/libsmbclient.c with -KPIC | "libsmb/libsmbclient.c", line 3249: warning: argument #3 is incompatible | with prototype: | prototype: pointer to char : "libsmb/libsmbclient.c", line 1167 | argument : pointer to const char | "libsmb/libsmbclient.c", line 3843: warning: argument #5 is incompatible | with prototype: | prototype: pointer to char : "libsmb/libsmbclient.c", line 3120 | argument : pointer to const char | "libsmb/libsmbclient.c", line 4097: invalid directive | "libsmb/libsmbclient.c", line 4236: invalid directive | "libsmb/libsmbclient.c", line 4373: warning: argument #7 is incompatible | with prototype: | prototype: pointer to char : "libsmb/libsmbclient.c", line 3315 | argument : pointer to const char | "libsmb/libsmbclient.c", line 4373: warning: argument #8 is incompatible | with prototype: | prototype: pointer to char : "libsmb/libsmbclient.c", line 3315 | argument : pointer to const char | cc: acomp failed for libsmb/libsmbclient.c | *** Error code 2 | make: Fatal error: Command failed for target `libsmb/libsmbclient.po.o' | Should be fixed in the SAMBA_3_0 svn tree now. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCOZJmIR7qMdg1EfYRAn++AJ9VgyjW0F3hOXE1RBqvHY8ezHaOoACgouSK wVY2LNesMmQrEcikWv0CbH0=+eVO -----END PGP SIGNATURE-----