Celeste Suliin Burris
2005-Feb-09 00:51 UTC
[Samba] Samba 3.0.11 won't compile on Solaris 8
Samba 3.0.11 won't compile on my Solaris 8 machine. It keeps getting compile errors in clitar, although I am using exactly the same configuration options as in Samba 3.0.10. Here is the basic configuration from config.log $ ./configure --with-ldap --with-ads --with-acl-support --with-pam --with-krb5=/usr/local --enable-shared --without-gnu-ld --with-mysql-prefix=/usr/local/mysql --enable-cups --with-xml-prefix=/usr/local/lib/ --with-python ## --------- ## ## Platform. ## ## --------- ## hostname = geobase1 uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_117350-05 ... ## ----------- ## ## Core tests. ## ## ----------- ## configure:1765: checking for gcc configure:1791: result: gcc configure:2035: checking for C compiler version configure:2038: gcc --version </dev/null >&5 gcc (GCC) 3.4.1 The program errors read as follows- Compiling client/client.c client/client.c: In function `do_get': client/client.c:699: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type client/client.c: In function `do_put': client/client.c:1075: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type Compiling client/clitar.c client/clitar.c:91: error: parse error before '*' token client/clitar.c:91: warning: data definition has no type or storage class client/clitar.c: In function `tar_parseargs': client/clitar.c:1754: error: `regex_t' undeclared (first use in this function) client/clitar.c:1754: error: (Each undeclared identifier is reported only once client/clitar.c:1754: error: for each function it appears in.) client/clitar.c:1754: error: parse error before ')' token client/clitar.c:1760: error: `errcode' undeclared (first use in this function) client/clitar.c:1760: error: `REG_EXTENDED' undeclared (first use in this function) client/clitar.c: At top level: client/clitar.c:1775: error: parse error before "if" client/clitar.c:1797: error: redefinition of 'dry_run' client/clitar.c:94: error: previous definition of 'dry_run' was here client/clitar.c:1797: warning: data definition has no type or storage class client/clitar.c:1798: error: parse error before '}' token client/clitar.c:1799: error: non-static declaration of 'tarhandle' follows static declaration client/clitar.c:118: error: previous declaration of 'tarhandle' was here client/clitar.c:1799: warning: data definition has no type or storage class client/clitar.c:1800: error: parse error before '}' token gmake: *** [client/clitar.o] Error 1 Thanks in advance for any help. Celeste Suliin Burris Systems Administrator Tacoma Economic Development Department Phone - 253-591-5093 Email - csburris@ci.tacoma.wa.us
Gerald (Jerry) Carter
2005-Feb-09 01:33 UTC
[Samba] Samba 3.0.11 won't compile on Solaris 8
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Feb 2005, Celeste Suliin Burris wrote:> Samba 3.0.11 won't compile on my Solaris 8 machine. It keeps getting > compile errors in clitar, although I am using exactly the same > configuration options as in Samba 3.0.10.Hmmm....this file hasn't changed since 3.0.10.> Here is the basic configuration from config.log > > $ ./configure --with-ldap --with-ads --with-acl-support --with-pam > --with-krb5=/usr/local --enable-shared --without-gnu-ld > --with-mysql-prefix=/usr/local/mysql --enable-cups > --with-xml-prefix=/usr/local/lib/ --with-python> Compiling client/clitar.c > client/clitar.c:91: error: parse error before '*' token > client/clitar.c:91: warning: data definition has no type or storage classWonder why it is failing with #ifdef HAVE_REGEX_H ? That macro is not defined anywhere. We don't even test for regex.h anyways. Can you check and see where HAVE_REGEX_H is defined. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFCCWhzIR7qMdg1EfYRAkUHAJ4s44CVbRrc9eNOB8oV7t1FRGfs6QCgptEp SMdzmV4OyJ9IUWf5Cc0uKHg=t+gN -----END PGP SIGNATURE-----