Some more info.. if it matters..

here is msghdr from sys/socket.h

/*
 * NOTE: The POSIX msghdr structure takes precedence over the XOPEN flavor
 *       if both environments are defined.  The two structs differ in the
 *       size of the msg_iovlen element.
 */
#ifdef _POSIX_PII_SOCKET
struct msghdr {
#else
struct __Pmsghdr {
#endif
        void           *msg_name;       /* optional address */
#ifdef _POSIX_PII_SOCKET
        socklen_t       msg_namelen;    /* size of address */
#else
        size_t          msg_namelen;    /* size of address */
#endif
        struct iovec   *msg_iov;        /* scatter/gather array */
        size_t          msg_iovlen;     /* # elements in msg_iov */
        void           *msg_control;    /* ancillary data, see below */
#ifdef _POSIX_PII_SOCKET
        socklen_t       msg_controllen; /* ancillary data buffer len */
#else
        size_t          msg_controllen; /* ancillary data buffer len */
#endif
        int             msg_flags;      /* flags on received message */
};

#if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_POSIX_PII_SOCKET)
struct msghdr {
#else
struct __Xmsghdr {
#endif
        void           *msg_name;       /* optional address */
#if _XOPEN_SOURCE>=500
        socklen_t       msg_namelen;    /* size of address */
#else
        size_t          msg_namelen;    /* size of address */
#endif
        struct iovec   *msg_iov;        /* scatter/gather array */
        int             msg_iovlen;     /* # elements in msg_iov */
        void           *msg_control;    /* ancillary data, see below */
#if _XOPEN_SOURCE>=500
        socklen_t       msg_controllen; /* ancillary data buffer len */
#else
        size_t          msg_controllen; /* ancillary data buffer len */
#endif
        int             msg_flags;      /* flags on received message */
};

#if defined(_XOPEN_SOURCE_EXTENDED) || defined(_POSIX_PII_SOCKET)
struct __Omsghdr {
#else
/* The msghdr structure the kernel uses */
struct msghdr {
#endif
        caddr_t         msg_name;       /* optional address */
        unsigned int    msg_namelen;    /* size of address */
#if defined(_XOPEN_SOURCE_EXTENDED) || defined(_POSIX_PII_SOCKET)
        struct __Oiovec *msg_iov;       /* scatter/gather array */
#else
        struct iovec   *msg_iov;        /* scatter/gather array */
#endif
        unsigned int    msg_iovlen;     /* # elements in msg_iov */
        caddr_t         msg_control;    /* ancillary data, see below */
        unsigned int    msg_controllen; /* ancillary data buffer len */
        int             msg_flags;      /* flags on received message */
};


And my configure line:
C="cc" ./configure \
--prefix=/usr/local/php \
--disable-all \
--enable-debug \
--disable-cgi \
--enable-sockets \
--with-sqlite \
--enable-simplexml \
--enable-wddx \
--with-libxml-dir=/usr/local \
--enable-xml \
--disable-yp \
--enable-cli \
--disable-ipv6 \
--enable-posix \
--enable-session \
--enable-short-path \
--enable-rpath \
--with-pear \
--with-pcre-regex \
--enable-recode \
--with-mysql=/my_db \
--enable-sysvmsg  \
--enable-sysvshm \
--enable-sysvsem


-- 
Laundry is the fifth dimension!!  ... um ... um ... th' washing machine
is a black hole and the pink socks are bus drivers who just fell in!!

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to