error while giving make in ISC DHCP-4.2.3??????

ameen.shajahan at ameen.shajahan at
Thu Dec 8 08:49:23 UTC 2011

Hi all,

                I want to cross compile the ISC DHCP-4.2.3  to armv5b compiler type.
Command 1:
[user at nemo dhcp-4.2.3]$./configure --prefix=/home/ameen/dhcp-4.2.3/output   CC=/opt/crosstool/armv5b-linux/bin/armv5b-linux-gcc    --enable-debug  --with-srv6-lease-file=/var/db/dhcpd6.leases --with-cli6-lease-file=/var/db/dhclient6.leases --with-srv6-pid-file=/var/run/ --with-cli6-pid-file=/var/run/ --with-relay-pid-file=/var/run/ --cache-file=config.cache

 ./configure command running successfully.

Command 2:

While issuing make command , its throwing an error which I mentioned below.

[user at nemo dhcp-4.2.3]$ make
Making all in bind
make[1]: Entering directory `/home/user/dhcp-4.2.3/bind'
Configuring BIND Export libraries for DHCP.
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
configure: WARNING: using cross tools not prefixed with host triplet
Building BIND Export libraries - this takes some time.
building in /home/user/dhcp-4.2.3/bind/bind-9.8.1/lib/export
/bin/sh: ./gen: cannot execute binary file
gmake[3]: *** [include/dns/enumtype.h] Error 126
gmake[2]: *** [subdirs] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/dhcp-4.2.3/bind'
make: *** [all-recursive] Error 1

                I would like to know what would be the reason for this error.I am using ISC DHCP-4.2.3 package.

                Please let me know is there any procedure available for cross compiling ISC DHCP-4.2.3.

Ameen S

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list