All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Koller <clemens.koller@anagramm.de>
To: JohnsonCheng <johnsoncheng@qnap.com.tw>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: A configure error for samba3 on ppc
Date: Tue, 09 Aug 2005 12:24:05 +0200	[thread overview]
Message-ID: <42F88445.4030001@anagramm.de> (raw)
In-Reply-To: <20050807091603.CE57667F29@ozlabs.org>

Hi, JohnsonCheng!

you wrote:
> When I configure samba3.0.10 on ppc as following command:
> 
> CC=powerpc-linux-gcc AR=powerpc-linux-ar RANLIB=powerpc-linux-ranlib
> ./configure -host=powerpc-linux
> 
> I got a configure error message as following:
> Configure: error: cannot run test program while cross compiling
> See 'config.log' for more details
> 
> I think this is a samba configure bug, do anybody know how to pass it?

No, it's not a bug. It's exactly what the message trys to tell you.
Samba wants to do some tests. But as it's not a native build,
it doesn't want to execute itself for the tests. Because
samba might not run on a different platform as it was built for.

If you want to do the tests, you need to let to do it on the
target where it was built for and not where it was built on.

Samba works fine over here on ppc embedded systems.

Greets,

Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19

  reply	other threads:[~2005-08-09 10:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  9:15 A configure error for samba3 on ppc JohnsonCheng
2005-08-09 10:24 ` Clemens Koller [this message]
2005-08-09 10:54   ` JohnsonCheng
     [not found] <0MKrQq-1E2Rl01y8u-0004mW@mxeu12.kundenserver.de>
2005-08-09 13:31 ` Clemens Koller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42F88445.4030001@anagramm.de \
    --to=clemens.koller@anagramm.de \
    --cc=johnsoncheng@qnap.com.tw \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.