[Samba] problem when compiling samba-3.0.21c on power PCplatform

Zhai, Shunnian Shunnian_Zhai at adaptec.com
Fri Mar 3 03:55:03 GMT 2006


Hi, Tim,

I am doing cross-compiling here. However, it is working fine with samba
2.2 version.

You mentioned that Samba doesn't really support cross-compilation. Is it
only for samba 3?

Thanks,
Shunnian

-----Original Message-----
From: Tim Potter [mailto:tpot at samba.org] 
Sent: Friday, March 03, 2006 11:40 AM
To: Zhai, Shunnian
Cc: samba-technical at lists.samba.org
Subject: Re: [Samba] problem when compiling samba-3.0.21c on power
PCplatform

On Fri, 2006-03-03 at 09:45 +0800, Zhai, Shunnian wrote:

> Currently we are using Samba 2.2 and planning to update to samba 3.
> However, I encountered the following error when I try to compile the
> samba-3.0.21c:

> Checking for creat64...yes
> 
> Checking for prctl...yes
> 
> Configure: error: cannot run test program while cross compiling
> 
> See 'config.log' for more details.

> Would anyone with experience on cross compiling samba3 help me?

Are you actually cross-compiling here, or does this error appear when
compiling on a ppc machine?  Samba doesn't really support
cross-compilation despite some of the cross compiling macros being used
in the configure script.


Tim.



More information about the samba-technical mailing list