Hi,<br><br>I had to remove the default '-Werror' flag from the Makefiles because otherwise I could not get it to compile here. The OS is Solaris 10 and I tried it on both, Sparc and x86 architecture. GCC version is 
3.4.3 and I used configure with its default values and no custom compiler flags.<br>I included the warnings I get with '-Wall' (GCC seems to be fine with the rest) and also 'config.h', because at least '
discover.c' depends on the defined variables to decide which prototype to include (I haven't looked into the other files).<br><br>Regards,<br><br>Marcus<br><br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -I.. -DLOCALSTATEDIR='"/usr/local/var"'    -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT 
discover.o -MD -MP -MF ".deps/discover.Tpo" -c -o discover.o discover.c; \<br>then mv -f ".deps/discover.Tpo" ".deps/discover.Po"; else rm -f ".deps/discover.Tpo"; exit 1; fi<br>discover.c
: In function `discover_interfaces':<br>discover.c:1125: warning: implicit declaration of function `supports_multiple_interfaces'<br>discover.c:1244: warning: implicit declaration of function `maybe_setup_fallback'
<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -I.. -DLOCALSTATEDIR='"/usr/local/var"'    -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT dlpi.o -MD -MP -MF ".deps/dlpi.Tpo" -c -o 
dlpi.o dlpi.c; \<br>then mv -f ".deps/dlpi.Tpo" ".deps/dlpi.Po"; else rm -f ".deps/dlpi.Tpo"; exit 1; fi<br>dlpi.c: In function `send_packet':<br>dlpi.c:517: warning: unused variable `hbufp'
<br>dlpi.c:518: warning: unused variable `hh'<br>dlpi.c: In function `receive_packet':<br>dlpi.c:618: warning: unused variable `flags'<br>dlpi.c:621: warning: unused variable `rslt'<br>dlpi.c: In function `dlpiunit':
<br>dlpi.c:731: warning: unused variable `fd'<br>dlpi.c:732: warning: unused variable `dp'<br>dlpi.c:732: warning: unused variable `ep'<br>dlpi.c: At top level:<br>dlpi.c:300: warning: 'strioctl' defined but not used
<br>dlpi.c:920: warning: 'dlpidetachreq' defined but not used<br>dlpi.c:898: warning: 'dlpiunbindreq' defined but not used<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes      -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT 
clparse.o -MD -MP -MF ".deps/clparse.Tpo" -c -o clparse.o clparse.c; \<br>then mv -f ".deps/clparse.Tpo" ".deps/clparse.Po"; else rm -f ".deps/clparse.Tpo"; exit 1; fi<br>gcc -DHAVE_CONFIG_H -I. -I. -I../includes      -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -DCLIENT_PATH='"/usr/local/sbin"' \
<br>           -DLOCALSTATEDIR='"/usr/local/var"' -c dhclient.c<br>dhclient.c: In function `make_discover':<br>dhclient.c:2103: warning: implicit declaration of function `can_receive_unicast_unconfigured'
<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -DLOCALSTATEDIR='"/usr/local/var"'    -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT dhcrelay.o -MD -MP -MF ".deps/dhcrelay.Tpo" -c -o 
dhcrelay.o dhcrelay.c; \<br>then mv -f ".deps/dhcrelay.Tpo" ".deps/dhcrelay.Po"; else rm -f ".deps/dhcrelay.Tpo"; exit 1; fi<br>dhcrelay.c: In function `relay':<br>dhcrelay.c:362: warning: implicit declaration of function `can_unicast_without_arp'
<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -I.. -DLOCALSTATEDIR='"/usr/local/var"'    -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT dhcp.o -MD -MP -MF ".deps/dhcp.Tpo" -c -o 
dhcp.o dhcp.c; \<br>then mv -f ".deps/dhcp.Tpo" ".deps/dhcp.Po"; else rm -f ".deps/dhcp.Tpo"; exit 1; fi<br>dhcp.c: In function `dhcp_reply':<br>dhcp.c:2944: warning: implicit declaration of function `can_unicast_without_arp'
<br><br>if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -I.. -DLOCALSTATEDIR='"/usr/local/var"'    -g -O2 -Wall -fno-strict-aliasing -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -MT bootp.o -MD -MP -MF ".deps/bootp.Tpo" -c -o 
bootp.o bootp.c; \<br>then mv -f ".deps/bootp.Tpo" ".deps/bootp.Po"; else rm -f ".deps/bootp.Tpo"; exit 1; fi<br>bootp.c: In function `bootp':<br>bootp.c:365: warning: implicit declaration of function `can_unicast_without_arp'
<br><br>config.h:<br><br>/* includes/config.h.  Generated by configure.  */<br>/* includes/config.h.in.  Generated from <a href="http://configure.ac">configure.ac</a> by autoheader.  */<br><br>/* Define to BIG_ENDIAN for MSB (Motorola or SPARC CPUs) or LITTLE_ENDIAN for
<br>   LSB (Intel CPUs). */<br>#define DHCP_BYTE_ORDER BIG_ENDIAN<br><br>/* Define to 1 to include DHCPv6 support. */<br>#define DHCPv6 1<br><br>/* Define to 1 if you have the /dev/random file. */<br>#define HAVE_DEV_RANDOM 1
<br><br>/* Define to 1 if you have the <inttypes.h> header file. */<br>#define HAVE_INTTYPES_H 1<br><br>/* Define to 1 if you have the <linux/types.h> header file. */<br>/* #undef HAVE_LINUX_TYPES_H */<br><br>
/* Define to 1 if you have the <memory.h> header file. */<br>#define HAVE_MEMORY_H 1<br><br>/* Define to 1 if you have the <net/if6.h> header file. */<br>/* #undef HAVE_NET_IF6_H */<br><br>/* Define to 1 if you have the <net/if_dl.h> header file. */
<br>#define HAVE_NET_IF_DL_H 1<br><br>/* Define to 1 if you have the <regex.h> header file. */<br>#define HAVE_REGEX_H 1<br><br>/* Define to 1 if the sockaddr structure has a length field. */<br>/* #undef HAVE_SA_LEN */
<br><br>/* Define to 1 if you have the <stdint.h> header file. */<br>#define HAVE_STDINT_H 1<br><br>/* Define to 1 if you have the <stdlib.h> header file. */<br>#define HAVE_STDLIB_H 1<br><br>/* Define to 1 if you have the <
strings.h> header file. */<br>#define HAVE_STRINGS_H 1<br><br>/* Define to 1 if you have the <string.h> header file. */<br>#define HAVE_STRING_H 1<br><br>/* Define to 1 if you have the <sys/stat.h> header file. */
<br>#define HAVE_SYS_STAT_H 1<br><br>/* Define to 1 if you have the <sys/types.h> header file. */<br>#define HAVE_SYS_TYPES_H 1<br><br>/* Define to 1 if you have the <unistd.h> header file. */<br>#define HAVE_UNISTD_H 1
<br><br>/* Define to 1 if the system has 'struct if_laddrconf'. */<br>/* #undef ISC_PLATFORM_HAVEIF_LADDRCONF */<br><br>/* Define to 1 if the system has 'struct if_laddrreq'. */<br>/* #undef ISC_PLATFORM_HAVEIF_LADDRREQ */
<br><br>/* Define to 1 if the system has 'struct lifnum'. */<br>#define ISC_PLATFORM_HAVELIFNUM 1<br><br>/* Define to 1 if the inet_aton() function is missing. */<br>#define NEED_INET_ATON 1<br><br>/* Name of package */
<br>#define PACKAGE "dhcp"<br><br>/* Define to the address where bug reports for this package should be sent. */<br>#define PACKAGE_BUGREPORT "<a href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a>"
<br><br>/* Define to the full name of this package. */<br>#define PACKAGE_NAME "DHCP"<br><br>/* Define to the full name and version of this package. */<br>#define PACKAGE_STRING "DHCP 4.0.0a3"<br><br>/* Define to the one symbol short name of this package. */
<br>#define PACKAGE_TARNAME "dhcp"<br><br>/* Define to the version of this package. */<br>#define PACKAGE_VERSION "4.0.0a3"<br><br>/* The size of a `struct iaddr *', as computed by sizeof. */<br>#define SIZEOF_STRUCT_IADDR_P 4
<br><br>/* Define to 1 if you have the ANSI C header files. */<br>#define STDC_HEADERS 1<br><br>/* Define to 1 to use the Berkeley Packet Filter interface code. */<br>/* #undef USE_BPF */<br><br>/* Define to 1 to use DLPI interface code. */
<br>#define USE_DLPI 1<br><br>/* Define to 1 to use the Linux Packet Filter interface code. */<br>/* #undef USE_LPF */<br><br>/* Version number of package */<br>#define VERSION "4.0.0a3"<br><br>/* File for dhclient process information. */
<br>/* #undef _PATH_DHCLIENT */<br><br>/* File for dhclient leases. */<br>/* #undef _PATH_DHCLIENT_DB */<br><br>/* File for dhcpd leases. */<br>/* #undef _PATH_DHCPD_DB */<br><br>/* File for dhcpd process information. */<br>
/* #undef _PATH_DHCPD_PID */<br><br>/* File for dhcrelay process information. */<br>/* #undef _PATH_DHCRELAY_PID */<br><br><br>