Samba Cross-Compilation Problem
Richard Sharpe
realrichardsharpe at gmail.com
Mon Feb 21 00:21:57 MST 2011
On Mon, Feb 21, 2011 at 1:25 AM, Hitesh Bajaj <hitesh_bajaj24 at yahoo.com> wrote:
>
> Hi
>
> Tool Chain: I am using montavista (mv_pro_5.0)tool chain.
> Samba Version: I Used - samba-3.5.6.
> Error: error: ADS_STRUCT has no member named ldap
>
> Then I Switched To Version samba-3.4.10
> Then I got the Same Error.
> EnvironMent I Set Accroding Are:
> 1) export CONFIG_SITE=/home/hitesh/Sources/config.site
> 2) export PREFIX="arm_v5t_le"
> 3) export CC="${PREFIX}-gcc"
> 4) export LD="${PREFIX}-ld"
> 5) export NM="${PREFIX}-nm -B"
> 6) export AR="${PREFIX}-ar"
> 7) export RANLIB="${PREFIX}-ranlib"
> 8) export LN_S="ln -s"
> 9) export PKG_CONFIG_PATH=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/usr/lib/pkgconfig
>
> 10)export LD_LIBRARY_PATH=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/lib/
> 11)export LDFLAGS=-L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/lib/
> 12)export CPPFLAGS=-I/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/include/
> 13) export LIBS="-L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/lib -L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/usr/lib"
>
> Then I Configured Samba As:
> ./configure --host=i686 --target=arm-linux --prefix=/home/hitesh/samba/samba-05
> I have already wasted lot of time in this.
You may have wasted a lot of time on this problem, but it is open
source software that you are dealing with. None of us are paid to
solve your problems.
When I cross compiled the code, I did not configure ADS support (I
turned it off) and was working with 3.4.4 and 3.4.5 of Samba.
It sounds like there is a problem with an include file.
Did it fail when running configure or during the make? If during the
make, what is the full error message.
--
Regards,
Richard Sharpe
More information about the samba-technical
mailing list