Tomasz Chmielewski schrieb:
> I'm trying to cross-compile Samba 3.0.21a to run on mipsel (using uClibc).
> It fails at some point however, and I can't spot the problem:
> # ./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
> Any ideas?

The fix is easy, although I'm not sure if it was "the right way" (TM).

I edited lib/time.c, and changed the line 66:


to this:


And it compiled.

I didn't try if it works yet, though.

Tomasz Chmielewski
To unsubscribe from this list go to the following URL and read the