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

Any hints



When compiling on Solaris 2.6 with GCC 2.8.1 I get the following;

make[2]: Entering directory
`/export/home/sutton/Solaris/ldap/libraries/libldap'
/bin/sh /export/home/sutton/Solaris/ldap/libtool   --mode=compile
cc -g -O2 -I../../include
        -I../../include      -c os-local.c
rm -f .libs/os-local.lo
cc -g -O2 -I../../include -I../../include -c  -fPIC -DPIC os-local.c -o
.libs/os-local.lo
os-local.c: In function `ldap_pvt_is_socket_ready':
os-local.c:114: parse error before `1'
os-local.c:117: invalid lvalue in unary `&'
os-local.c: At top level:
os-local.c:131: parse error before `1'
os-local.c: In function `ldap_pvt_connect':
os-local.c:136: `ld' undeclared (first use in this function)
os-local.c:136: (Each undeclared identifier is reported only once
os-local.c:136: for each function it appears in.)
os-local.c:142: `s' undeclared (first use in this function)
os-local.c:142: `async' undeclared (first use in this function)
make[2]: *** [os-local.lo] Error 1
make[2]: Leaving directory
`/export/home/sutton/Solaris/ldap/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/export/home/sutton/Solaris/ldap/libraries'
make: *** [all-common] Error 1

Any have any ideas why this is happening. I've looked over the code and it
seems sane to me?

Al.
----
Al Sutton (al@alsutton.com)
WWW: http://www.buddysites.net/
ICQ: 78617500