Glitch compiling 4.0.0 final
Daniel Johnson
Progman2000 at usa.net
Wed Dec 26 14:24:05 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've encountered a minor compile problem with DHCP v4.0.0.
client/dhclient.c and server/dhcpd.c declare an "int local_family_set",
but only use it if DHCPv6 support is being compiled in. Warnings are
being promoted to Errors, so if configured with --disable-dhcpv6 it
does not compile.
The simple fix was to enclose the variable declaration in
"#ifdef DHCPv6" "#endif /* DHCPv6 */".
This machine is Linux 2.4.21, Slackware 9, gcc 3.2.2
Daniel Johnson
Progman2000 at usa.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHcmPX6vGcUBY+ge8RAtq9AKCAJkr9EAIuoiD2MmApu3hEOJnL2wCgy2qC
umoosyt6P33QSygnHYeuAhM=
=n9Jv
-----END PGP SIGNATURE-----
More information about the dhcp-users
mailing list