make rpctorture Using FLAGS = -march=pentium4m -O2 -fomit-frame-pointer -pipe -I/usr/include/mysql -march=pentium4m -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2 -Iinclude -I/var/tmp/portage/samba-3.0.9/work/samba-3.0.9/source/include -I/var/tmp/portage/samba-3.0.9/work/samba-3.0.9/source/ubiqx -I/var/tmp/portage/samba-3.0.9/work/samba-3.0.9/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.9/work/samba-3.0.9/source LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-rpath,/usr/lib LDFLAGS = -Wl,-rpath,/usr/lib Compiling torture/rpctorture.c torture/rpctorture.c:27: error: 'global_myname' redeclared as different kind of symbol include/proto.h:981: error: previous declaration of 'global_myname' was here torture/rpctorture.c:27: error: 'global_myname' redeclared as different kind of symbol include/proto.h:981: error: previous declaration of 'global_myname' was here 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: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: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.) make: *** [torture/rpctorture.o] Error 1 rpctorture didn't build