Hi,

I am using memcached-1.4.5. Trying to cross compile this for mips
architecture. But facing issue while configuring it.

In the configure script, there is part which checks if we are doing a cross
compile, and if so, it exits.
The checking for cross-compile starts from here:

------------------------
    SUNCC="no"
    { $as_echo "$as_me:$LINENO: checking for Sun cc in use" >&5
$as_echo_n "checking for Sun cc in use... " >&6; }
    if test *"$cross_compiling" = yes*; then
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross
compiling
See \`config.log' for more details." >&5
$as_echo "$as_me: error: cannot run test program while cross compiling
See \`config.log' for more details." >&2;}
{ *(exit 1); exit 1*; } ; }; }
--------------------------

Because of the above shown piece of code, configuring memcached for mips
architecture is not possible.

Can anyone please tell me, how to come over this issue? ie. what changes to
make to configure and compile memcached for mips architecture?


Thanks in advance
-- 
BRs
Shoma

Reply via email to