bind 9 cross compilation error

Saravanan Chanemouganandam schane at osmozis.com
Wed Oct 10 09:13:44 UTC 2007


Hi all,

I am a newbie to bind9. I have started cross compiling bind9 for my target 
arm-linux platform and I keep getting some errors while configuring bind9.

./configure --target=arm-linux --host=i686-pc-linux-gnu 
--prefix=/home/cm-x270/cmrootfs/ 
BUILD_CC=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc

 configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
....
checking for random device... /dev/random
checking for /dev/random... configure: error: cannot check for file existence 
when cross compiling
sara:/home/sara/bind-9.4.1# 

I have my host development x86 machine running linux and /scratchbox tool for 
cross compilation 
(/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/bin/arm-linux- ). 

Can anyone precise me how can I cross compile bind9 for my arm platform using 
scratchbox ?

Thanks
Sara



More information about the bind-users mailing list