Solaris 10 Compile Issue

Shane Kerr Shane_Kerr at isc.org
Tue Jun 19 12:06:34 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John,

John Jason Brzozowski wrote:
> Folks,
> 
> 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__" \
    ./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.

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGd8bBMsfZxBO4kbQRAhKbAKDu/bdbG1TWDV2hzlYmD+DIhVc+pgCfTxi7
3ro3iAwoZK4yE5F00KtF6K8=
=krE9
-----END PGP SIGNATURE-----


More information about the dhcp-users mailing list