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.

John


On 6/19/07 8:06 AM, "Shane Kerr" <Shane_Kerr at isc.org> wrote:

> -----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-----
> 

=========================================
John Jason Brzozowski (CISSP, RHCT)
Comcast Corporation
e) mailto:john_brzozowski at cable.comcast.com
m) 609-377-6594
p) 856-324-2671
=========================================



More information about the dhcp-users mailing list