[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: RE24 testing for 2.4.18



Quanah Gibson-Mount wrote:
Please test RE24.


Getting an error never seen before when building on AIX 5.3:

gcc -g -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -g -O2 -I../../include -I../../include -I/opt/pware/include -DLDAP_LIBRARY -c os-ip.c -DPIC -o .libs/os-ip.o
os-ip.c: In function 'ldap_int_prepare_socket':
os-ip.c:148: error: 'SOL_TCP' undeclared (first use in this function)
os-ip.c:148: error: (Each undeclared identifier is reported only once
os-ip.c:148: error: for each function it appears in.)
make[2]: *** [os-ip.lo] Error 1
make[2]: Leaving directory `/stage/openldap/RE24/ldap/libraries/libldap'

Offending line:

                       if ( setsockopt( s, SOL_TCP, TCP_KEEPIDLE,

The SOL_TCP option is not defined on AIX. Can this be applied to SOL_SOCKET which is defined?

Cheers,
Bill



Thanks!

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration