trazodone
asked on
Cross compile DHCP failed
Hello Experts,
I am trying to cross compile ISC DHCP on Ubuntu 17.04 32 bit
./configure --prefix=/home/deer/workbe nch/dhcp/f inal --sysconfdir=/home/deer/wo rkbench/dh cp/final/e tc/dhcp --localstatedir=/var --with-srv-lease-file=/var /lib/dhcpd /dhcpd.lea ses --with-srv6-lease-file=/va r/lib/dhcp d/dhcpd6.l eases --with-cli-lease-file=/var /lib/dhcli ent/dhclie nt.leases --with-cli6-lease-file=/va r/lib/dhcl ient/dhcli ent6.lease s --host=$TARGETMACH --cache-file=config.cache
#################
Here is config.log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by DHCP configure 4.2.5-P1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/home/deer/workbe nch/dhcp/f inal --sysconfdir=/home/deer/wo rkbench/dh cp/final/e tc/dhcp --localstatedir=/var --with-srv-lease-file=/var /lib/dhcpd /dhcpd.lea ses --with-srv6-lease-file=/va r/lib/dhcp d/dhcpd6.l eases --with-cli-lease-file=/var /lib/dhcli ent/dhclie nt.leases --with-cli6-lease-file=/va r/lib/dhcl ient/dhcli ent6.lease s --host=arm-none-linux-gnue abi --cache-file=config.cache
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = i686
uname -r = 4.10.0-19-generic
uname -s = Linux
uname -v = #21-Ubuntu SMP Thu Apr 6 17:03:14 UTC 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/deer/FriendlyARM/too lschain/4. 4.3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /home/deer/FriendlyARM/too lschain/4. 5.1/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1703: loading cache config.cache
configure:1845: checking for a BSD-compatible install
configure:1901: result: /usr/bin/install -c
configure:1912: checking whether build environment is sane
configure:1955: result: yes
configure:1983: checking for a thread-safe mkdir -p
configure:2022: result: /bin/mkdir -p
configure:2035: checking for gawk
configure:2051: found /usr/bin/gawk
configure:2062: result: gawk
configure:2073: checking whether make sets $(MAKE)
configure:2094: result: yes
configure:2174: checking for arm-none-linux-gnueabi-str ip
configure:2190: found /home/deer/FriendlyARM/too lschain/4. 4.3/bin/ar m-none-lin ux-gnueabi -strip
configure:2201: result: arm-none-linux-gnueabi-str ip
configure:2288: checking whether to enable maintainer-specific portions of Makefiles
configure:2297: result: no
configure:2325: checking for arm-none-linux-gnueabi-gcc
configure:2352: result: arm-none-linux-gnueab-gcc
configure:2630: checking for C compiler version
configure:2637: arm-none-linux-gnueab-gcc --version >&5
./configure: line 2638: arm-none-linux-gnueab-gcc: command not found
configure:2640: $? = 127
configure:2647: arm-none-linux-gnueab-gcc -v >&5
./configure: line 2648: arm-none-linux-gnueab-gcc: command not found
configure:2650: $? = 127
configure:2657: arm-none-linux-gnueab-gcc -V >&5
./configure: line 2658: arm-none-linux-gnueab-gcc: command not found
configure:2660: $? = 127
configure:2683: checking for C compiler default output file name
configure:2710: arm-none-linux-gnueab-gcc conftest.c >&5
./configure: line 2711: arm-none-linux-gnueab-gcc: command not found
configure:2713: $? = 127
configure:2751: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.2.5-P1"
| #define PACKAGE_STRING "DHCP 4.2.5-P1"
| #define PACKAGE_BUGREPORT "dhcp-users@isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.2.5-P1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2758: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-non e-linux-gn ueab-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_valu e=
ac_cv_env_host_alias_set=s et
ac_cv_env_host_alias_value =arm-none- linux-gnue abi
ac_cv_env_target_alias_set =
ac_cv_env_target_alias_val ue=
ac_cv_file__dev_random=yes
ac_cv_path_install='/usr/b in/install -c'
ac_cv_path_mkdir=/bin/mkdi r
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-none-lin ux-gnueab- gcc
ac_cv_prog_STRIP=arm-none- linux-gnue abi-strip
ac_cv_prog_make_make_set=y es
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run tar'
ATF_CFLAGS=''
ATF_LDFLAGS=''
AUTOCONF='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run autoconf'
AUTOHEADER='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run autoheader'
AUTOMAKE='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run automake-1.10'
AWK='gawk'
CC='arm-none-linux-gnueab- gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_ATF_FALSE=''
HAVE_ATF_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL }'
INSTALL_SCRIPT='${INSTALL} '
INSTALL_STRIP_PROGRAM='$(i nstall_sh) -c -s'
LDAP_CFLAGS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/mi ssing --run makeinfo'
OBJEXT=''
PACKAGE='dhcp'
PACKAGE_BUGREPORT='dhcp-us ers@isc.or g'
PACKAGE_NAME='DHCP'
PACKAGE_STRING='DHCP 4.2.5-P1'
PACKAGE_TARNAME='dhcp'
PACKAGE_VERSION='4.2.5-P1'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-none-linux-gnue abi-strip'
VERSION='4.2.5-P1'
ac_ct_CC=''
ac_prefix_program=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin '
build_alias=''
byte_order=''
datadir='${datarootdir}'
datarootdir='${prefix}/sha re'
docdir='${datarootdir}/doc /${PACKAGE _TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='arm-none-linux -gnueabi'
htmldir='${docdir}'
includedir='${prefix}/incl ude'
infodir='${datarootdir}/in fo'
install_sh='$(SHELL) /home/deer/workbench/dhcp/ src/dhcp-4 .2.5-P1/in stall-sh'
libdir='${exec_prefix}/lib '
libexecdir='${exec_prefix} /libexec'
localedir='${datarootdir}/ locale'
localstatedir='/var'
mandir='${datarootdir}/man '
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/includ e'
pdfdir='${docdir}'
prefix='/home/deer/workben ch/dhcp/fi nal'
program_transform_name='s, x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sb in'
sharedstatedir='${prefix}/ com'
sysconfdir='/home/deer/wor kbench/dhc p/final/et c/dhcp'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "DHCP"
#define PACKAGE_TARNAME "dhcp"
#define PACKAGE_VERSION "4.2.5-P1"
#define PACKAGE_STRING "DHCP 4.2.5-P1"
#define PACKAGE_BUGREPORT "dhcp-users@isc.org"
#define PACKAGE "dhcp"
#define VERSION "4.2.5-P1"
configure: exit 77
#####################
I don't think "arm-none-linux-gnueab-gcc : command not found" is missing.
Will you please help?
Thank you
I am trying to cross compile ISC DHCP on Ubuntu 17.04 32 bit
./configure --prefix=/home/deer/workbe
#################
Here is config.log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by DHCP configure 4.2.5-P1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/home/deer/workbe
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = i686
uname -r = 4.10.0-19-generic
uname -s = Linux
uname -v = #21-Ubuntu SMP Thu Apr 6 17:03:14 UTC 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/deer/FriendlyARM/too
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /home/deer/FriendlyARM/too
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1703: loading cache config.cache
configure:1845: checking for a BSD-compatible install
configure:1901: result: /usr/bin/install -c
configure:1912: checking whether build environment is sane
configure:1955: result: yes
configure:1983: checking for a thread-safe mkdir -p
configure:2022: result: /bin/mkdir -p
configure:2035: checking for gawk
configure:2051: found /usr/bin/gawk
configure:2062: result: gawk
configure:2073: checking whether make sets $(MAKE)
configure:2094: result: yes
configure:2174: checking for arm-none-linux-gnueabi-str
configure:2190: found /home/deer/FriendlyARM/too
configure:2201: result: arm-none-linux-gnueabi-str
configure:2288: checking whether to enable maintainer-specific portions of Makefiles
configure:2297: result: no
configure:2325: checking for arm-none-linux-gnueabi-gcc
configure:2352: result: arm-none-linux-gnueab-gcc
configure:2630: checking for C compiler version
configure:2637: arm-none-linux-gnueab-gcc --version >&5
./configure: line 2638: arm-none-linux-gnueab-gcc:
configure:2640: $? = 127
configure:2647: arm-none-linux-gnueab-gcc -v >&5
./configure: line 2648: arm-none-linux-gnueab-gcc:
configure:2650: $? = 127
configure:2657: arm-none-linux-gnueab-gcc -V >&5
./configure: line 2658: arm-none-linux-gnueab-gcc:
configure:2660: $? = 127
configure:2683: checking for C compiler default output file name
configure:2710: arm-none-linux-gnueab-gcc conftest.c >&5
./configure: line 2711: arm-none-linux-gnueab-gcc:
configure:2713: $? = 127
configure:2751: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.2.5-P1"
| #define PACKAGE_STRING "DHCP 4.2.5-P1"
| #define PACKAGE_BUGREPORT "dhcp-users@isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.2.5-P1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2758: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-non
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_valu
ac_cv_env_host_alias_set=s
ac_cv_env_host_alias_value
ac_cv_env_target_alias_set
ac_cv_env_target_alias_val
ac_cv_file__dev_random=yes
ac_cv_path_install='/usr/b
ac_cv_path_mkdir=/bin/mkdi
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-none-lin
ac_cv_prog_STRIP=arm-none-
ac_cv_prog_make_make_set=y
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/deer/workbench/dhcp/
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/deer/workbench/dhcp/
ATF_CFLAGS=''
ATF_LDFLAGS=''
AUTOCONF='${SHELL} /home/deer/workbench/dhcp/
AUTOHEADER='${SHELL} /home/deer/workbench/dhcp/
AUTOMAKE='${SHELL} /home/deer/workbench/dhcp/
AWK='gawk'
CC='arm-none-linux-gnueab-
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_ATF_FALSE=''
HAVE_ATF_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL
INSTALL_SCRIPT='${INSTALL}
INSTALL_STRIP_PROGRAM='$(i
LDAP_CFLAGS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/deer/workbench/dhcp/
OBJEXT=''
PACKAGE='dhcp'
PACKAGE_BUGREPORT='dhcp-us
PACKAGE_NAME='DHCP'
PACKAGE_STRING='DHCP 4.2.5-P1'
PACKAGE_TARNAME='dhcp'
PACKAGE_VERSION='4.2.5-P1'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-none-linux-gnue
VERSION='4.2.5-P1'
ac_ct_CC=''
ac_prefix_program=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin
build_alias=''
byte_order=''
datadir='${datarootdir}'
datarootdir='${prefix}/sha
docdir='${datarootdir}/doc
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='arm-none-linux
htmldir='${docdir}'
includedir='${prefix}/incl
infodir='${datarootdir}/in
install_sh='$(SHELL) /home/deer/workbench/dhcp/
libdir='${exec_prefix}/lib
libexecdir='${exec_prefix}
localedir='${datarootdir}/
localstatedir='/var'
mandir='${datarootdir}/man
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/includ
pdfdir='${docdir}'
prefix='/home/deer/workben
program_transform_name='s,
psdir='${docdir}'
sbindir='${exec_prefix}/sb
sharedstatedir='${prefix}/
sysconfdir='/home/deer/wor
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "DHCP"
#define PACKAGE_TARNAME "dhcp"
#define PACKAGE_VERSION "4.2.5-P1"
#define PACKAGE_STRING "DHCP 4.2.5-P1"
#define PACKAGE_BUGREPORT "dhcp-users@isc.org"
#define PACKAGE "dhcp"
#define VERSION "4.2.5-P1"
configure: exit 77
#####################
I don't think "arm-none-linux-gnueab-gcc
Will you please help?
Thank you
ASKER
Hello Dan,
Let me try.
Thanks
Let me try.
Thanks
ASKER
Hello,
It seems configure success. please see below info
########################
deer@ubuntu:~/workbench/dh cp/src/dhc p-4.2.5-P1 $ ./configure --prefix=/home/deer/workbe nch/dhcp/f inal --sysconfdir=/home/deer/wo rkbench/dh cp/final/e tc/dhcp --localstatedir=/var --with-srv-lease-file=/var /lib/dhcpd /dhcpd.lea ses --with-srv6-lease-file=/va r/lib/dhcp d/dhcpd6.l eases --with-cli-lease-file=/var /lib/dhcli ent/dhclie nt.leases --with-cli6-lease-file=/va r/lib/dhcl ient/dhcli ent6.lease s --host=$TARGETMACH --cache-file=config.cache
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: loading cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-none-linux-gnueabi-str ip... arm-none-linux-gnueabi-str ip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-none-linux-gnueabi-gcc ... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-linux-gnueabi-gcc accepts -g... yes
checking for arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-none-linux-gnueabi-gcc ... gcc3
checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for arm-none-linux-gnueabi-ran lib... arm-none-linux-gnueabi-ran lib
checking whether byte ordering is bigendian... no
checking for dhcpd.leases location.../var/lib/dhcpd/ dhcpd.leas es
checking for dhcpd6.leases location.../var/lib/dhcpd/ dhcpd6.lea ses
checking for dhclient.leases location.../var/lib/dhclie nt/dhclien t.leases
checking for dhclient6.leases location.../var/lib/dhclie nt/dhclien t6.leases
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for linux/filter.h... yes
checking for struct lifnum... no
checking for struct if_laddrconf... no
checking for struct if_laddrreq... no
checking for GCC noreturn attribute... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if6.h usability... no
checking net/if6.h presence... no
checking for net/if6.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking for library containing inet_aton... none required
checking for library containing regcomp... none required
checking for library containing if_nametoindex... none required
checking for /dev/random... (cached) yes
checking for struct sockaddr.sa_len... no
checking for struct iaddr *... yes
checking size of struct iaddr *... 4
checking for struct msghdr.msg_control... yes
checking for flexible array members... yes
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating client/Makefile
config.status: creating common/Makefile
config.status: creating common/tests/Makefile
config.status: creating dhcpctl/Makefile
config.status: creating dst/Makefile
config.status: creating includes/Makefile
config.status: creating omapip/Makefile
config.status: creating relay/Makefile
config.status: creating server/Makefile
config.status: creating tests/Makefile
config.status: creating server/tests/Makefile
config.status: creating doc/devel/doxyfile
config.status: creating includes/config.h
config.status: executing depfiles commands
ISC DHCP source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-= -
Package:
Name: DHCP
Version: 4.2.5-P1
C Compiler: arm-none-linux-gnueabi-gcc
Flags:
DEFS: -DHAVE_CONFIG_H
CFLAGS: -g -O2 -Wall -Werror -fno-strict-aliasing -I${top_srcdir}/bind/inclu de
Features:
debug: no
failover:
execute:
Developer:
ATF unittests : no
Now you can type make to build ISC DHCP
deer@ubuntu:~/workbench/dh cp/src/dhc p-4.2.5-P1 $
####################
Now I am trying to run make and I have got error. please see below
========================== ========== ========== ======
deer@ubuntu:~/workbench/dh cp/src/dhc p-4.2.5-P1 $ make
Making all in bind
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/b ind'
bind-9.8.4-P2 already unpacked...
Bind export libraries already configured
Bind export libraries already installed
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/b ind'
Making all in includes
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/i ncludes'
make all-am
make[2]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/i ncludes'
make[2]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/i ncludes'
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/i ncludes'
Making all in tests
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/t ests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/t ests'
Making all in common
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon'
Making all in .
make[2]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon'
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
mv -f .deps/alloc.Tpo .deps/alloc.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT bpf.o -MD -MP -MF .deps/bpf.Tpo -c -o bpf.o bpf.c
mv -f .deps/bpf.Tpo .deps/bpf.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT comapi.o -MD -MP -MF .deps/comapi.Tpo -c -o comapi.o comapi.c
mv -f .deps/comapi.Tpo .deps/comapi.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT conflex.o -MD -MP -MF .deps/conflex.Tpo -c -o conflex.o conflex.c
mv -f .deps/conflex.Tpo .deps/conflex.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT ctrace.o -MD -MP -MF .deps/ctrace.Tpo -c -o ctrace.o ctrace.c
mv -f .deps/ctrace.Tpo .deps/ctrace.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT discover.o -MD -MP -MF .deps/discover.Tpo -c -o discover.o discover.c
mv -f .deps/discover.Tpo .deps/discover.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dispatch.o -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.o dispatch.c
mv -f .deps/dispatch.Tpo .deps/dispatch.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dlpi.o -MD -MP -MF .deps/dlpi.Tpo -c -o dlpi.o dlpi.c
mv -f .deps/dlpi.Tpo .deps/dlpi.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dns.o -MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.c
mv -f .deps/dns.Tpo .deps/dns.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT ethernet.o -MD -MP -MF .deps/ethernet.Tpo -c -o ethernet.o ethernet.c
mv -f .deps/ethernet.Tpo .deps/ethernet.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c
mv -f .deps/execute.Tpo .deps/execute.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT fddi.o -MD -MP -MF .deps/fddi.Tpo -c -o fddi.o fddi.c
mv -f .deps/fddi.Tpo .deps/fddi.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT icmp.o -MD -MP -MF .deps/icmp.Tpo -c -o icmp.o icmp.c
mv -f .deps/icmp.Tpo .deps/icmp.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT inet.o -MD -MP -MF .deps/inet.Tpo -c -o inet.o inet.c
mv -f .deps/inet.Tpo .deps/inet.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT lpf.o -MD -MP -MF .deps/lpf.Tpo -c -o lpf.o lpf.c
mv -f .deps/lpf.Tpo .deps/lpf.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT memory.o -MD -MP -MF .deps/memory.Tpo -c -o memory.o memory.c
mv -f .deps/memory.Tpo .deps/memory.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT nit.o -MD -MP -MF .deps/nit.Tpo -c -o nit.o nit.c
mv -f .deps/nit.Tpo .deps/nit.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT ns_name.o -MD -MP -MF .deps/ns_name.Tpo -c -o ns_name.o ns_name.c
mv -f .deps/ns_name.Tpo .deps/ns_name.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c
mv -f .deps/options.Tpo .deps/options.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT packet.o -MD -MP -MF .deps/packet.Tpo -c -o packet.o packet.c
mv -f .deps/packet.Tpo .deps/packet.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c
mv -f .deps/parse.Tpo .deps/parse.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o print.c
mv -f .deps/print.Tpo .deps/print.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT raw.o -MD -MP -MF .deps/raw.Tpo -c -o raw.o raw.c
mv -f .deps/raw.Tpo .deps/raw.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT resolv.o -MD -MP -MF .deps/resolv.Tpo -c -o resolv.o resolv.c
mv -f .deps/resolv.Tpo .deps/resolv.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT socket.o -MD -MP -MF .deps/socket.Tpo -c -o socket.o socket.c
mv -f .deps/socket.Tpo .deps/socket.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o tables.c
mv -f .deps/tables.Tpo .deps/tables.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT tr.o -MD -MP -MF .deps/tr.Tpo -c -o tr.o tr.c
mv -f .deps/tr.Tpo .deps/tr.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT tree.o -MD -MP -MF .deps/tree.Tpo -c -o tree.o tree.c
mv -f .deps/tree.Tpo .deps/tree.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/var"' -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT upf.o -MD -MP -MF .deps/upf.Tpo -c -o upf.o upf.c
mv -f .deps/upf.Tpo .deps/upf.Po
rm -f libdhcp.a
ar cru libdhcp.a alloc.o bpf.o comapi.o conflex.o ctrace.o discover.o dispatch.o dlpi.o dns.o ethernet.o execute.o fddi.o icmp.o inet.o lpf.o memory.o nit.o ns_name.o options.o packet.o parse.o print.o raw.o resolv.o socket.o tables.o tr.o tree.o upf.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran lib libdhcp.a
make[2]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon'
Making all in tests
make[2]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon/test s'
Making all in .
make[3]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon/test s'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon/test s'
make[2]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon/test s'
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/c ommon'
Making all in dst
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/d st'
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dst_support.o -MD -MP -MF .deps/dst_support.Tpo -c -o dst_support.o dst_support.c
mv -f .deps/dst_support.Tpo .deps/dst_support.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dst_api.o -MD -MP -MF .deps/dst_api.Tpo -c -o dst_api.o dst_api.c
mv -f .deps/dst_api.Tpo .deps/dst_api.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT hmac_link.o -MD -MP -MF .deps/hmac_link.Tpo -c -o hmac_link.o hmac_link.c
mv -f .deps/hmac_link.Tpo .deps/hmac_link.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT md5_dgst.o -MD -MP -MF .deps/md5_dgst.Tpo -c -o md5_dgst.o md5_dgst.c
mv -f .deps/md5_dgst.Tpo .deps/md5_dgst.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
mv -f .deps/base64.Tpo .deps/base64.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -DMINIRES_LIB -DHMAC_MD5 -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT prandom.o -MD -MP -MF .deps/prandom.Tpo -c -o prandom.o prandom.c
mv -f .deps/prandom.Tpo .deps/prandom.Po
rm -f libdst.a
ar cru libdst.a dst_support.o dst_api.o hmac_link.o md5_dgst.o base64.o prandom.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran lib libdst.a
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/d st'
Making all in omapip
make[1]: Entering directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/o mapip'
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.c
mv -f .deps/protocol.Tpo .deps/protocol.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c
mv -f .deps/buffer.Tpo .deps/buffer.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT alloc.o -MD -MP -MF .deps/alloc.Tpo -c -o alloc.o alloc.c
mv -f .deps/alloc.Tpo .deps/alloc.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT result.o -MD -MP -MF .deps/result.Tpo -c -o result.o result.c
mv -f .deps/result.Tpo .deps/result.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.c
mv -f .deps/connection.Tpo .deps/connection.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT errwarn.o -MD -MP -MF .deps/errwarn.Tpo -c -o errwarn.o errwarn.c
mv -f .deps/errwarn.Tpo .deps/errwarn.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT listener.o -MD -MP -MF .deps/listener.Tpo -c -o listener.o listener.c
mv -f .deps/listener.Tpo .deps/listener.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT dispatch.o -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.o dispatch.c
mv -f .deps/dispatch.Tpo .deps/dispatch.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT generic.o -MD -MP -MF .deps/generic.Tpo -c -o generic.o generic.c
mv -f .deps/generic.Tpo .deps/generic.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
mv -f .deps/support.Tpo .deps/support.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT handle.o -MD -MP -MF .deps/handle.Tpo -c -o handle.o handle.c
mv -f .deps/handle.Tpo .deps/handle.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT message.o -MD -MP -MF .deps/message.Tpo -c -o message.o message.c
mv -f .deps/message.Tpo .deps/message.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT convert.o -MD -MP -MF .deps/convert.Tpo -c -o convert.o convert.c
mv -f .deps/convert.Tpo .deps/convert.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/hash.Tpo .deps/hash.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c
mv -f .deps/auth.Tpo .deps/auth.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT inet_addr.o -MD -MP -MF .deps/inet_addr.Tpo -c -o inet_addr.o inet_addr.c
mv -f .deps/inet_addr.Tpo .deps/inet_addr.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT array.o -MD -MP -MF .deps/array.Tpo -c -o array.o array.c
mv -f .deps/array.Tpo .deps/array.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT trace.o -MD -MP -MF .deps/trace.Tpo -c -o trace.o trace.c
mv -f .deps/trace.Tpo .deps/trace.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT toisc.o -MD -MP -MF .deps/toisc.Tpo -c -o toisc.o toisc.c
mv -f .deps/toisc.Tpo .deps/toisc.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT iscprint.o -MD -MP -MF .deps/iscprint.Tpo -c -o iscprint.o iscprint.c
mv -f .deps/iscprint.Tpo .deps/iscprint.Po
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT isclib.o -MD -MP -MF .deps/isclib.Tpo -c -o isclib.o isclib.c
mv -f .deps/isclib.Tpo .deps/isclib.Po
rm -f libomapi.a
ar cru libomapi.a protocol.o buffer.o alloc.o result.o connection.o errwarn.o listener.o dispatch.o generic.o support.o handle.o message.o convert.o hash.o auth.o inet_addr.o array.o trace.o toisc.o iscprint.o isclib.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran lib libomapi.a
arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
arm-none-linux-gnueabi-gcc -g -O2 -Wall -Werror -fno-strict-aliasing -I../bind/include -o svtest test.o libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
/home/deer/FriendlyARM/too lschain/4. 4.3/bin/.. /lib/gcc/a rm-none-li nux-gnueab i/4.4.3/.. /../../../ arm-none-l inux-gnuea bi/bin/ld: ../bind/lib/libdns.a(clien t.o): Relocations in generic ELF (EM: 3)
../bind/lib/libdns.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Makefile:259: recipe for target 'svtest' failed
make[1]: *** [svtest] Error 1
make[1]: Leaving directory '/home/deer/workbench/dhcp /src/dhcp- 4.2.5-P1/o mapip'
Makefile:252: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
deer@ubuntu:~/workbench/dh cp/src/dhc p-4.2.5-P1 $
========================== ========== ========== ======
I was trying to solved by google but not success.
Will you please have a look?
Thank you
It seems configure success. please see below info
########################
deer@ubuntu:~/workbench/dh
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: loading cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-none-linux-gnueabi-str
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-none-linux-gnueabi-gcc
checking for arm-none-linux-gnueabi-gcc
checking for style of include used by make... GNU
checking dependency style of arm-none-linux-gnueabi-gcc
checking how to run the C preprocessor... arm-none-linux-gnueabi-gcc
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for arm-none-linux-gnueabi-ran
checking whether byte ordering is bigendian... no
checking for dhcpd.leases location.../var/lib/dhcpd/
checking for dhcpd6.leases location.../var/lib/dhcpd/
checking for dhclient.leases location.../var/lib/dhclie
checking for dhclient6.leases location.../var/lib/dhclie
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking for linux/filter.h... yes
checking for struct lifnum... no
checking for struct if_laddrconf... no
checking for struct if_laddrreq... no
checking for GCC noreturn attribute... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if6.h usability... no
checking net/if6.h presence... no
checking for net/if6.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking for library containing inet_aton... none required
checking for library containing regcomp... none required
checking for library containing if_nametoindex... none required
checking for /dev/random... (cached) yes
checking for struct sockaddr.sa_len... no
checking for struct iaddr *... yes
checking size of struct iaddr *... 4
checking for struct msghdr.msg_control... yes
checking for flexible array members... yes
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating client/Makefile
config.status: creating common/Makefile
config.status: creating common/tests/Makefile
config.status: creating dhcpctl/Makefile
config.status: creating dst/Makefile
config.status: creating includes/Makefile
config.status: creating omapip/Makefile
config.status: creating relay/Makefile
config.status: creating server/Makefile
config.status: creating tests/Makefile
config.status: creating server/tests/Makefile
config.status: creating doc/devel/doxyfile
config.status: creating includes/config.h
config.status: executing depfiles commands
ISC DHCP source configure results:
-=-=-=-=-=-=-=-=-=-=-=-=-=
Package:
Name: DHCP
Version: 4.2.5-P1
C Compiler: arm-none-linux-gnueabi-gcc
Flags:
DEFS: -DHAVE_CONFIG_H
CFLAGS: -g -O2 -Wall -Werror -fno-strict-aliasing -I${top_srcdir}/bind/inclu
Features:
debug: no
failover:
execute:
Developer:
ATF unittests : no
Now you can type make to build ISC DHCP
deer@ubuntu:~/workbench/dh
####################
Now I am trying to run make and I have got error. please see below
==========================
deer@ubuntu:~/workbench/dh
Making all in bind
make[1]: Entering directory '/home/deer/workbench/dhcp
bind-9.8.4-P2 already unpacked...
Bind export libraries already configured
Bind export libraries already installed
make[1]: Leaving directory '/home/deer/workbench/dhcp
Making all in includes
make[1]: Entering directory '/home/deer/workbench/dhcp
make all-am
make[2]: Entering directory '/home/deer/workbench/dhcp
make[2]: Leaving directory '/home/deer/workbench/dhcp
make[1]: Leaving directory '/home/deer/workbench/dhcp
Making all in tests
make[1]: Entering directory '/home/deer/workbench/dhcp
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/deer/workbench/dhcp
Making all in common
make[1]: Entering directory '/home/deer/workbench/dhcp
Making all in .
make[2]: Entering directory '/home/deer/workbench/dhcp
arm-none-linux-gnueabi-gcc
mv -f .deps/alloc.Tpo .deps/alloc.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/bpf.Tpo .deps/bpf.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/comapi.Tpo .deps/comapi.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/conflex.Tpo .deps/conflex.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/ctrace.Tpo .deps/ctrace.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/discover.Tpo .deps/discover.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/dispatch.Tpo .deps/dispatch.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/dlpi.Tpo .deps/dlpi.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/dns.Tpo .deps/dns.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/ethernet.Tpo .deps/ethernet.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/execute.Tpo .deps/execute.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/fddi.Tpo .deps/fddi.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/icmp.Tpo .deps/icmp.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/inet.Tpo .deps/inet.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/lpf.Tpo .deps/lpf.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/memory.Tpo .deps/memory.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/nit.Tpo .deps/nit.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/ns_name.Tpo .deps/ns_name.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/options.Tpo .deps/options.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/packet.Tpo .deps/packet.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/parse.Tpo .deps/parse.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/print.Tpo .deps/print.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/raw.Tpo .deps/raw.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/resolv.Tpo .deps/resolv.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/socket.Tpo .deps/socket.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/tables.Tpo .deps/tables.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/tr.Tpo .deps/tr.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/tree.Tpo .deps/tree.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/upf.Tpo .deps/upf.Po
rm -f libdhcp.a
ar cru libdhcp.a alloc.o bpf.o comapi.o conflex.o ctrace.o discover.o dispatch.o dlpi.o dns.o ethernet.o execute.o fddi.o icmp.o inet.o lpf.o memory.o nit.o ns_name.o options.o packet.o parse.o print.o raw.o resolv.o socket.o tables.o tr.o tree.o upf.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran
make[2]: Leaving directory '/home/deer/workbench/dhcp
Making all in tests
make[2]: Entering directory '/home/deer/workbench/dhcp
Making all in .
make[3]: Entering directory '/home/deer/workbench/dhcp
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/deer/workbench/dhcp
make[2]: Leaving directory '/home/deer/workbench/dhcp
make[1]: Leaving directory '/home/deer/workbench/dhcp
Making all in dst
make[1]: Entering directory '/home/deer/workbench/dhcp
arm-none-linux-gnueabi-gcc
mv -f .deps/dst_support.Tpo .deps/dst_support.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/dst_api.Tpo .deps/dst_api.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/hmac_link.Tpo .deps/hmac_link.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/md5_dgst.Tpo .deps/md5_dgst.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/base64.Tpo .deps/base64.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/prandom.Tpo .deps/prandom.Po
rm -f libdst.a
ar cru libdst.a dst_support.o dst_api.o hmac_link.o md5_dgst.o base64.o prandom.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran
make[1]: Leaving directory '/home/deer/workbench/dhcp
Making all in omapip
make[1]: Entering directory '/home/deer/workbench/dhcp
arm-none-linux-gnueabi-gcc
mv -f .deps/protocol.Tpo .deps/protocol.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/buffer.Tpo .deps/buffer.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/alloc.Tpo .deps/alloc.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/result.Tpo .deps/result.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/connection.Tpo .deps/connection.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/errwarn.Tpo .deps/errwarn.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/listener.Tpo .deps/listener.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/dispatch.Tpo .deps/dispatch.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/generic.Tpo .deps/generic.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/support.Tpo .deps/support.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/handle.Tpo .deps/handle.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/message.Tpo .deps/message.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/convert.Tpo .deps/convert.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/hash.Tpo .deps/hash.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/auth.Tpo .deps/auth.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/inet_addr.Tpo .deps/inet_addr.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/array.Tpo .deps/array.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/trace.Tpo .deps/trace.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/toisc.Tpo .deps/toisc.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/iscprint.Tpo .deps/iscprint.Po
arm-none-linux-gnueabi-gcc
mv -f .deps/isclib.Tpo .deps/isclib.Po
rm -f libomapi.a
ar cru libomapi.a protocol.o buffer.o alloc.o result.o connection.o errwarn.o listener.o dispatch.o generic.o support.o handle.o message.o convert.o hash.o auth.o inet_addr.o array.o trace.o toisc.o iscprint.o isclib.o
ar: `u' modifier ignored since `D' is the default (see `U')
arm-none-linux-gnueabi-ran
arm-none-linux-gnueabi-gcc
mv -f .deps/test.Tpo .deps/test.Po
arm-none-linux-gnueabi-gcc
/home/deer/FriendlyARM/too
/home/deer/FriendlyARM/too
/home/deer/FriendlyARM/too
/home/deer/FriendlyARM/too
/home/deer/FriendlyARM/too
/home/deer/FriendlyARM/too
../bind/lib/libdns.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
Makefile:259: recipe for target 'svtest' failed
make[1]: *** [svtest] Error 1
make[1]: Leaving directory '/home/deer/workbench/dhcp
Makefile:252: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
deer@ubuntu:~/workbench/dh
==========================
I was trying to solved by google but not success.
Will you please have a look?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any update?
ASKER
Hello,
Sorry for the delay. My client change from retriving ip from DHCP to be Fix IP instead. By the way I will continue to test by myself but I don't want to leave this topic open.I can give you best solution if you want.
Thank you for your effort.
Sorry for the delay. My client change from retriving ip from DHCP to be Fix IP instead. By the way I will continue to test by myself but I don't want to leave this topic open.I can give you best solution if you want.
Thank you for your effort.
@trazodone,
Last comment was given on 2017-06-20
Hence:
>> It seems configure success
accept the solution from "Dan Craciun"
if you feel ( I like knowledge transfer to self and others ) you can provide comments and close this query after accepting given solution.
or
update your comment.
Last comment was given on 2017-06-20
Hence:
>> It seems configure success
accept the solution from "Dan Craciun"
if you feel ( I like knowledge transfer to self and others ) you can provide comments and close this query after accepting given solution.
or
update your comment.
ASKER
Thank you.
echo "Perform the same to close the query when resolved. welcome" | /usr/bin/wc
Open in new window
HTH,
Dan