Piotr Pokora <[EMAIL PROTECTED]> said: 

> > What does config.log mention?
> > 
> This file contains any messages produced by compilers while
> 
> configure:796: checking whether the C compiler (gcc   -
> L/usr/local/lib//lib) works

/usr/local/lib//lib - looks a little suspicious... 


> /usr/local/lib/libmidgard.so: undefined reference to `g_string_free'
> /usr/local/lib/libmidgard.so: undefined reference to `g_string_new'

this usually indicates that libmidgard.so did not correctly link to the 
correct libraries when compiling 

compiling 101 :) - this stuff is not obvious to 'non-programmers :)'

  -- gcc/cc... compiles a '.c' file into a '.o' file (at this point gcc will 
need to know the location of the '.h' files related to things like 'mysql'...

  -- gcc/cc.... then combines all the .o files together into a '.so' 

   -- at the same time, you have to tell it where all the related libraries
      are - eg. mysql.... and it combines all that information to make the so.

--- The probable answer here is that the library with the g_string_free etc. 
is not linked together at the 'linking time'... - you can try and work that 
out by finding the call to this function eg. grep -r g_string_free in the 
lib_midgard dir, then looking at the headers to see what was 'included' -> 
then guessing what -Lxxxxx would be likely to have to be added to get it to 
compile (adding it to the Makefile is usually a good test...)

-- This is not really the answer, one of the core midgard team could probably 
tell you quicker, but I thought this may be usefull information.......

regards

alan


> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
> 
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
> 
> 
> 



-- 
Technical Director
Linux Center (HK) Ltd.
www.hklc.com



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to