[cvsnt] Build 2063, Linux compile error in libcvsapi.so

Ernst Gill ernst.gill at chello.at
Sat Aug 20 00:09:06 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle schrieb:

> Ernst Gill wrote:
>
>> No patch yet, but it looks for me that libcvsapi.so is not
>> using libroken.so from kerberos at link time.
>>
>>
> You don't need to.  cvsnt itself doesn't link with kerberos anyway, 
> only the protocol.
>
> If you're missing glob it sounds like you have an broken glibc - it's 
> a standard library function.  What version of linux?  cvsnt is 
> developed on linux and always compiles on it..

Sorry, my first post goes to wrong destination...

This little program is properly compiling and working on my PC:

#include <stdlib.h>
#include <glob.h>

int main()
{
 int i;
 glob_t globbuf;

 memset(&globbuf,0,sizeof(glob_t));
 glob("/sbin", GLOB_ERR | GLOB_NOSORT, NULL, &globbuf);
 printf("gl_pathc: [%d]\n", globbuf.gl_pathc);
 for (i = 0; i < globbuf.gl_pathc; i++)
   printf("gl_pathv[%d]: [%s]\n", i, globbuf.gl_pathv[i]);
 globfree(&globbuf);

 return 0;
}

So, my glibc is not broken.
Something goes wrong with make for libcvsapi.so

ldd -r cvsapi/.libs/libcvsapi.so shows following:
       linux-gate.so.1 =>  (0xffffe000)
       libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4005e000)
       libpcreposix.so.0 => /usr/lib/libpcreposix.so.0 (0x4007d000)
       libmdnsclient-2.5.02.2063.so => 
/users/src/CVSNT/cvsnt-2.5.02.2063/mdnsclient/.libs/libmdnsclient-2.5.02.2063.so 
(0x40080000)
       libdl.so.2 => /lib/libdl.so.2 (0x40086000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x4008a000)
       libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400bc000)
       libm.so.6 => /lib/tls/libm.so.6 (0x4017a000)
       libc.so.6 => /lib/tls/libc.so.6 (0x4019d000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402b3000)
       libpcre.so.0 => /usr/lib/libpcre.so.0 (0x402bb000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: _Z4globPKciPFiS0_iEP6glob_t   (cvsapi/.libs/libcvsapi.so)
undefined symbol: _Z8globfreeP6glob_t   (cvsapi/.libs/libcvsapi.so)

   Ernst




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook