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

AC_GAI_STRERROR unresolved on Tru64 5.1 (ITS#2485)



Full_Name: Douglas B. Jones
Version: 2.1.17
OS: Tru64 5.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (168.28.200.208)


After doing the configure, make depend I did the make and first got the error
of NGROUPS not being defined. Solved that by adding grp.h to
./libraries/liblutil/getpeereid.c. Apparently the sys/ucred.h requires
NGROUPS, but does not included grp.h. Now, I start over with configure, depend
and then make (just to make sure I did not cause any other problems) and I
get the following:

/bin/sh /u/oit/douglas/src/openldap-2.1.17/libtool --mode=link  cc -static -g 
-rp
ath /usr/local/BerkeleyDB.4.1/lib   -o apitest apitest.o libldap.la
../../librarie
s/liblber/liblber.la ../../libraries/liblutil/liblutil.a       
cc -g -o apitest apitest.o  ./.libs/libldap.a
/u/oit/douglas/src/openldap-2.1.17/l
ibraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a
../../lib
raries/liblutil/liblutil.a -rpath /usr/local/BerkeleyDB.4.1/lib
ld:
Unresolved:
AC_GAI_STRERROR


The -rpath for Berkeley DB was added by me via environment variables per doc.
Before I go and try to find the solution to this, I was wondering if anyone
else had already solved this problem. The compiler version is:

Compaq C V6.3-028 on Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-026 (sys) cc Driver

Thanks,
Douglas