cross compiling DHCP

dallas dallas at commverse.com
Tue May 20 21:28:30 UTC 2008


Hi All,

Can anyone please give me some pointers on what options to
provide the ./configure script to cross-compile DHCP 4.1?

I would like to compile DHCP with a ppc-linux-gcc cross
compiler from a x86 host.

In the past I have been able to use the --target, --host,
--build options to enable cross compiling of various other
open source packages.  I'm not having any luck with DHCP.

This is what I've got currently:

./configure
--prefix=${RAC_ROOT_DIR}/cmc_image/dell_64/rootfs/usr
--exec-prefix=${RAC_ROOT_DIR}/cmc_image/dell_64/rootfs
--host=ppc-linux --target=ppc-linux
--build=${RAC_ROOT_DIR}/../cmc_toolchain/usr/bin/ppc-linux-gcc
CC=${RAC_ROOT_DIR}/../cmc_toolchain/usr/bin/ppc-linux-gcc
"LIBS=-L${RAC_ROOT_DIR}/cmc_open/lib -lcrypto"
ac_cv_file__dev_random=no

As you can see, I'm getting desparate.  Thanks in advance
for any help!

-Dallas


More information about the dhcp-users mailing list