undefined reference to gnome-utils functions
David Reiser
dbreiser at earthlink.net
Wed Mar 21 01:51:07 EDT 2007
I was getting those same errors on one of my windows boxes. I had
installed hh and pcre during a recent install.sh run, but I didn't
get to the end of that run successfully. So it didn't remind me to
update /c/soft/msys/etc/profile.d/installer.sh with HH_CPPFLAGS,
HH_LDFLAGS, PCRE_CPPFLAGS, PCRE_LDFLAGS, and adding the pcre/bin and
hh directories to path. I got no undefined reference complaints after
I edited the installer.sh file in profile.d. (and launched a new
shell...)
But I still didn't get a completed build, so I'll have to try again
tomorrow to see how it goes with r15743. After I fix an oops I
created with the hh install as well.
I'm really shaky on details of the build process -- I can imitate
pretty well, but don't consider me an authority.
Dave
On 21 Mar 2007, at 12:17:36 AM, Nathan Buchanan wrote:
> Hi!
>
> I took out everything (removed /c/soft and subfolders) then brought
> it back
> with install.sh. It's r15743. I'm still getting the same errors
> (though I'm
> getting the following warning a few screens up):
>
> libtool: link: warning: `/c/soft/guile/lib/libguile.la' seems to be
> moved
> libtool: link: warning: `/c/soft/guile/lib/libguile-ltdl.la' seems
> to be
> moved
> <...x5...>
>
> *** Warning: This system can not link to static lib archive
> ../../src/app-utils/libgncmod-app-utils.la.
> *** I have the capability to make that library automatically link
> in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: `/c/soft/guile/lib/libguile.la' seems to be
> moved
> libtool: link: warning: `/c/soft/guile/lib/libguile-ltdl.la' seems
> to be
> moved
>
> Then it continues as before
> Creating library file: .libs/libgncmod-gnome-utils.dll.a
> .libs/dialog-account.o(.text+0xc44): In function `gnc_ui_to_account':
> c:/soft/gnucash/build/src/gnome-utils/../../../repos/src/gnome-
> utils/dialog-
> account.c:403: undefined reference to `gnc_reverse_balance'
> <...>
> collect2: ld returned 1 exit status
> make[5]: *** [libgncmod-gnome-utils.la] Error 1
> make[5]: Leaving directory `/c/soft/gnucash/build/src/gnome-utils'
> <...>
> make: *** [all] Error 2
>
> It sounds to me like the linker isn't finding /c/soft/guile/lib/
> libguile.la.
> It does exist at that location.
>
> Any ideas why it might not be finding it? (My ld experience is very
> small).
>
> Thanks.
>
>
> On 3/16/07, Andreas Köhler <andi5.py at gmx.net> wrote:
>>
>> Hi,
>>
>> Am Donnerstag, den 15.03.2007, 22:05 -0400 schrieb Nathan Buchanan:
>>> andi5,
>>>
>>> Thanks for your help on irc. I'm still having the same problems
>>> (even
>> with
>>> the fixed path), so I think I'll try wiping out everything and
>> re-install
>>>> from scratch.
>>
>> Yeah, the PATH was not the problem, simply because install.sh should
>> itself adjust its environment to be effective in.
>>
>>> The html help workspace did install, but gave me an error that I
>>> had a
>> newer
>>> version installed already.
>>
>> That is probably OK, because it says the same here. Did you
>> install hh
>> to c:\soft\hh, BTW?
>
>
> yes, I did.
>
>> It then told me that the install completed successfully and promptly
>> crashed.
>>
>> What did crash promptly... install.sh? What did it print and what
>> then?
>> I guess you reran install.sh and it passed inst_hh this time.
>> Well, the
>> tests for hh have been improved by r15727 (at least I hope so), so
>> "svn
>> up" is your friend. Thanks so far and better luck this time :)
>
>
> I got an error message in a alert window from pexports.exe stating
> "The
> instruction at 0x7c93426d referenced memory at 0x000d0119. the
> memory could
> not be read." ok to terminate, cancel to debug
>
> once I hit "ok" control returned to install.sh. install.sh then
> exited.
>
> /c/soft/hh seemed to have been setup correctly, though I can't be
> certain.
>
> Nathan
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Windows Genuine (Dis)Advantage - Have you got yours yet?
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
David Reiser
dbreiser at earthlink.net
More information about the gnucash-devel
mailing list