LSARC 2007/698 pgBouncer

James Carlson james.d.carlson at sun.com
Wed Mar 12 08:15:50 PDT 2008


Asif Naeem writes:
> Hi, there are some compilation issues with pgbouncer on solaris 9 e.g. struct msghdr.msg_controllen is missing on solaris 9. can u please guide me.Thanks.

You need to compile in a standards-compliant (not compatibility)
environment.  See libxnet(3LIB) and standards(5).

The short answer is to compile with:

	-D_XOPEN_SOURCE=500 -D__EXTENSIONS__

and link with "-lxnet" instead of the usual "-lsocket -lnsl".

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677



More information about the opensolaris-arc mailing list