Solaris 10 Compile Issue
John Jason Brzozowski
john_brzozowski at cable.comcast.com
Tue Jun 19 12:48:27 UTC 2007
Thanks Shane, I am sure I am not the only one who appreciates your
investment in time to track this down. Automating this would be ideal.
On 6/19/07 8:06 AM, "Shane Kerr" <Shane_Kerr at isc.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> John Jason Brzozowski wrote:
>> I get the following compile errors when trying to build the dhcp-4.0.0a1
>> version of the software with DHVPv6 enabled on Solaris 10. It seems that
>> the msghdr struct that is used in common/socket.c expects member variables
>> that are not defined. I tried to build the software on two different
>> systems both failed.
>> Has anyone else seen this issue on Solaris 10?
> I was able to duplicate this problem here. Here's the magic sauce I used to
> the build to work right:
> $ CFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" \
> ./configure --enable-dhcpv6
> You can use "man standards" if you want to learn a lot more about Unix
> standards. More than I ever wanted to know, certainly. :)
> We'll try to work some autoconf voodoo for the next alpha release so the build
> system will automagically detect and supply the appropriate flags.
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
John Jason Brzozowski (CISSP, RHCT)
e) mailto:john_brzozowski at cable.comcast.com
More information about the dhcp-users