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

Re: (ITS#6517) undefined references to ldif_*



hyc@symas.com wrote:
> richm@stanfordalumni.org wrote:
>> michael@stroeder.com wrote:
>>> Full_Name:
>>> Version: HEAD
>>> OS: Linux
>>> URL:
>>> Submission from: (NULL) (84.163.96.140)
>>>
>>>
>>> cc -g -O2 -Wl,-R/dummy/lib -Wl,-R/dummy/lib -Wl,-R/dummy/lib -Wl,-R/dummy/lib -o
>>> .libs/ldapurl ldapurl.o lduversion.o  -L/dummy/lib
>>> ../../libraries/liblutil/liblutil.a ../../libraries/libldap/.libs/libldap.so
>>> /usr/src/michael/openldap/HEAD/openldap/libraries/liblber/.libs/liblber.so
>>> ../../libraries/liblber/.libs/liblber.so -lsasl2 -lssl -lcrypto -lcrypt -lresolv
>>> -Wl,--rpath -Wl,/opt/openldap-HEAD/lib
>>> ../../libraries/libldap/.libs/libldap.so: undefined reference to `ldif_getline'
>>> ../../libraries/libldap/.libs/libldap.so: undefined reference to
>>> `ldif_countlines'
>>> ../../libraries/libldap/.libs/libldap.so: undefined reference to
>>> `ldif_parse_line2'
>>> ../../libraries/libldap/.libs/libldap.so: undefined reference to `ldif_debug'
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [ldapurl] Error 1
>>> make[2]: Leaving directory
>>> `/usr/src/michael/openldap/HEAD/openldap/clients/tools'
>>> make[1]: *** [all-common] Error 1
>>> make[1]: Leaving directory `/usr/src/michael/openldap/HEAD/openldap/clients'
>>> make: *** [all-common] Error 1
>>>
>>>
>> This is most likely related to my recent LDIF changes.  But I didn't see
>> this problem.  What platform is this?  What build flags are you using?
> 
> Built fine here too, looks like an inconsistent build tree over there.

The build with the same build flags on the very same system worked right
before the recent libldif check-ins. I'm using anon CVS pserver for cvs up.

Ciao, Michael.