Solaris 10 Compile Issue
Shane_Kerr at isc.org
Tue Jun 19 12:06:34 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
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 get
the build to work right:
$ CFLAGS="-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__" \
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-----
More information about the dhcp-users