Hi, I am trying to build samba 3.0.20 on an ubuntu amd64 machine. Compiling works, but if I try to build the packages, I get this error: ... include/proto.h:7483: warning: data definition has no type or storage class include/proto.h:7484: error: syntax error before 'DIR' include/proto.h:7485: error: syntax error before 'DIR' include/proto.h:7486: error: syntax error before 'DIR' include/proto.h:7487: error: syntax error before 'DIR' include/proto.h:7490: error: syntax error before 'DIR' include/proto.h:7514: warning: 'struct utimbuf' declared inside parameter list In file included from dynconfig.c:21: include/includes.h:1090: warning: conflicting types for built-in function 'memmove' include/includes.h:1114: error: 'ftruncate' redeclared as different kind of symbol include/vfs.h:259: error: previous declaration of 'ftruncate' was here dynconfig.c:60: error: 'CODEPAGEDIR' undeclared here (not in a function) make[1]: *** [dynconfig.o] Error 1 make[1]: Leaving directory `/home/user/samba/samba-3.0.20/source' make: *** [build-stamp] Error 2 Has anyone seen this before? Regards, Leen Toelen