[Samba] Cross-compiling failed for sh4 platform

André Goddard Rosa andre.goddard at gmail.com
Wed Apr 19 12:17:48 GMT 2006

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
-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,

More information about the samba mailing list