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

2.0.11 on solaris 8



won't compile. i'm using:


env \
CC=gcc \
CXX=g++ \
CFLAGS="-O2 -mv8 -I/local/include -I/local/BerkeleyDB-3.2/include" \
CPPFLAGS="-I/local/include -I/local/BerkeleyDB-3.2/include" \
LDFLAGS="-L/local/lib -R/local/lib -L/local/BerkeleyDB-3.2/lib
-R/local/BerkeleyDB-3.2/lib" \
TMPDIR="/tmp" \
./configure  \
        --prefix=/local \
        --enable-aci \
        --enable-wrappers



and make dies with:

...
gcc -O2 -mv8 -I/local/include -I/local/BerkeleyDB-3.2/include
-I../../include -I../../include -I/local/include
-I/local/BerkeleyDB-3.2/include -c sockbuf.c  -fPIC -DPIC -o
.libs/sockbuf.lo
sockbuf.c: In function `ber_sockbuf_ctrl':
sockbuf.c:129: `LBER_SB_OPT_GET_MAX_INCOMING' undeclared (first use in
this function)
sockbuf.c:129: (Each undeclared identifier is reported only once
sockbuf.c:129: for each function it appears in.)
sockbuf.c:136: `LBER_SB_OPT_SET_MAX_INCOMING' undeclared (first use in
this function)
gmake[2]: *** [sockbuf.lo] Error 1
gmake[2]: Leaving directory
`/usr/share/src/openldap-2.0.11/libraries/liblber'
gmake[1]: *** [all-common] Error 1
gmake[1]: Leaving directory `/usr/share/src/openldap-2.0.11/libraries'
gmake: *** [all-common] Error 1




i've tried adding a include statement for lber.h to
libraries/liblber/sockbuf.c, but nothing changed.

any help would be appreciated.