cannot compute sizeof (struct iaddr *)

Arjan Hulshoff arjan.m.hulshoff at zonnet.nl
Tue Apr 22 16:27:51 UTC 2008


Glenn Satchell wrote:
>> Date: Mon, 21 Apr 2008 17:46:39 +0200
>> From: Arjan Hulshoff <arjan.m.hulshoff at zonnet.nl>
>> To: dhcp-users at isc.org
>> Subject: cannot compute sizeof (struct iaddr *)
>>
>> Hi all,
>>
>> I am new to the list and in fact also new to building dhcp from source.
>> Unfortunately, I immediately ran into a problem during the ./configure 
>> stage.
>>
>> The following error message appears:
>>    checking for struct iaddr *... yes
>>    checking size of struct iaddr *... configure: error: cannot compute 
>> sizeof (struct iaddr *)
>>
>> I am trying to build dhcp 4.0.0 on a minimal install of Fedora 8. In the 
>> log file I get messages like:
>>    configure: failed program was:
>>    | /* confdefs.h.  */
>>
>> and:
>>
>> configure: failed program was:
>> | /* confdefs.h.  */
>>
>> I have tried quiet a few things, but nothing worked. Has anyone an idea 
>> what this could be?
>>
>> TIA,
>> Arjan.
>>
>>     
> Hmm, minimal install - do you have the basic developer tools, such as
> gcc, headers, make, and so on? Can you post a few more of the lines
> from the log file?
>
> regards,
> -glenn
>
>
>
>   
Yes, it is a minimal install, however I have already installed Bind, 
Kerberos, OpenSSL, Cyrus SASL and OpenLDAP without any problems. The dev 
tools are pretty much the first installs I did after installing Fedora. 
Of course, I still could miss something...
Below you can find the log:

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.0.0, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr/local

## --------- ##
## Platform. ##
## --------- ##

