[evs-dev] Problems with linking in Linux version

Andreas Tscharner starfire at dplanet.ch
Mon Sep 17 22:48:04 BST 2007


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 wrote:
> Andreas Tscharner wrote:
>> ../cvsapi/.libs/libevsapi.so: undefined reference to
>> `cvs_MD5Update'
> 
> No idea.. that one's an old routine even in cvsnt.

I have to have a look at that again. I still have no clue, why this 
should not be referenced...
> 
>> ../evsfs/.libs/libevsfs.so: undefined reference to 
>> `CEvsDelta::diff(void const*, unsigned int, void const*, unsigned
>> int, void**, unsigned int*)' ../evsfs/.libs/libevsfs.so: undefined
>> reference to `CLockHandler::CLockHandler()'
> 
> Missing LockHandler.cpp?

Yes, thank you. Unfortunately the LockHandler needs the new 
CSharedMemory class and this class is implemented for Windows only, so I 
implemented it for unix (not yet committed)
> 
>> As far as I can tell, the problems with the CEvsDelta class is due
>> to the fact that there is an empty Makefile.am in the cvsdelta/ 
>> directory. I hope I have time to fix this in the next days.
> 
> The makefile needs a complete rewrite as I converted from a static
> lib to a shared (I needed the library for another project).  That
> library doesn't have external dependencies so shouldn't be too hard,
> but all the libraries that use it and the install script etc. will
> need checking.

I have created a Makefile.am that generates a dyamic library (not yet 
committed either), but I didn't do any testing yet...
> 
>> P.S. A get a lot of the following warnings while compiling: 
>> warning: deprecated conversion from string constant to 'char*'
> 
> gcc issue I expect - just disable the warning, or use a version of
> gcc that doesn't produce it.

I knew that :-)

andy at shannara:~$ gcc --version
gcc (GCC) 4.2.1 (Debian 4.2.1-5)

What I meant: Is there another way to remove these warnings by fixing 
the code; I had a look at one such warning; it didn't like this for example:

    options = "";

Best regards
	Andreas
-- 
Andreas Tscharner                                   starfire at dplanet.ch
-----------------------------------------------------------------------
Except for 75% of the women, everyone in the whole world wants to have
sex.                                                  -- Ellyn Mustard


More information about the evs-dev mailing list