When trying to compile samba 3.0.22 for the sh4 platform I got the following error: checking for open64... yes checking for _open64... no checking for __open64... yes checking for creat64... yes checking for prctl... yes configure: error: cannot run test program while cross compiling See `config.log' for more details. In config.log I found the following error: configure:19052: checking for _open64 configure:19109: /usr/local/linkstation/gcc-3.4.4-glibc-2.3.5/mipsel-hdhlan-linux/bin/mipsel-hdhlan-linux-gcc -o conftest -O -D_SAMBA_BUILD_ conftest.c -lnsl -ldl >&5 /tmp/ccaUm9zZ.o(.text+0x18): In function `main': : undefined reference to `_open64' /tmp/ccaUm9zZ.o(.data.rel+0x0): undefined reference to `_open64' collect2: ld returned 1 exit status configure:19115: $? = 1 configure: failed program was: Can someone help me? I have to integrate this on a build environment on x86. I could run "configure" directly on the sh4 platform. Thanks in advance, Andr?