hostname = ldapserver.example.com
uname -m = i686
uname -r = 2.6.24.4-64.fc8
uname -s = Linux
uname -v = #1 SMP Sat Mar 29 09:54:46 EDT 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1798: checking for a BSD-compatible install
configure:1854: result: /usr/bin/install -c
configure:1865: checking whether build environment is sane
configure:1908: result: yes
configure:1936: checking for a thread-safe mkdir -p
configure:1975: result: /bin/mkdir -p
configure:1988: checking for gawk
configure:2004: found /bin/gawk
configure:2015: result: gawk
configure:2026: checking whether make sets $(MAKE)
configure:2047: result: yes
configure:2290: checking for gcc
configure:2306: found /usr/bin/gcc
configure:2317: result: gcc
configure:2555: checking for C compiler version
configure:2562: gcc --version >&5
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2565: $? = 0
configure:2572: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic 
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
configure:2575: $? = 0
configure:2582: gcc -V >&5
gcc: '-V' option must have argument
configure:2585: $? = 1
configure:2608: checking for C compiler default output file name
configure:2635: gcc    conftest.c  >&5
configure:2638: $? = 0
configure:2676: result: a.out
configure:2693: checking whether the C compiler works
configure:2703: ./a.out
configure:2706: $? = 0
configure:2723: result: yes
configure:2730: checking whether we are cross compiling
configure:2732: result: no
configure:2735: checking for suffix of executables
configure:2742: gcc -o conftest    conftest.c  >&5
configure:2745: $? = 0
configure:2769: result:
configure:2775: checking for suffix of object files
configure:2801: gcc -c   conftest.c >&5
configure:2804: $? = 0
configure:2827: result: o
configure:2831: checking whether we are using the GNU C compiler
configure:2860: gcc -c   conftest.c >&5
configure:2866: $? = 0
configure:2883: result: yes
configure:2888: checking whether gcc accepts -g
configure:2918: gcc -c -g  conftest.c >&5
configure:2924: $? = 0
configure:3023: result: yes
configure:3040: checking for gcc option to accept ISO C89
configure:3114: gcc  -c -g -O2  conftest.c >&5
configure:3120: $? = 0
configure:3143: result: none needed
configure:3172: checking for style of include used by make
configure:3200: result: GNU
configure:3225: checking dependency style of gcc
configure:3316: result: gcc3
configure:3383: checking for ranlib
configure:3399: found /usr/bin/ranlib
configure:3410: result: ranlib
configure:3446: checking how to run the C preprocessor
configure:3486: gcc -E  conftest.c
configure:3492: $? = 0
configure:3523: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3562: result: gcc -E
configure:3591: gcc -E  conftest.c
configure:3597: $? = 0
configure:3628: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3634: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3672: checking for grep that handles long lines and -e
configure:3746: result: /bin/grep
configure:3751: checking for egrep
configure:3829: result: /bin/grep -E
configure:3834: checking for ANSI C header files
configure:3864: gcc -c -g -O2  conftest.c >&5
configure:3870: $? = 0
configure:3969: gcc -o conftest -g -O2   conftest.c  >&5
configure:3972: $? = 0
configure:3978: ./conftest
configure:3981: $? = 0
configure:3998: result: yes
configure:4022: checking for sys/types.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for sys/stat.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for stdlib.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for string.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for memory.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for strings.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for inttypes.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for stdint.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4022: checking for unistd.h
configure:4043: gcc -c -g -O2  conftest.c >&5
configure:4049: $? = 0
configure:4065: result: yes
configure:4077: checking whether byte ordering is bigendian
configure:4110: gcc -c -g -O2  conftest.c >&5
configure:4116: $? = 0
configure:4148: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:27: error: 'not' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:27: error: expected ';' before 'big'
configure:4154: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|  not big endian
| #endif
|
|   ;
|   return 0;
| }
configure:4294: result: no
configure:4559: checking linux/types.h usability
configure:4576: gcc -c -g -O2  conftest.c >&5
configure:4582: $? = 0
configure:4596: result: yes
configure:4600: checking linux/types.h presence
configure:4615: gcc -E  conftest.c
configure:4621: $? = 0
configure:4635: result: yes
configure:4668: checking for linux/types.h
configure:4676: result: yes
configure:4690: checking for linux/filter.h
configure:4715: gcc -c -g -O2  conftest.c >&5
configure:4721: $? = 0
configure:4736: result: yes
configure:5047: checking for struct lifnum
configure:5073: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:30: error: storage size of 'a' isn't known
configure:5079: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <net/if.h>
|
| int
| main ()
| {
|  struct lifnum a;
|
|   ;
|   return 0;
| }
configure:5095: result: no
configure:5101: checking for struct if_laddrconf
configure:5127: gcc -c -g -O2  conftest.c >&5
conftest.c:25:23: error: net/if6.h: No such file or directory
conftest.c: In function 'main':
conftest.c:30: error: storage size of 'a' isn't known
configure:5133: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
|  #include <sys/types.h>
|   #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrconf a;
|
|   ;
|   return 0;
| }
configure:5149: result: no
configure:5155: checking for struct if_laddrreq
configure:5181: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:25:22: error: net/if6.h: No such file or directory
conftest.c: In function 'main':
conftest.c:30: error: storage size of 'a' isn't known
configure:5187: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  #include <net/if6.h>
|
| int
| main ()
| {
|  struct if_laddrreq a;
|
|   ;
|   return 0;
| }
configure:5204: result: no
configure:5229: checking net/if_dl.h usability
configure:5246: gcc -c -g -O2  conftest.c >&5
conftest.c:57:23: error: net/if_dl.h: No such file or directory
configure:5252: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if_dl.h>
configure:5266: result: no
configure:5270: checking net/if_dl.h presence
configure:5285: gcc -E  conftest.c
conftest.c:24:23: error: net/if_dl.h: No such file or directory
configure:5291: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
| #include <net/if_dl.h>
configure:5305: result: no
configure:5338: checking for net/if_dl.h
configure:5346: result: no
configure:5229: checking net/if6.h usability
configure:5246: gcc -c -g -O2  conftest.c >&5
conftest.c:57:21: error: net/if6.h: No such file or directory
configure:5252: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if6.h>
configure:5266: result: no
configure:5270: checking net/if6.h presence
configure:5285: gcc -E  conftest.c
conftest.c:24:21: error: net/if6.h: No such file or directory
configure:5291: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| /* end confdefs.h.  */
| #include <net/if6.h>
configure:5305: result: no
configure:5338: checking for net/if6.h
configure:5346: result: no
configure:5229: checking regex.h usability
configure:5246: gcc -c -g -O2  conftest.c >&5
configure:5252: $? = 0
configure:5266: result: yes
configure:5270: checking regex.h presence
configure:5285: gcc -E  conftest.c
configure:5291: $? = 0
configure:5305: result: yes
configure:5338: checking for regex.h
configure:5346: result: yes
configure:5361: checking for library containing MD5_Init
configure:5402: gcc -o conftest -g -O2   conftest.c  >&5
/tmp/ccAjTBok.o: In function `main':
/root/Software/dhcp-4.0.0/conftest.c:36: undefined reference to `MD5_Init'
collect2: ld returned 1 exit status
configure:5408: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MD5_Init ();
| int
| main ()
| {
| return MD5_Init ();
|   ;
|   return 0;
| }
configure:5402: gcc -o conftest -g -O2   conftest.c -lcrypto   >&5
configure:5408: $? = 0
configure:5436: result: -lcrypto
configure:5444: checking for library containing MD5Init
configure:5485: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
/tmp/ccgxOAOr.o: In function `main':
/root/Software/dhcp-4.0.0/conftest.c:36: undefined reference to `MD5Init'
collect2: ld returned 1 exit status
configure:5491: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MD5Init ();
| int
| main ()
| {
| return MD5Init ();
|   ;
|   return 0;
| }
configure:5485: gcc -o conftest -g -O2   conftest.c -lcrypto  -lcrypto  >&5
/tmp/cc2hX8U4.o: In function `main':
/root/Software/dhcp-4.0.0/conftest.c:36: undefined reference to `MD5Init'
collect2: ld returned 1 exit status
configure:5491: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char MD5Init ();
| int
| main ()
| {
| return MD5Init ();
|   ;
|   return 0;
| }
configure:5519: result: no
configure:5529: checking for library containing socket
configure:5570: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:5576: $? = 0
configure:5604: result: none required
configure:5612: checking for library containing inet_ntoa
configure:5653: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:5659: $? = 0
configure:5687: result: none required
configure:5696: checking for library containing inet_aton
configure:5737: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:5743: $? = 0
configure:5771: result: none required
configure:5787: checking for library containing regcomp
configure:5828: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:5834: $? = 0
configure:5862: result: none required
configure:5872: checking for library containing if_nametoindex
configure:5913: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:5919: $? = 0
configure:5947: result: none required
configure:5957: checking for /dev/random
configure:5972: result: yes
configure:5984: checking for struct sockaddr.sa_len
configure:6013: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:32: error: 'struct sockaddr' has no member named 'sa_len'
configure:6019: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6053: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:32: error: 'struct sockaddr' has no member named 'sa_len'
configure:6059: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
| #include <sys/socket.h>
|
| int
| main ()
| {
| static struct sockaddr ac_aggr;
| if (sizeof ac_aggr.sa_len)
| return 0;
|   ;
|   return 0;
| }
configure:6077: result: no
configure:6089: checking for struct iaddr *
configure:6123: gcc -c -g -O2  conftest.c >&5
configure:6129: $? = 0
configure:6144: result: yes
configure:6151: checking size of struct iaddr *
configure:6477: gcc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:6480: $? = 0
configure:6486: ./conftest
./conftest: error while loading shared libraries: libcrypto.so.0.9.8: 
cannot open shared object file: No such file or directory
configure:6489: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "DHCP"
| #define PACKAGE_TARNAME "dhcp"
| #define PACKAGE_VERSION "4.0.0"
| #define PACKAGE_STRING "DHCP 4.0.0"
| #define PACKAGE_BUGREPORT "dhcp-users at isc.org"
| #define PACKAGE "dhcp"
| #define VERSION "4.0.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define DHCP_BYTE_ORDER LITTLE_ENDIAN
| #define DHCPv6 1
| #define HAVE_LINUX_TYPES_H 1
| #define USE_LPF 1
| #define HAVE_REGEX_H 1
| #define HAVE_DEV_RANDOM 1
| /* end confdefs.h.  */
|
| #include "includes/inet.h"
| #include <stdio.h>
|
|
|    typedef struct iaddr * ac__type_sizeof_;
| static long int longval () { return (long int) (sizeof 
(ac__type_sizeof_)); }
| static unsigned long int ulongval () { return (long int) (sizeof 
(ac__type_sizeof_)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (ac__type_sizeof_))))
|     return 1;
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (ac__type_sizeof_))))
|     return 1;
|       fprintf (f, "%lu\n", i);
|     }
|   return ferror (f) || fclose (f) != 0;
|
|   ;
|   return 0;
| }
configure:6500: error: cannot compute sizeof (struct iaddr *)
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
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_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_random=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_filter_h=yes
ac_cv_header_linux_types_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_net_if6_h=no
ac_cv_header_net_if_dl_h=no
ac_cv_header_regex_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_member_struct_sockaddr_sa_len=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_MD5Init=no
ac_cv_search_MD5_Init=-lcrypto
ac_cv_search_if_nametoindex='none required'
ac_cv_search_inet_aton='none required'
ac_cv_search_inet_ntoa='none required'
ac_cv_search_regcomp='none required'
ac_cv_search_socket='none required'
ac_cv_type_struct_iaddr_p=yes
am_cv_CC_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/Software/dhcp-4.0.0/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/Software/dhcp-4.0.0/missing --run tar'
AUTOCONF='${SHELL} /root/Software/dhcp-4.0.0/missing --run autoconf'
AUTOHEADER='${SHELL} /root/Software/dhcp-4.0.0/missing --run autoheader'
AUTOMAKE='${SHELL} /root/Software/dhcp-4.0.0/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lcrypto '
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/Software/dhcp-4.0.0/missing --run makeinfo'
OBJEXT='o'
PACKAGE='dhcp'
PACKAGE_BUGREPORT='dhcp-users at isc.org'
PACKAGE_NAME='DHCP'
PACKAGE_STRING='DHCP 4.0.0'
PACKAGE_TARNAME='dhcp'
PACKAGE_VERSION='4.0.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='4.0.0'
ac_ct_CC='gcc'
ac_prefix_program=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='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='LITTLE_ENDIAN'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /root/Software/dhcp-4.0.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "DHCP"
#define PACKAGE_TARNAME "dhcp"
#define PACKAGE_VERSION "4.0.0"
#define PACKAGE_STRING "DHCP 4.0.0"
#define PACKAGE_BUGREPORT "dhcp-users at isc.org"
#define PACKAGE "dhcp"
#define VERSION "4.0.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define DHCP_BYTE_ORDER LITTLE_ENDIAN
#define DHCPv6 1
#define HAVE_LINUX_TYPES_H 1
#define USE_LPF 1
#define HAVE_REGEX_H 1
#define HAVE_DEV_RANDOM 1

configure: exit 77
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080422/fb3d7df6/attachment.html>


More information about the dhcp-users mailing list