[Samba] samba4 asn1_compile issue

Sedat Cakir cakir_sedat at yahoo.com
Fri Aug 5 02:24:46 MDT 2011


I am trying to do cross compile Samba4. Build system generating two binary asn1_compile and compile_et to generate .c files which will then build for our platform.But it can not execute both binary files.

[ 198/3298] Compiling ASN1 source4/heimdal/lib/asn1/kx509.asn1
/bin/sh: ../build_dir/target-ubicom32-unknown-linux-gnu/samba-4.0.0alpha16/bin/asn1_compile: cannot execute binary file
Waf: Leaving directory `../build_dir/target-ubicom32-unknown-linux-gnu/samba-4.0.0alpha16/bin'
Build failed:  -> task failed (err #126):
        {task: HEIMDAL_KX509_ASN1_ASN1 kx509.asn1 -> asn1_kx509_asn1.x,kx509_asn1.hx,kx509_asn1-priv.hx}
When we replaced binary files with files generated at PC, it can execute them and generate .c files, then continue to compile.
Do you have any idea why we can not generate binaries correctly? Can anybody kindly help us to?


More information about the samba mailing list