Here is a bit of samba 3.0.10 build stderr output: -CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT- torture/rpctorture.c:27: error: `global_myname' redeclared as different kind of symbol include/proto.h:991: error: previous declaration of `global_myname' torture/rpctorture.c:57: warning: `struct client_info' declared inside parameter list torture/rpctorture.c:57: warning: its scope is only this definition or declaration, which is probably not what you want torture/rpctorture.c: In function `rpcclient_connect': torture/rpctorture.c:62: error: dereferencing pointer to incomplete type torture/rpctorture.c:62: error: dereferencing pointer to incomplete type torture/rpctorture.c:63: error: dereferencing pointer to incomplete type torture/rpctorture.c:66: error: dereferencing pointer to incomplete type torture/rpctorture.c:66: error: dereferencing pointer to incomplete type torture/rpctorture.c:68: error: dereferencing pointer to incomplete type torture/rpctorture.c:68: error: dereferencing pointer to incomplete type torture/rpctorture.c: At top level: torture/rpctorture.c:90: warning: `struct client_info' declared inside parameter list torture/rpctorture.c: In function `run_enums_test': torture/rpctorture.c:96: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type torture/rpctorture.c:102: error: dereferencing pointer to incomplete type torture/rpctorture.c:102: error: dereferencing pointer to incomplete type torture/rpctorture.c: At top level: torture/rpctorture.c:134: warning: `struct client_info' declared inside parameter list torture/rpctorture.c: In function `run_ntlogin_test': torture/rpctorture.c:140: warning: passing arg 1 of `rpcclient_connect' from incompatible pointer type torture/rpctorture.c:146: error: dereferencing pointer to incomplete type torture/rpctorture.c:146: error: dereferencing pointer to incomplete type torture/rpctorture.c: At top level: torture/rpctorture.c:167: warning: `struct client_info' declared inside parameter list torture/rpctorture.c: In function `main': torture/rpctorture.c:233: error: storage size of `cli_info' isn't known torture/rpctorture.c:373: error: `scope' undeclared (first use in this function) torture/rpctorture.c:373: error: (Each undeclared identifier is reported only once torture/rpctorture.c:373: error: for each function it appears in.) torture/rpctorture.c:531: warning: passing arg 5 of `create_procs' from incompatible pointer type torture/rpctorture.c:535: warning: passing arg 5 of `create_procs' from incompatible pointer type make: *** [torture/rpctorture.o] Error 1 -CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT- I don't see 'client_info' structure declaration anywhere in sources. Seems it's undeclared but used in rpctorture.c.
*** This bug has been marked as a duplicate of 42784 ***