Bug 2410 - client.c compile fails...
client.c compile fails...
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.11
All Linux
: P3 critical
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-02 12:59 UTC by Ron Gage
Modified: 2005-08-24 10:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Gage 2005-03-02 12:59:35 UTC
Linking bin/winbindd
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:1775: error: parse error before '[' token
client/clitar.c:1775: error: `argv' undeclared here (not in a function)
client/clitar.c:1775: error: `Optind' undeclared here (not in a function)
client/clitar.c:1775: error: `__s2' undeclared here (not in a function)
client/clitar.c:1775: error: parse error before "if"
client/clitar.c:1775: error: conflicting declarations of `__result'
client/clitar.c:1775: error: `__result' previously defined here
client/clitar.c:1775: warning: data definition has no type or storage class
client/clitar.c:1775: error: parse error before '}' token
client/clitar.c:1775: error: conflicting declarations of `__result'
client/clitar.c:1775: error: `__result' previously declared here
client/clitar.c:1775: error: `__s1' undeclared here (not in a function)
client/clitar.c:1775: error: parse error before "if"
client/clitar.c:1775: error: conflicting declarations of `__result'
client/clitar.c:1775: error: `__result' previously defined here
client/clitar.c:1775: warning: data definition has no type or storage class
client/clitar.c:1775: error: parse error before '}' token
client/clitar.c:1789: error: parse error before '[' token
client/clitar.c:1789: error: conflicting declarations of `__result'
client/clitar.c:1775: error: `__result' previously declared here
client/clitar.c:1789: error: `argv' undeclared here (not in a function)
client/clitar.c:1789: error: `Optind' undeclared here (not in a function)
client/clitar.c:1789: error: `__s2' undeclared here (not in a function)
client/clitar.c:1789: error: parse error before "if"
client/clitar.c:1789: error: conflicting declarations of `__result'
client/clitar.c:1789: error: `__result' previously defined here
client/clitar.c:1789: warning: data definition has no type or storage class
client/clitar.c:1789: error: parse error before '}' token
client/clitar.c:1789: error: conflicting declarations of `__result'
client/clitar.c:1789: error: `__result' previously declared here
client/clitar.c:1789: error: `__s1' undeclared here (not in a function)
client/clitar.c:1789: error: parse error before "if"
client/clitar.c:1789: error: conflicting declarations of `__result'
client/clitar.c:1789: error: `__result' previously defined here
client/clitar.c:1789: warning: data definition has no type or storage class
client/clitar.c:1789: error: parse error before '}' token
client/clitar.c:1794: error: parse error before '[' token
client/clitar.c:1794: error: conflicting declarations of `__result'
client/clitar.c:1789: error: `__result' previously declared here
client/clitar.c:1794: error: `argv' undeclared here (not in a function)
client/clitar.c:1794: error: `Optind' undeclared here (not in a function)
client/clitar.c:1794: error: `__s2' undeclared here (not in a function)
client/clitar.c:1794: error: parse error before "if"
client/clitar.c:1794: error: conflicting declarations of `__result'
client/clitar.c:1794: error: `__result' previously defined here
client/clitar.c:1794: warning: data definition has no type or storage class
client/clitar.c:1794: error: parse error before '}' token
client/clitar.c:1794: error: conflicting declarations of `__result'
client/clitar.c:1794: error: `__result' previously declared here
client/clitar.c:1794: error: `__s1' undeclared here (not in a function)
client/clitar.c:1794: error: parse error before "if"
client/clitar.c:1794: error: conflicting declarations of `__result'
client/clitar.c:1794: error: `__result' previously defined here
client/clitar.c:1794: warning: data definition has no type or storage class
client/clitar.c:1794: error: parse error before '}' token
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
client/clitar.c:1775: error: register name not specified for `__result'
client/clitar.c:1775: error: register name not specified for `__result'
client/clitar.c:1789: error: register name not specified for `__result'
client/clitar.c:1789: error: register name not specified for `__result'
client/clitar.c:1794: error: register name not specified for `__result'
client/clitar.c:1794: error: register name not specified for `__result'
make: *** [client/clitar.o] Error 1
Comment 1 Gerald (Jerry) Carter 2005-03-02 13:42:55 UTC
it's actually a failure in clitar.c due to a broken gssapi.h 
header included with MIT krb 1.4.

This is fixed in 3.0.12pre1 or you can download the patch 
for 3.0.11 from http://samba.org/~jerry/patches/post-3.0.11/clitar.patch
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:24:49 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.