Samba 3.0.21a doesn't compile for mipsel: # ./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu && make (...) Compiling lib/sendfile.c Compiling lib/time.c lib/time.c: In function `GetTimeOfDay': lib/time.c:66: error: too few arguments to function `gettimeofday' make: *** [lib/time.o] Fehler 1 To compile it, I edited lib/time.c, and changed the line 66: gettimeofday(tval); to this: gettimeofday(tval,NULL); But I don't know if I did it "the good way".
Please write a configure check for the number of gettimeofday() arguements and attach a patch. Looks like mipsel has a non-standard gettimeofday(). Please reopen the bug once you have a pacth. Thanks.