Tim Evans
2005-Feb-15 11:42 UTC
[Samba] 3.0.11 client/clitar.c Fails to Compile on RedHat and AIX
Nearly identical results on AIX 5.2 and RedHat 7.3. In both cases: ./configure --with-winbind --with-ads --with-ldap --with-krb5 AIX 5.2: 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: `dry_run' previously defined 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: conflicting declarations of `tarhandle' client/clitar.c:118: error: `tarhandle' previously declared here client/clitar.c:1799: warning: data definition has no type or storage class client/clitar.c:1800: error: parse error before '}' token make: *** [client/clitar.o] Error 1 RedHat: Compiling client/clitar.c client/clitar.c:91: parse error before `*' client/clitar.c:91: warning: data definition has no type or storage class client/clitar.c: In function `tar_parseargs': client/clitar.c:1754: `regex_t' undeclared (first use in this function) client/clitar.c:1754: (Each undeclared identifier is reported only once client/clitar.c:1754: for each function it appears in.) client/clitar.c:1754: parse error before `)' client/clitar.c:1760: `errcode' undeclared (first use in this function) client/clitar.c:1760: `REG_EXTENDED' undeclared (first use in this function) client/clitar.c: At top level: client/clitar.c:1775: parse error before `if' client/clitar.c:1775: parse error before `[' ... goes on a while longer ... client/clitar.c:1797: warning: data definition has no type or storage class client/clitar.c:1798: parse error before `}' client/clitar.c:1799: conflicting declarations of `tarhandle' client/clitar.c:118: `tarhandle' previously declared here client/clitar.c:1799: warning: data definition has no type or storage class client/clitar.c:1800: parse error before `}' make: *** [client/clitar.o] Error 1 Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court tkevans@tkevans.com | Owings Mills, MD 21117 http://www.tkevans.com/ | 443-394-3864 http://www.come-here.com/News/ |
Gerald (Jerry) Carter
2005-Feb-15 17:58 UTC
[Samba] 3.0.11 client/clitar.c Fails to Compile on RedHat and AIX
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Evans wrote: | Nearly identical results on AIX 5.2 and RedHat 7.3. In both cases: | | ./configure --with-winbind --with-ads --with-ldap --with-krb5 Patch already posted at http://www.samba.org/~jerry/patches/ cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCEiwdIR7qMdg1EfYRAsprAKCpY9GBTGK2/zqGoAooTcKdNC6zSQCdFpdN 6doXrtEuJT/8CFG/bYW5BCM=ivm5 -----END PGP SIGNATURE-----
Tim Evans
2005-Feb-15 18:27 UTC
[Samba] 3.0.11 client/clitar.c Fails to Compile on RedHat and AIX
On Tue, 15 Feb 2005 11:06:38 -0600, Gerald (Jerry) Carter wrote> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tim Evans wrote: > | Nearly identical results on AIX 5.2 and RedHat 7.3. In both cases: > | > | ./configure --with-winbind --with-ads --with-ldap --with-krb5 > > Patch already posted at http://www.samba.org/~jerry/patches/Thanks. Are all of the patches you have there for 3.0.11 required here, or just the clitar.c patch? -- Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court tkevans@tkevans.com | Owings Mills, MD 21117 http://www.tkevans.com/ | 443-394-3864 http://www.come-here.com/News/ |
Lucas Machado
2005-Feb-25 19:33 UTC
[Samba] 3.0.11 client/clitar.c Fails to Compile on RedHat and AIX
I'm having the same exact problem on Debian. I found the patches on your site, but unfortunately being barely an intermediate linux user i'm not sure what to do with the patch. So, what should i do? Thanks in advance, --Lucas Machado