libgncmod-engine and libgw-engine circular dependency -- on
cygwin
Derek Atkins
warlord at MIT.EDU
Mon Mar 1 19:37:52 CST 2004
You do realize that you can tell a DLL that it should import
symbols from elsewhere, right? If there really is a dependency issue
here then you should set the build system to import the necessary
symbols from gncmod-engine.
You also don't mention which branch you're using, 1.8 or CVS? I did
have to fix a dependency issue at one point recently in CVS HEAD. But
that was due to an array symbol being defined in one library but
referenced in another, causing build-time failures.
As an aside, let me again scream my venomous rage at the idiots
who butchered gnucash into this half-assed non-completed modularization
effort and left us with the barely-working mess that we have.
-derek
Milind Kamble <mbkads at yahoo.com> writes:
> Hi.
> I have managed to get to a point where I can start
> compiling gnucash on cygwin -- having statisfied the
> necessary dependencies off gnome-1.4, guile-1.6.4,
> slib-2d6, g-wrap-1.3.4 etc.
> The problem I am having is there seems to be a
> circular dependency between libgncmod-engine.la and
> libgw-engine.la. I am sure it must be something wrong
> in my analysis, otherwise this should have been
> detected way earlier. So, I am hoping that a fresh
> pair of eyes will be able to point out what is wrong.
> Here is the description:
> As per the src/engine/Makefile.am,
> libgncmod_engine_la_LIBADD indicates that
> libgncmod-engine.la depends on libgw-engine.la.
> However libgncmod_engine_la_SOURCES includes guid.c.
> So the function guid_new_return is provided by
> libgncmod-engine.dll.la (on cygwin). But when
> libgw-engine.la is getting linked (to satisfy the
> dependency of libgncmod-engine.la), it fails with
> "undefined reference to _guid_new_return" which is
> referenced by src/engine/gw-engine.c (line 1637).
> Thus libgw-engine.la depends on libgncmod-engine.la
>
> I have attached the make output for this particular
> snippet for further details -- if that helps.
>
> Thanks.
> Milind
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list