Unresolved symbol: __moddi3 (code) from libgncmod-engine.sl.0

Gansser, Martin MGansser at rand.de
Tue Feb 18 17:17:27 CST 2003


> -----Original Message-----
> From: Derek Atkins [mailto:warlord at MIT.EDU]
> Sent: Monday, February 17, 2003 5:32 PM
> To: Gansser, Martin
> Cc: gnucash-devel at lists.gnucash.org
> Subject: Re: Unresolved symbol: __moddi3 (code) from
> libgncmod-engine.sl.0
> 
> 
> Hi,
> 
> "Gansser, Martin" <MGansser at rand.de> writes:
> 
> > Hi,
> > 
> > I compiled now gnucash-1.8.1 successfully on hpux 11.00, 
> but the start fails with the following
> > error message:
> > 
> > prounix_root:/opt/gnucash/bin # ./gnucash 
> > /usr/lib/dld.sl: Unresolved symbol: __moddi3 (code)  from 
> /opt/gnucash/lib/gnucash/libgncmod-engine.sl.0 
> > IOT Abfrage (Hauptspeicherauszug ausgegeben) 
> > 
> > any suggestion
> 
> Yep.  That's an internal gcc compiler symbol.  It means you 
> either need
> to use GCC to link or you need to link against the proper libgcc.
> 
> You should do the following from the top-level build directory:
> 
>         make clean
>         rm libtool
>         rm config.cache
>         env LD=gcc ./configure ...
>         make
>         make install
> 
> The problem is that you need to use gcc to link, not the native ld.
> This change will rebuild libtool and use gcc as the linker, 
> so it should
> solve your problem.
> 
> I don't know why our configure script doesn't look for this on certain
> platforms.  However I need to do this on Solaris, too, so it's not
> just you.  I'll see if I can figure out how to fix this from gnucash-2
> (unlikely I'll figure it out for a future 1.8 release).
> 
> > thanks Martin
> 
> -derek

gcc uses on hpux the native ld, there is no GNU ld available.

I do the following as you suggest, but a new error message appears:

prounix_root:/opt/gnucash/bin # ./gnucash
/usr/lib/dld.sl: Unresolved symbol: __divdi3 (code)  from /opt/gnucash/lib/gnucash/libgncmod-app-utils.sl.0
IOT Abfrage (Hauptspeicherauszug ausgegeben)

Martin



More information about the gnucash-devel mailing list