[Samba] 3.0.11 client/clitar.c Fails to Compile on RedHat and AIX

Tim Evans tkevans at tkevans.com
Tue Feb 15 11:41:42 GMT 2005


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 at tkevans.com		|    Owings Mills, MD 21117
http://www.tkevans.com/		|    443-394-3864
http://www.come-here.com/News/	|    



More information about the samba mailing list