How to compile samba-3.0.25b for MIPS

James Peach jpeach at samba.org
Thu Dec 6 16:35:06 GMT 2007


On Dec 6, 2007, at 1:13 AM, sambalpj wrote:

>
> Hello everybody,
>
> I'm trying to compile SAMBA for a MIPS target, but I can't build the
> Makefile because I got the following error message:
>
> checking whether mips-linux-gcc and cc understand -c and -o  
> together... yes
> checking that the C compiler understands -Werror... cross
> checking that the C compiler understands -w2... cross
> checking that the C compiler understands volatile... yes
> checking that the C compiler understands negative enum values...  
> configure:
> error: cannot run test program while cross compiling

You need to use a config.site file to pre-configure the results of all  
the tests that require running a program.

http://www.gnu.org/software/automake/manual/autoconf/Site-Defaults.html

--
James Peach | jpeach at samba.org



More information about the samba-technical mailing list