New CVS compile error
Rajeev Agrawala
rajeeva at research.bell-labs.com
Wed Dec 29 15:39:07 GMT 1999
Hi,
I am also getting the following error on compiling the SAMBA_TNG branch
on RedHat Linux 6.1 (2.2.12-20). Has anybody compiled it on linux
successfully ?
Using LIBS = -lreadline -ldl -lcrypt -lpam -lcurses
Compiling rpc_client/cli_connect.c
rpc_client/cli_connect.c: In function `cli_get_con_sesskey':
rpc_client/cli_connect.c:276: structure has no member named `sess_key'
rpc_client/cli_connect.c:276: structure has no member named `sess_key'
rpc_client/cli_connect.c: In function `cli_con_gen_next_creds':
rpc_client/cli_connect.c:360: warning: passing arg 1 of `gen_next_creds'
from incompatible pointer type
rpc_client/cli_connect.c: In function `cli_con_get_cli_cred':
rpc_client/cli_connect.c:370: structure has no member named `clnt_cred'
rpc_client/cli_connect.c: In function `cli_con_deal_with_creds':
rpc_client/cli_connect.c:380: structure has no member named `sess_key'
rpc_client/cli_connect.c:380: structure has no member named `clnt_cred'
rpc_client/cli_connect.c: In function `cli_con_set_creds':
rpc_client/cli_connect.c:398: structure has no member named `sess_key'
rpc_client/cli_connect.c:399: structure has no member named `clnt_cred'
rpc_client/cli_connect.c: In function `rpc_con_pipe_req':
rpc_client/cli_connect.c:426: warning: passing arg 1 of
`rpc_api_pipe_req' from incompatible pointer type
rpc_client/cli_connect.c:426: warning: passing arg 3 of
`rpc_api_pipe_req' makes pointer from integer without a cast
rpc_client/cli_connect.c:426: too many arguments to function
`rpc_api_pipe_req'
gmake: *** [rpc_client/cli_connect.o] Error 1
Thanks,
rajeev
Len Harold wrote:
>
> Guys,
>
> I have new compile errors under HP-UX 10.20 with both cc and gcc.
>
> Errors using gcc 2.95.2:
>
> > gmake
> Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper ...
> Using LIBS = -lsec
> Compiling rpc_client/cli_connect.c
> rpc_client/cli_connect.c: In function `cli_get_con_sesskey':
> rpc_client/cli_connect.c:276: structure has no member named `sess_key'
> rpc_client/cli_connect.c:276: structure has no member named `sess_key'
> rpc_client/cli_connect.c: In function `cli_con_gen_next_creds':
> rpc_client/cli_connect.c:360: warning: passing arg 1 of `gen_next_creds' from incompatible pointer type
> rpc_client/cli_connect.c: In function `cli_con_get_cli_cred':
> rpc_client/cli_connect.c:370: structure has no member named `clnt_cred'
> rpc_client/cli_connect.c: In function `cli_con_deal_with_creds':
> rpc_client/cli_connect.c:380: structure has no member named `sess_key'
> rpc_client/cli_connect.c:380: structure has no member named `clnt_cred'
> rpc_client/cli_connect.c: In function `cli_con_set_creds':
> rpc_client/cli_connect.c:398: structure has no member named `sess_key'
> rpc_client/cli_connect.c:399: structure has no member named `clnt_cred'
> rpc_client/cli_connect.c: In function `rpc_con_pipe_req':
> rpc_client/cli_connect.c:426: warning: passing arg 1 of `rpc_api_pipe_req' from incompatible pointer type
> rpc_client/cli_connect.c:426: warning: passing arg 3 of `rpc_api_pipe_req' makes pointer from integer without a cast
> rpc_client/cli_connect.c:426: too many arguments to function `rpc_api_pipe_req'
> gmake: *** [rpc_client/cli_connect.o] Error 1
>
> Errors using cc 10.32.05 or 10.32.30:
>
> > gmake
> Using FLAGS = +O3 +Oall -Iinclude -I./include -I./ubiqx -I./smbwrapper -Ae ...
> Using LIBS = -lsec
> Compiling rpc_client/cli_connect.c
> cc: "rpc_client/cli_connect.c", line 276: error 1588: "sess_key" undefined.
> cc: "rpc_client/cli_connect.c", line 276: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 276: warning 563: Argument #2 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 276: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 276: error 1594: The sizeof operator cannot be applied to types with unknown size.
> cc: "rpc_client/cli_connect.c", line 276: warning 527: Integral value implicitly converted to pointer in assignment.
> cc: "rpc_client/cli_connect.c", line 276: warning 563: Argument #3 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 360: warning 604: Pointers are not assignment-compatible.
> cc: "rpc_client/cli_connect.c", line 360: warning 563: Argument #1 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 370: error 1588: "clnt_cred" undefined.
> cc: "rpc_client/cli_connect.c", line 370: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 370: warning 563: Argument #2 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 370: warning 527: Integral value implicitly converted to pointer in assignment.
> cc: "rpc_client/cli_connect.c", line 370: warning 563: Argument #3 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 380: error 1588: "sess_key" undefined.
> cc: "rpc_client/cli_connect.c", line 380: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 380: warning 563: Argument #1 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 380: error 1588: "clnt_cred" undefined.
> cc: "rpc_client/cli_connect.c", line 380: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 380: warning 563: Argument #2 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 380: warning 604: Pointers are not assignment-compatible.
> cc: "rpc_client/cli_connect.c", line 380: warning 563: Argument #3 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 398: error 1588: "sess_key" undefined.
> cc: "rpc_client/cli_connect.c", line 398: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 398: warning 563: Argument #1 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 398: warning 611: Qualifiers are not assignment-compatible.
> cc: "rpc_client/cli_connect.c", line 398: warning 563: Argument #2 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 398: warning 527: Integral value implicitly converted to pointer in assignment.
> cc: "rpc_client/cli_connect.c", line 398: warning 563: Argument #3 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 399: error 1588: "clnt_cred" undefined.
> cc: "rpc_client/cli_connect.c", line 399: error 1531: Invalid member of struct or union.
> cc: "rpc_client/cli_connect.c", line 399: warning 563: Argument #1 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 399: warning 527: Integral value implicitly converted to pointer in assignment.
> cc: "rpc_client/cli_connect.c", line 399: warning 563: Argument #3 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 426: error 1619: Too many arguments for rpc_api_pipe_req.
> cc: "rpc_client/cli_connect.c", line 426: warning 604: Pointers are not assignment-compatible.
> cc: "rpc_client/cli_connect.c", line 426: warning 563: Argument #1 is not the correct type.
> cc: "rpc_client/cli_connect.c", line 426: warning 527: Integral value implicitly converted to pointer in assignment.
> cc: "rpc_client/cli_connect.c", line 426: warning 563: Argument #3 is not the correct type.
> gmake: *** [rpc_client/cli_connect.o] Error 1
>
> This isn't a real problem, but HP's make doesn't like one of the
> Makefile macros as well:
>
> > make
> Make: Macro expansion too big. Stop.
>
> Len Harold
More information about the samba-ntdom
mailing list