Rob Browning wrote:
> 
> Jo Whitby <[EMAIL PROTECTED]> writes:
> 
> > ../swig/guile/gnucash-guile_wrap.o(.text+0x9a3): undefined reference to
> > `gh_scm2str'
> 
> On my system (relevant Debian package libguile3-dev 1998.09.10-1) I
> can't find a reference to this function in the guile headers, info
> pages, or in the latest gnucash source, so I don't know where this is
> coming from.
> 
> Are you sure you have a good CVS checkout?  Do you have any stale
> files laying around?  Try a "make distclean" from the top level and
> see if that helps.
> 

I have finally sorted out the problem, I was using swig version 1.1b5p1,
after changing to swig version 1.1p5 I have now got it to compile.

It seems that when swig is run it creates the file gnucash-guile_wrap.c
in /xacc/src/swig/guile, parts of which reference gh_scm2str but in
/usr/local/include/guile/gh.h that has been changed to gh_scm2newstr.

Now using the later swig, it corrects the references in
gnucash-guile_wrap.c and all is well.

Thanks for the help.

-- 
Regards Jo

-----------------------------------------------------------------------
   For greater stability - Linux FreeBSD Unix. Why settle for less?
       Web Page http://www.blim.demon.co.uk - Linux User #64,910
          Linux� is a registered trademark of Linus Torvalds
-----------------------------------------------------------------------
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body

Reply via email to